Class CachedObjectMetadata<K>

java.lang.Object
com.scaleout.client.caching.CachedObjectMetadata<K>
Type Parameters:
K - the key type.

public abstract class CachedObjectMetadata<K> extends Object
Metadata for an object stored in a Cache.
  • 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

      public abstract TimeoutType getTimeoutType()
      Retrieve the timeout type for this object.
      Returns:
      the timeout type.
    • getTimeout

      public abstract Duration getTimeout()
      Retrieve the timeout duration.
      Returns:
      the timeout duration.
    • getGeoServerCoherencyPolicy

      public abstract GeoServerCoherencyPolicy getGeoServerCoherencyPolicy()
      Retrieve the GeoServer coherency policy.
      Returns:
      the coherency policy.
    • getBackingStoreEventInterval

      public abstract Duration getBackingStoreEventInterval()
      Retrieve the backing store event interval duration.
      Returns:
      the backing store event interval duration.
    • getBackingStoreMode

      public abstract BackingStoreMode getBackingStoreMode()
      Retrieve the backing store mode.
      Returns:
      the backing store mode.
    • getParentKeys

      public abstract Set<K> getParentKeys()
      Retrieve the parent keys.
      Returns:
      the parent keys.
    • getPreemptionPriority

      public abstract PreemptionPriority getPreemptionPriority()
      Retrieve the preemption priority.
      Returns:
      the preemption priority.