@Service(value="repositoryStatisticsManager#default") public class DefaultRepositoryStatisticsManager extends Object implements RepositoryStatisticsManager
| Constructor and Description | 
|---|
| DefaultRepositoryStatisticsManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addStatisticsAfterScan(String repositoryId,
                      Date startTime,
                      Date endTime,
                      long totalFiles,
                      long newFiles) | 
| void | deleteStatistics(String repositoryId) | 
| RepositoryStatistics | getLastStatistics(String repositoryId) | 
| RepositorySessionFactory | getRepositorySessionFactory() | 
| List<RepositoryStatistics> | getStatisticsInRange(String repositoryId,
                    Date startTime,
                    Date endTime) | 
| boolean | hasStatistics(String repositoryId) | 
| void | setRepositorySessionFactory(RepositorySessionFactory repositorySessionFactory) | 
public DefaultRepositoryStatisticsManager()
public boolean hasStatistics(String repositoryId) throws MetadataRepositoryException
hasStatistics in interface RepositoryStatisticsManagerMetadataRepositoryExceptionpublic RepositoryStatistics getLastStatistics(String repositoryId) throws MetadataRepositoryException
getLastStatistics in interface RepositoryStatisticsManagerMetadataRepositoryExceptionpublic void addStatisticsAfterScan(String repositoryId, Date startTime, Date endTime, long totalFiles, long newFiles) throws MetadataRepositoryException
addStatisticsAfterScan in interface RepositoryStatisticsManagerMetadataRepositoryExceptionpublic void deleteStatistics(String repositoryId) throws MetadataRepositoryException
deleteStatistics in interface RepositoryStatisticsManagerMetadataRepositoryExceptionpublic List<RepositoryStatistics> getStatisticsInRange(String repositoryId, Date startTime, Date endTime) throws MetadataRepositoryException
getStatisticsInRange in interface RepositoryStatisticsManagerMetadataRepositoryExceptionpublic RepositorySessionFactory getRepositorySessionFactory()
public void setRepositorySessionFactory(RepositorySessionFactory repositorySessionFactory)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.