Package org.infinispan.functional
Class MetaParam.MetaLoadedFromPersistence
- java.lang.Object
-
- org.infinispan.functional.MetaParam.MetaLoadedFromPersistence
-
@Experimental public static final class MetaParam.MetaLoadedFromPersistence extends Object implements MetaParam<Boolean>
Non-writable parameter telling if the entry was loaded from a persistence tier (CacheLoader) or not. This information may be available only to write commands due to implementation reasons.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.functional.MetaParam
MetaParam.Lookup, MetaParam.MetaCreated, MetaParam.MetaEntryVersion, MetaParam.MetaLastUsed, MetaParam.MetaLifespan, MetaParam.MetaLoadedFromPersistence, MetaParam.MetaLong, MetaParam.MetaMaxIdle, MetaParam.Writable<T>
-
-
Field Summary
Fields Modifier and Type Field Description static MetaParam.MetaLoadedFromPersistenceLOADEDstatic MetaParam.MetaLoadedFromPersistenceNOT_LOADED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Booleanget()Returns the value of the meta parameter.inthashCode()static MetaParam.MetaLoadedFromPersistenceof(boolean loaded)
-
-
-
Field Detail
-
LOADED
public static MetaParam.MetaLoadedFromPersistence LOADED
-
NOT_LOADED
public static MetaParam.MetaLoadedFromPersistence NOT_LOADED
-
-
Method Detail
-
get
public Boolean get()
Description copied from interface:MetaParamReturns the value of the meta parameter.
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
of
public static MetaParam.MetaLoadedFromPersistence of(boolean loaded)
-
-