Class ContentCacheUpdate

java.lang.Object
org.n52.iceland.cache.ContentCacheUpdate
All Implemented Interfaces:
Action

public abstract class ContentCacheUpdate extends Object implements Action
Since:
1.0.0
  • Constructor Details

    • ContentCacheUpdate

      public ContentCacheUpdate()
  • Method Details

    • getFailureCause

      public OwsExceptionReport getFailureCause()
      Returns:
      the cause of failure or null
    • fail

      protected ContentCacheUpdate fail(OwsExceptionReport cause)
      Marks this cache update as failed.
      Parameters:
      cause - the cause
      Returns:
      this
    • failed

      public boolean failed()
      Returns:
      if this update failed
    • getCache

      public WritableContentCache getCache()
      Returns:
      the writable cache of this action
    • setCache

      public ContentCacheUpdate setCache(WritableContentCache cache)
      Parameters:
      cache - the writable cache for this action
      Returns:
      this
    • reset

      public ContentCacheUpdate reset()
      Clear any exceptions.
      Returns:
      this
    • isCompleteUpdate

      public boolean isCompleteUpdate()
      Returns:
      if this a complete update that will replace the cache.