public class CacheVersionedValue extends Object implements Message
| Constructor and Description |
|---|
CacheVersionedValue() |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr)
This method is called after the whole message is received
and is responsible for unmarshalling state.
|
void |
prepareMarshal(CacheObjectContext ctx)
This method is called before the whole message is sent
and is responsible for pre-marshalling state.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
CacheObject |
value() |
GridCacheVersion |
version() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridCacheVersion version()
public CacheObject value()
public void prepareMarshal(CacheObjectContext ctx) throws IgniteCheckedException
ctx - Cache object context.IgniteCheckedException - If failed.public void finishUnmarshal(GridCacheContext ctx, ClassLoader ldr) throws IgniteCheckedException
ctx - Context.ldr - Class loader.IgniteCheckedException - If failed.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015