public interface ContentCachePersistenceStrategy
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
remove()
Delete any persistent cache instances created by this strategy.
|
Optional<WritableContentCache> load()
void persistOnPartialUpdate(ContentCache cache)
cache - the cachevoid persistOnCompleteUpdate(ContentCache cache)
cache - the cachevoid persistOnShutdown(ContentCache cache)
cache - the cachevoid remove()
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.