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() |
protected @Nullable byte[][] |
marshalInvokeArguments(@Nullable Object[] args,
GridCacheContext ctx) |
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.
|
protected @Nullable Object[] |
unmarshalInvokeArguments(@Nullable byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
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.@Nullable protected final @Nullable Object[] unmarshalInvokeArguments(@Nullable @Nullable byte[][] byteCol, GridCacheSharedContext ctx, ClassLoader ldr) throws IgniteCheckedException
byteCol - Collection to unmarshal.ctx - Context.ldr - Loader.IgniteCheckedException - If failed.@Nullable
protected final @Nullable byte[][] marshalInvokeArguments(@Nullable
@Nullable Object[] args,
GridCacheContext ctx)
throws IgniteCheckedException
args - Arguments to marshal.ctx - Context.IgniteCheckedException - If 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.11.0 Release Date : September 11 2021