@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 SystemStatusServiceArchivaRestServiceExceptionpublic String getCurrentServerTime(String locale) throws ArchivaRestServiceException
getCurrentServerTime in interface SystemStatusServiceArchivaRestServiceExceptionpublic List<QueueEntry> getQueueEntries() throws ArchivaRestServiceException
getQueueEntries in interface SystemStatusServiceArchivaRestServiceExceptionpublic List<CacheEntry> getCacheEntries() throws ArchivaRestServiceException
getCacheEntries in interface SystemStatusServiceArchivaRestServiceExceptionpublic Boolean clearCache(String cacheKey) throws ArchivaRestServiceException
clearCache in interface SystemStatusServiceArchivaRestServiceExceptionpublic Boolean clearAllCaches() throws ArchivaRestServiceException
clearAllCaches in interface SystemStatusServiceArchivaRestServiceExceptionpublic List<RepositoryScannerStatistics> getRepositoryScannerStatistics() throws ArchivaRestServiceException
getRepositoryScannerStatistics in interface SystemStatusServiceArchivaRestServiceExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.