public class CacheEntrySerializablePredicate extends Object implements CacheEntryPredicate
| Constructor and Description |
|---|
CacheEntrySerializablePredicate()
Required by
Message. |
CacheEntrySerializablePredicate(CacheEntryPredicate p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(GridCacheEntryEx e)
Predicate body.
|
byte |
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.
|
CacheEntryPredicate |
predicate() |
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.
|
public CacheEntrySerializablePredicate()
Message.public CacheEntrySerializablePredicate(CacheEntryPredicate p)
p - Serializable predicate.public CacheEntryPredicate predicate()
public void onAckReceived()
onAckReceived in interface Messagepublic void entryLocked(boolean locked)
entryLocked in interface CacheEntryPredicatelocked - Entry lockedpublic 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 boolean apply(GridCacheEntryEx e)
apply in interface IgnitePredicate<GridCacheEntryEx>e - Predicate parameter.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.9.0 Release Date : March 2 2017