public class UserCacheObjectImpl extends CacheObjectImpl
val, valBytesTYPE_BINARY, TYPE_BINARY_ENUM, TYPE_BYTE_ARR, TYPE_REGULARDIRECT_TYPE_SIZE| Constructor and Description |
|---|
UserCacheObjectImpl() |
UserCacheObjectImpl(Object val,
byte[] valBytes) |
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
prepareForCache(CacheObjectContext ctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
<T> T |
value(CacheObjectValueContext ctx,
boolean cpy) |
directType, equals, finishUnmarshal, hashCode, isPlatformType, onAckReceived, prepareMarshal, value, valueBytescacheObjectType, fieldsCount, needCopy, objectPutSize, putValue, putValue, putValue, putValue, putValue, readExternal, readFrom, toString, valueBytesLength, writeExternal, writeTopublic UserCacheObjectImpl()
public UserCacheObjectImpl(Object val, byte[] valBytes)
val - Value.valBytes - Value bytes.@Nullable public <T> T value(CacheObjectValueContext ctx, boolean cpy)
value in interface CacheObjectvalue in class CacheObjectImplctx - Context.cpy - If true need to copy value.public CacheObject prepareForCache(CacheObjectContext ctx)
prepareForCache in interface CacheObjectprepareForCache in class CacheObjectImplctx - Cache context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021