Interface ContentCachePersistenceStrategy

All Known Implementing Classes:
AbstractPersistingCachePersistenceStrategy, AsyncCachePersistenceStrategy, ImmediatePersistenceStrategy, NoOpCachePersistenceStrategy

public interface ContentCachePersistenceStrategy
TODO JavaDoc
  • Method Details

    • load

      Read the persisted content cache if it present.
      Returns:
      the cache
    • persistOnPartialUpdate

      void persistOnPartialUpdate(ContentCache cache)
      Persist the specified cache in the event of a partial content update.
      Parameters:
      cache - the cache
    • persistOnCompleteUpdate

      void persistOnCompleteUpdate(ContentCache cache)
      Persist the specified cache in the event of a complete content update.
      Parameters:
      cache - the cache
    • persistOnShutdown

      void persistOnShutdown(ContentCache cache)
      Persist the specified cache in the event of a service shutdown.
      Parameters:
      cache - the cache
    • remove

      void remove()
      Delete any persistent cache instances created by this strategy.