@Service(value="systemStatusService#rest") public class DefaultSystemStatusService extends AbstractRestService implements SystemStatusService
archivaAdministration, config, httpServletRequest, httpServletResponse, log, proxyConnectorAdmin, repositoryRegistry, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultSystemStatusService(org.springframework.context.ApplicationContext applicationContext,
RepositoryScanner scanner) |
Modifier and Type | Method and Description |
---|---|
Boolean |
clearAllCaches() |
Boolean |
clearCache(String cacheKey) |
List<CacheEntry> |
getCacheEntries() |
String |
getCurrentServerTime(String locale) |
String |
getMemoryStatus() |
List<QueueEntry> |
getQueueEntries() |
List<RepositoryScannerStatistics> |
getRepositoryScannerStatistics() |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
@Inject public DefaultSystemStatusService(org.springframework.context.ApplicationContext applicationContext, RepositoryScanner scanner)
public String getMemoryStatus() throws ArchivaRestServiceException
getMemoryStatus
in interface SystemStatusService
ArchivaRestServiceException
public String getCurrentServerTime(String locale) throws ArchivaRestServiceException
getCurrentServerTime
in interface SystemStatusService
ArchivaRestServiceException
public List<QueueEntry> getQueueEntries() throws ArchivaRestServiceException
getQueueEntries
in interface SystemStatusService
ArchivaRestServiceException
public List<CacheEntry> getCacheEntries() throws ArchivaRestServiceException
getCacheEntries
in interface SystemStatusService
ArchivaRestServiceException
public Boolean clearCache(String cacheKey) throws ArchivaRestServiceException
clearCache
in interface SystemStatusService
ArchivaRestServiceException
public Boolean clearAllCaches() throws ArchivaRestServiceException
clearAllCaches
in interface SystemStatusService
ArchivaRestServiceException
public List<RepositoryScannerStatistics> getRepositoryScannerStatistics() throws ArchivaRestServiceException
getRepositoryScannerStatistics
in interface SystemStatusService
ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.