public interface MaintenanceManager
Provides system maintenance services.
Modifier and Type | Method and Description |
---|---|
void |
clearCaches(String... cacheNames)
Clears the given caches or all caches if the
cacheNames parameter is not set. |
Collection<CacheStatistics> |
getCacheStatistics()
Returns the
CacheStatistics of all Spring based caches. |
void |
runDataConsistencyCheck(boolean quickCheck)
Triggers a full data consistency check on the system.
|
void |
synchronizeAllIndices()
Resynchronizes all elasticsearch indices.
|
void |
synchronizeIndex(String index)
Resynchronizes a specific elasticsearch index.
|
void runDataConsistencyCheck(boolean quickCheck)
Triggers a full data consistency check on the system.
The check will be run in the background as it may take some time, and the results will appear in the application log.
quickCheck
- true
if only quick checks should be performedvoid synchronizeAllIndices()
Resynchronizes all elasticsearch indices.
The resynchronization will be run in the background as it may take some time.
void synchronizeIndex(String index)
Resynchronizes a specific elasticsearch index.
The resynchronization will be run in the background as it may take some time.
Collection<CacheStatistics> getCacheStatistics()
Returns the CacheStatistics
of all Spring based caches.
CacheStatistics
of all Spring based cachesvoid clearCaches(String... cacheNames)
Clears the given caches or all caches if the cacheNames
parameter is not set.
cacheNames
- the name of the caches to clear or empty to clear all cachesCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.