Package org.n52.iceland.cache
Class ContentCacheUpdate
java.lang.Object
org.n52.iceland.cache.ContentCacheUpdate
- All Implemented Interfaces:
Action
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentCacheUpdatefail(OwsExceptionReport cause) Marks this cache update as failed.booleanfailed()getCache()booleanreset()Clear any exceptions.setCache(WritableContentCache cache)
-
Constructor Details
-
ContentCacheUpdate
public ContentCacheUpdate()
-
-
Method Details
-
getFailureCause
- Returns:
- the cause of failure or
null
-
fail
Marks this cache update as failed.- Parameters:
cause- the cause- Returns:
- this
-
failed
public boolean failed()- Returns:
- if this update failed
-
getCache
- Returns:
- the writable cache of this action
-
setCache
- Parameters:
cache- the writable cache for this action- Returns:
- this
-
reset
Clear any exceptions.- Returns:
- this
-
isCompleteUpdate
public boolean isCompleteUpdate()- Returns:
- if this a complete update that will replace the cache.
-