Package com.scaleout.client.caching
Class CachedObjectMetadata<K>
java.lang.Object
com.scaleout.client.caching.CachedObjectMetadata<K>
- Type Parameters:
K
- the key type.
Metadata for an object stored in a
Cache
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Return true/false if this object has remote access allowed.abstract boolean
Return true/false if this object is allowed to be replicated.abstract Duration
Retrieve the backing store event interval duration.abstract BackingStoreMode
Retrieve the backing store mode.abstract long
Retrieve the time this object was created.abstract GeoServerCoherencyPolicy
Retrieve the GeoServer coherency policy.abstract long
Retrieve the object size (in bytes).Retrieve the parent keys.abstract PreemptionPriority
Retrieve the preemption priority.abstract Duration
Retrieve the timeout duration.abstract TimeoutType
Retrieve the timeout type for this object.abstract long
Retrieve the time this object was last updated.abstract boolean
isProxy()
Return true/false if this object is a "proxy" object.
-
Constructor Details
-
CachedObjectMetadata
public CachedObjectMetadata()Default constructor.
-
-
Method Details
-
getCreateTime
public abstract long getCreateTime()Retrieve the time this object was created.- Returns:
- the time this object was created.
-
getUpdateTime
public abstract long getUpdateTime()Retrieve the time this object was last updated.- Returns:
- the time this object was last updated.
-
isProxy
public abstract boolean isProxy()Return true/false if this object is a "proxy" object.- Returns:
- True if this object is a proxy object. False otherwise.
-
getAllowRemoteAccess
public abstract boolean getAllowRemoteAccess()Return true/false if this object has remote access allowed.- Returns:
- True if this object has remote access allowed. False otherwise.
-
getAllowReplication
public abstract boolean getAllowReplication()Return true/false if this object is allowed to be replicated.- Returns:
- True if the object can be replicated, False otherwise.
-
getObjectSize
public abstract long getObjectSize()Retrieve the object size (in bytes).- Returns:
- the object size in bytes.
-
getTimeoutType
Retrieve the timeout type for this object.- Returns:
- the timeout type.
-
getTimeout
Retrieve the timeout duration.- Returns:
- the timeout duration.
-
getGeoServerCoherencyPolicy
Retrieve the GeoServer coherency policy.- Returns:
- the coherency policy.
-
getBackingStoreEventInterval
Retrieve the backing store event interval duration.- Returns:
- the backing store event interval duration.
-
getBackingStoreMode
Retrieve the backing store mode.- Returns:
- the backing store mode.
-
getParentKeys
Retrieve the parent keys.- Returns:
- the parent keys.
-
getPreemptionPriority
Retrieve the preemption priority.- Returns:
- the preemption priority.
-