public class CacheEntryPredicateContainsValue extends CacheEntryPredicateAdapter
locked
DIRECT_TYPE_SIZE
Constructor and Description |
---|
CacheEntryPredicateContainsValue()
Required by
Message . |
CacheEntryPredicateContainsValue(CacheObject val) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(GridCacheEntryEx e)
Predicate body.
|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
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.
|
entryLocked, onAckReceived, peekVisibleValue
public CacheEntryPredicateContainsValue()
Message
.public CacheEntryPredicateContainsValue(CacheObject val)
val
- Value to compare with.public boolean apply(GridCacheEntryEx e)
e
- Predicate parameter.public void finishUnmarshal(GridCacheContext ctx, ClassLoader ldr) throws IgniteCheckedException
finishUnmarshal
in interface CacheEntryPredicate
finishUnmarshal
in class CacheEntryPredicateAdapter
ctx
- Context.ldr
- Class loader.IgniteCheckedException
- If failed.public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException
prepareMarshal
in interface CacheEntryPredicate
prepareMarshal
in class CacheEntryPredicateAdapter
ctx
- Context.IgniteCheckedException
- If failed.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo
in interface Message
writeTo
in class CacheEntryPredicateAdapter
buf
- Byte buffer.writer
- Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom
in interface Message
readFrom
in class CacheEntryPredicateAdapter
buf
- Byte buffer.reader
- Reader.public short directType()
directType
in interface Message
directType
in class CacheEntryPredicateAdapter
public byte fieldsCount()
fieldsCount
in interface Message
fieldsCount
in class CacheEntryPredicateAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017