Class NoOpCachePersistenceStrategy
java.lang.Object
org.n52.iceland.cache.ctrl.persistence.NoOpCachePersistenceStrategy
- All Implemented Interfaces:
ContentCachePersistenceStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload()Read the persisted content cache if it present.voidPersist the specified cache in the event of a complete content update.voidPersist the specified cache in the event of a partial content update.voidpersistOnShutdown(ContentCache cache) Persist the specified cache in the event of a service shutdown.voidremove()Delete any persistent cache instances created by this strategy.
-
Constructor Details
-
NoOpCachePersistenceStrategy
public NoOpCachePersistenceStrategy()
-
-
Method Details
-
persistOnPartialUpdate
Description copied from interface:ContentCachePersistenceStrategyPersist the specified cache in the event of a partial content update.- Specified by:
persistOnPartialUpdatein interfaceContentCachePersistenceStrategy- Parameters:
cache- the cache
-
persistOnCompleteUpdate
Description copied from interface:ContentCachePersistenceStrategyPersist the specified cache in the event of a complete content update.- Specified by:
persistOnCompleteUpdatein interfaceContentCachePersistenceStrategy- Parameters:
cache- the cache
-
persistOnShutdown
Description copied from interface:ContentCachePersistenceStrategyPersist the specified cache in the event of a service shutdown.- Specified by:
persistOnShutdownin interfaceContentCachePersistenceStrategy- Parameters:
cache- the cache
-
load
Description copied from interface:ContentCachePersistenceStrategyRead the persisted content cache if it present.- Specified by:
loadin interfaceContentCachePersistenceStrategy- Returns:
- the cache
-
remove
public void remove()Description copied from interface:ContentCachePersistenceStrategyDelete any persistent cache instances created by this strategy.- Specified by:
removein interfaceContentCachePersistenceStrategy
-