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 @Nullable 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, waitapplypublic void finishUnmarshal(GridCacheContext ctx, ClassLoader ldr) throws IgniteCheckedException
finishUnmarshal in interface CacheEntryPredicatectx - Context.ldr - Class loader.IgniteCheckedException - If failed.public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException
prepareMarshal in interface CacheEntryPredicatectx - Context.IgniteCheckedException - If failed.public void entryLocked(boolean locked)
entryLocked in interface CacheEntryPredicatelocked - Entry lockedpublic short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic boolean readFrom(ByteBuffer buf, MessageReader reader)
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
@Nullable protected @Nullable CacheObject peekVisibleValue(GridCacheEntryEx entry)
entry - Entry.public void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020