@Configurable public class AsyncCachePersistenceStrategy extends AbstractPersistingCachePersistenceStrategy
CACHE_FILE_FOLDER| Constructor and Description |
|---|
AsyncCachePersistenceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
persistOnCompleteUpdate(ContentCache cache)
Persist the specified cache in the event of a complete content update.
|
void |
persistOnPartialUpdate(ContentCache cache)
Persist the specified cache in the event of a partial content update.
|
void |
persistOnShutdown(ContentCache cache)
Persist the specified cache in the event of a service shutdown.
|
void |
setDelay(int delay) |
getBasePath, getCacheFile, getCacheFileFolder, isSetCacheFileFolder, load, persistCache, remove, setCacheFileFolder, setCacheFileFolder, setConfigLocationProviderpublic void init()
init in interface Constructableinit in class AbstractPersistingCachePersistenceStrategypublic void persistOnPartialUpdate(ContentCache cache)
ContentCachePersistenceStrategycache - the cachepublic void persistOnCompleteUpdate(ContentCache cache)
ContentCachePersistenceStrategycache - the cachepublic void persistOnShutdown(ContentCache cache)
ContentCachePersistenceStrategycache - the cacheCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.