public abstract class CacheEntryPredicateAdapter extends Object implements CacheEntryPredicate
Modifier and Type | Field and Description |
---|---|
protected boolean |
locked |
DIRECT_TYPE_SIZE
Constructor and Description |
---|
CacheEntryPredicateAdapter() |
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
void |
entryLocked(boolean locked) |
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
onAckReceived()
Method called when ack message received.
|
protected CacheObject |
peekVisibleValue(GridCacheEntryEx entry) |
void |
prepareMarshal(GridCacheContext ctx) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public void finishUnmarshal(GridCacheContext ctx, ClassLoader ldr) throws IgniteCheckedException
finishUnmarshal
in interface CacheEntryPredicate
ctx
- Context.ldr
- Class loader.IgniteCheckedException
- If failed.public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException
prepareMarshal
in interface CacheEntryPredicate
ctx
- Context.IgniteCheckedException
- If failed.public void entryLocked(boolean locked)
entryLocked
in interface CacheEntryPredicate
locked
- Entry lockedpublic short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
@Nullable protected CacheObject peekVisibleValue(GridCacheEntryEx entry)
entry
- Entry.public void onAckReceived()
onAckReceived
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017