public class GridNearAtomicSingleUpdateInvokeRequest extends GridNearAtomicSingleUpdateRequest
key, valCACHE_MSG_IDX, flags, futId, nodeId, op, subjId, syncMode, taskNameHash, topVercacheIdaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridNearAtomicSingleUpdateInvokeRequest()
Empty constructor required by
Externalizable. |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdateEntry(KeyCacheObject key,
Object val,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
void |
cleanup(boolean clearKey)
Cleanup values.
|
short |
directType()
Gets message type.
|
javax.cache.processor.EntryProcessor<Object,Object,Object> |
entryProcessor(int idx) |
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
Object[] |
invokeArguments() |
void |
prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
CacheObject |
value(int idx) |
List<?> |
values() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
CacheObject |
writeValue(int idx) |
conflictExpireTime, conflictTtl, conflictVersion, conflictVersions, key, keys, partition, sizeexpiry, filteraddDeploymentInfo, futureId, keepBinary, keepBinary, lookupIndex, messageLogger, nearCache, nodeId, onResponse, operation, recovery, recovery, response, returnValue, returnValue, skipStore, skipStore, subjectId, taskNameHash, topologyVersion, writeSynchronizationModecacheGroupMessage, cacheId, cacheId, handlerIdappendFlag, classError, deployInfo, error, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, partitionExchangeMessage, prepare, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridNearAtomicSingleUpdateInvokeRequest()
Externalizable.public void addUpdateEntry(KeyCacheObject key, @Nullable Object val, long conflictTtl, long conflictExpireTime, @Nullable GridCacheVersion conflictVer)
addUpdateEntry in class GridNearAtomicSingleUpdateRequestkey - Key to add.val - Optional update value.conflictTtl - Conflict TTL (optional).conflictExpireTime - Conflict expire time (optional).conflictVer - Conflict version (optional).public List<?> values()
values in class GridNearAtomicSingleUpdateRequestpublic CacheObject value(int idx)
value in class GridNearAtomicSingleUpdateRequestidx - Key index.public javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor(int idx)
entryProcessor in class GridNearAtomicSingleUpdateRequestidx - Key index.public CacheObject writeValue(int idx)
writeValue in class GridNearAtomicSingleUpdateRequestidx - Index to get.@Nullable public Object[] invokeArguments()
invokeArguments in class GridNearAtomicAbstractSingleUpdateRequestpublic void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException
prepareMarshal in class GridNearAtomicSingleUpdateRequestctx - Cache context.IgniteCheckedException - If failed.public void finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr) throws IgniteCheckedException
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method.finishUnmarshal in class GridNearAtomicSingleUpdateRequestctx - Context.ldr - Class loader.IgniteCheckedException - If failed.public void cleanup(boolean clearKey)
cleanup in class GridNearAtomicSingleUpdateRequestclearKey - If true clears keys.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridNearAtomicSingleUpdateRequestbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridNearAtomicSingleUpdateRequestbuf - Byte buffer.reader - Reader.public byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridNearAtomicSingleUpdateRequestpublic short directType()
directType in interface MessagedirectType in class GridNearAtomicSingleUpdateRequestpublic String toString()
toString in class GridNearAtomicSingleUpdateRequest
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018