public interface ContentCachePersistenceStrategy extends Cleanupable
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Delete any persistent cache instances created by this strategy.
|
com.google.common.base.Optional<WritableContentCache> |
load()
Read the persisted content cache if it present.
|
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.
|
com.google.common.base.Optional<WritableContentCache> load()
void persistOnPartialUpdate(ContentCache cache)
cache
- the cachevoid persistOnCompleteUpdate(ContentCache cache)
cache
- the cachevoid persistOnShutdown(ContentCache cache)
cache
- the cachevoid cleanup()
cleanup
in interface Cleanupable
Copyright © 2012-2015 52north.org. All Rights Reserved.