public class ContentCacheControllerImpl extends AbstractSchedulingContentCacheController implements Constructable
| Constructor and Description |
|---|
ContentCacheControllerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
WritableContentCache |
getCache() |
ContentCachePersistenceStrategy |
getContentCachePersistenceStrategy() |
void |
init() |
boolean |
isUpdateInProgress() |
protected void |
setCache(WritableContentCache wcc) |
void |
setCacheFactory(ContentCacheFactory cacheFactory) |
void |
setCompleteCacheUpdateFactory(CompleteCacheUpdateFactory factory) |
void |
setPersistenceStrategy(ContentCachePersistenceStrategy persistenceStrategy) |
void |
update()
Renew the content cache completely.
|
void |
update(ContentCacheUpdate update)
Update the content cache with the specified update.
|
isInitialized, setInitialized, setUpdateInterval@Inject public void setCacheFactory(ContentCacheFactory cacheFactory)
@Inject public void setPersistenceStrategy(ContentCachePersistenceStrategy persistenceStrategy)
@Inject public void setCompleteCacheUpdateFactory(CompleteCacheUpdateFactory factory)
public void init()
init in interface Constructablepublic WritableContentCache getCache()
getCache in interface ContentCacheControllerprotected void setCache(WritableContentCache wcc)
public void destroy()
destroy in interface Destroyabledestroy in class AbstractSchedulingContentCacheControllerpublic void update()
throws OwsExceptionReport
ContentCacheControllerupdate in interface ContentCacheControllerOwsExceptionReport - if an error occurs while updating the cachepublic void update(ContentCacheUpdate update) throws OwsExceptionReport
ContentCacheControllerupdate in interface ContentCacheControllerupdate - the updateOwsExceptionReport - ian error occurs while updating the cachepublic boolean isUpdateInProgress()
isUpdateInProgress in interface ContentCacheControllerpublic ContentCachePersistenceStrategy getContentCachePersistenceStrategy()
getContentCachePersistenceStrategy in interface ContentCacheControllerCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.