public class IgniteTxKey extends Object implements Message
| Constructor and Description |
|---|
IgniteTxKey()
Empty constructor required for
Externalizable. |
IgniteTxKey(KeyCacheObject key,
int cacheId) |
| Modifier and Type | Method and Description |
|---|---|
int |
cacheId() |
byte |
directType()
Gets message type.
|
boolean |
equals(Object o) |
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
int |
hashCode() |
KeyCacheObject |
key() |
void |
prepareMarshal(GridCacheContext ctx) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public IgniteTxKey()
Externalizable.public IgniteTxKey(KeyCacheObject key, int cacheId)
key - User key.cacheId - Cache ID.public KeyCacheObject key()
public int cacheId()
public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException
ctx - 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.2.0-incubating Release Date : June 16 2015