Class GridCacheDrInfo
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.dr.GridCacheDrInfo
-
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
GridCacheDrExpirationInfo
public class GridCacheDrInfo extends Object implements Externalizable
Cache DR info used as argument in PUT cache internal interfaces.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridCacheDrInfo()Externalizablesupport.GridCacheDrInfo(javax.cache.processor.EntryProcessor proc, GridCacheVersion ver)Constructor.GridCacheDrInfo(CacheObject val, GridCacheVersion ver)Constructor.GridCacheDrInfo(GridCacheVersion ver)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.cache.processor.EntryProcessorentryProcessor()longexpireTime()voidreadExternal(ObjectInput in)StringtoString()longttl()CacheObjectvalue()ObjectvalueEx()GridCacheVersionversion()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
GridCacheDrInfo
public GridCacheDrInfo()
Externalizablesupport.
-
GridCacheDrInfo
public GridCacheDrInfo(CacheObject val, GridCacheVersion ver)
Constructor.- Parameters:
val- Value.ver- Version.
-
GridCacheDrInfo
public GridCacheDrInfo(GridCacheVersion ver)
Constructor.- Parameters:
ver- Version.
-
GridCacheDrInfo
public GridCacheDrInfo(javax.cache.processor.EntryProcessor proc, GridCacheVersion ver)Constructor.- Parameters:
proc- Entry processor.ver- Version.
-
-
Method Detail
-
value
public CacheObject value()
- Returns:
- Value.
-
entryProcessor
public javax.cache.processor.EntryProcessor entryProcessor()
- Returns:
- Entry processor.
-
valueEx
public Object valueEx()
- Returns:
- Value (entry processor or cache object.
-
version
public GridCacheVersion version()
- Returns:
- Version.
-
ttl
public long ttl()
- Returns:
- TTL.
-
expireTime
public long expireTime()
- Returns:
- Expire time.
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
-