public class GridInvokeValue extends Object implements Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridInvokeValue()
Constructor.
|
GridInvokeValue(javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
Object[] invokeArgs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
javax.cache.processor.EntryProcessor<Object,Object,Object> |
entryProcessor() |
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
Unmarshalls invoke value.
|
Object[] |
invokeArgs() |
void |
onAckReceived()
Method called when ack message received.
|
void |
prepareMarshal(GridCacheContext ctx)
Marshalls invoke value.
|
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 Object[] invokeArgs()
public javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor()
public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException
ctx - Context.IgniteCheckedException - If failed.public void finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr) throws IgniteCheckedException
ctx - Cache context.ldr - Class loader.IgniteCheckedException - If un-marshalling failed.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019