public interface CacheObject extends Message
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE_BYTE_ARR |
static byte |
TYPE_REGULAR |
| Modifier and Type | Method and Description |
|---|---|
void |
finishUnmarshal(CacheObjectContext ctx,
ClassLoader ldr) |
CacheObject |
prepareForCache(CacheObjectContext ctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
void |
prepareMarshal(CacheObjectContext ctx) |
byte |
type() |
<T> T |
value(CacheObjectContext ctx,
boolean cpy) |
byte[] |
valueBytes(CacheObjectContext ctx) |
directType, fieldsCount, readFrom, writeTostatic final byte TYPE_REGULAR
static final byte TYPE_BYTE_ARR
@Nullable <T> T value(CacheObjectContext ctx, boolean cpy)
ctx - Context.cpy - If true need to copy value.byte[] valueBytes(CacheObjectContext ctx) throws IgniteCheckedException
ctx - Context.IgniteCheckedException - If failed.byte type()
CacheObject prepareForCache(CacheObjectContext ctx)
ctx - Cache context.void finishUnmarshal(CacheObjectContext ctx, ClassLoader ldr) throws IgniteCheckedException
ctx - Context.ldr - Class loader.IgniteCheckedException - If failed.void prepareMarshal(CacheObjectContext ctx) throws IgniteCheckedException
ctx - Context.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015