public class CacheEvictionEntry extends Object implements Message
| Constructor and Description |
|---|
CacheEvictionEntry()
Required by
Message. |
CacheEvictionEntry(KeyCacheObject key,
GridCacheVersion ver,
boolean near) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
KeyCacheObject |
key() |
boolean |
near() |
void |
onAckReceived()
Method called when ack message received.
|
void |
prepareMarshal(GridCacheContext ctx) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
GridCacheVersion |
version() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public CacheEvictionEntry()
Message.public CacheEvictionEntry(KeyCacheObject key, GridCacheVersion ver, boolean near)
key - Key.ver - Version.near - true if key should be evicted from near cache.public KeyCacheObject key()
public GridCacheVersion version()
public boolean near()
True if key should be evicted from near cache.public byte directType()
directType in interface Messagepublic 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 void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016