Class ImmediatePersistenceStrategy

java.lang.Object
org.n52.iceland.cache.ctrl.persistence.AbstractPersistingCachePersistenceStrategy
org.n52.iceland.cache.ctrl.persistence.ImmediatePersistenceStrategy
All Implemented Interfaces:
ContentCachePersistenceStrategy, Constructable

public class ImmediatePersistenceStrategy extends AbstractPersistingCachePersistenceStrategy
  • Constructor Details

    • ImmediatePersistenceStrategy

      public ImmediatePersistenceStrategy()
  • Method Details

    • persistOnPartialUpdate

      public void persistOnPartialUpdate(ContentCache cache)
      Description copied from interface: ContentCachePersistenceStrategy
      Persist the specified cache in the event of a partial content update.
      Parameters:
      cache - the cache
    • persistOnCompleteUpdate

      public void persistOnCompleteUpdate(ContentCache cache)
      Description copied from interface: ContentCachePersistenceStrategy
      Persist the specified cache in the event of a complete content update.
      Parameters:
      cache - the cache
    • persistOnShutdown

      public void persistOnShutdown(ContentCache cache)
      Description copied from interface: ContentCachePersistenceStrategy
      Persist the specified cache in the event of a service shutdown.
      Parameters:
      cache - the cache