Package org.n52.iceland.cache
Interface ContentCacheController
- All Superinterfaces:
Destroyable
- All Known Implementing Classes:
AbstractSchedulingContentCacheController,ContentCacheControllerImpl
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetCache()booleanvoidupdate()Renew the content cache completely.voidupdate(ContentCacheUpdate update) Update the content cache with the specified update.Methods inherited from interface org.n52.janmayen.lifecycle.Destroyable
destroy
-
Method Details
-
getCache
ContentCache getCache()- Returns:
- the content cache
-
update
Update the content cache with the specified update.- Parameters:
update- the update- Throws:
OwsExceptionReport- ian error occurs while updating the cache
-
update
Renew the content cache completely.- Throws:
OwsExceptionReport- if an error occurs while updating the cache
-
isUpdateInProgress
boolean isUpdateInProgress()- Returns:
- Is a cache update currently in progress?
-
getContentCachePersistenceStrategy
ContentCachePersistenceStrategy getContentCachePersistenceStrategy()- Returns:
- the ContentCachePersistenceStrategy
- Since:
- 1.0.0
-