Package org.n52.iceland.cache
Interface ContentCacheController
-
- All Superinterfaces:
Destroyable
- All Known Implementing Classes:
AbstractSchedulingContentCacheController,ContentCacheControllerImpl
public interface ContentCacheController extends Destroyable
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentCachegetCache()ContentCachePersistenceStrategygetContentCachePersistenceStrategy()booleanisUpdateInProgress()voidupdate()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 Detail
-
getCache
ContentCache getCache()
- Returns:
- the content cache
-
update
void update(ContentCacheUpdate update) throws OwsExceptionReport
Update the content cache with the specified update.- Parameters:
update- the update- Throws:
OwsExceptionReport- ian error occurs while updating the cache
-
update
void update() throws OwsExceptionReportRenew 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
-
-