org.apache.archiva.rest.services
Class DefaultSystemStatusService
java.lang.Object
org.apache.archiva.rest.services.AbstractRestService
org.apache.archiva.rest.services.DefaultSystemStatusService
- All Implemented Interfaces:
- org.apache.archiva.rest.api.services.SystemStatusService
@Service(value="systemStatusService#rest")
public class DefaultSystemStatusService
- extends AbstractRestService
- implements org.apache.archiva.rest.api.services.SystemStatusService
- Since:
- 1.4-M3
- Author:
- Olivier Lamy
|
Constructor Summary |
DefaultSystemStatusService(org.springframework.context.ApplicationContext applicationContext,
org.apache.archiva.repository.scanner.RepositoryScanner scanner)
|
| Methods inherited from class org.apache.archiva.rest.services.AbstractRestService |
buildArtifacts, doScanRepository, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSystemStatusService
@Inject
public DefaultSystemStatusService(org.springframework.context.ApplicationContext applicationContext,
org.apache.archiva.repository.scanner.RepositoryScanner scanner)
getMemoryStatus
public String getMemoryStatus()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getMemoryStatus in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
getCurrentServerTime
public String getCurrentServerTime(String locale)
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getCurrentServerTime in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
getQueueEntries
public List<org.apache.archiva.rest.api.model.QueueEntry> getQueueEntries()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getQueueEntries in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
getCacheEntries
public List<org.apache.archiva.rest.api.model.CacheEntry> getCacheEntries()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getCacheEntries in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
clearCache
public Boolean clearCache(String cacheKey)
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
clearCache in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
clearAllCaches
public Boolean clearAllCaches()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
clearAllCaches in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
getRepositoryScannerStatistics
public List<org.apache.archiva.rest.api.model.RepositoryScannerStatistics> getRepositoryScannerStatistics()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getRepositoryScannerStatistics in interface org.apache.archiva.rest.api.services.SystemStatusService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.