public abstract class GridNearAtomicAbstractSingleUpdateRequest extends GridNearAtomicAbstractUpdateRequest
| Modifier and Type | Field and Description |
|---|---|
protected byte |
flags
Compressed boolean flags.
|
protected GridCacheVersion |
futVer
Future version.
|
protected UUID |
nodeId
Target node ID.
|
protected GridCacheOperation |
op
Update operation.
|
protected UUID |
subjId
Subject ID.
|
protected CacheWriteSynchronizationMode |
syncMode
Write synchronization mode.
|
protected int |
taskNameHash
Task name hash.
|
protected AffinityTopologyVersion |
topVer
Topology version.
|
CACHE_MSG_IDXaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, cacheId, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEX| Modifier | Constructor and Description |
|---|---|
protected |
GridNearAtomicAbstractSingleUpdateRequest()
Empty constructor required by
Externalizable. |
protected |
GridNearAtomicAbstractSingleUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean keepBinary,
boolean clientReq,
boolean addDepInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDeploymentInfo()
Deployment enabled flag indicates whether deployment info has to be added to this message.
|
boolean |
clientRequest() |
void |
clientRequest(boolean val)
Sets clientRequest flag value.
|
javax.cache.expiry.ExpiryPolicy |
expiry() |
boolean |
fastMap() |
void |
fastMap(boolean val)
Sets fastMap flag value.
|
byte |
fieldsCount()
Gets fields count.
|
CacheEntryPredicate[] |
filter() |
GridCacheVersion |
futureVersion() |
boolean |
hasPrimary() |
void |
hasPrimary(boolean val)
Sets hasPrimary flag value.
|
Object[] |
invokeArguments() |
boolean |
keepBinary() |
void |
keepBinary(boolean val)
Sets keepBinary flag value.
|
int |
lookupIndex()
Gets message lookup index.
|
IgniteLogger |
messageLogger(GridCacheSharedContext ctx) |
UUID |
nodeId() |
void |
nodeId(UUID nodeId) |
boolean |
onResponse(GridNearAtomicUpdateResponse res) |
GridCacheOperation |
operation() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
GridNearAtomicUpdateResponse |
response() |
boolean |
returnValue() |
void |
returnValue(boolean val)
Sets returnValue flag value.
|
boolean |
skipStore() |
void |
skipStore(boolean val)
Sets skipStore flag value.
|
UUID |
subjectId() |
int |
taskNameHash() |
boolean |
topologyLocked() |
void |
topologyLocked(boolean val)
Sets topologyLocked flag value.
|
AffinityTopologyVersion |
topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
GridCacheVersion |
updateVersion() |
CacheWriteSynchronizationMode |
writeSynchronizationMode() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addUpdateEntry, cleanup, conflictExpireTime, conflictTtl, conflictVersion, conflictVersions, entryProcessor, key, keys, size, value, values, writeValuecacheId, cacheId, classError, deployInfo, error, finishUnmarshal, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, partitionExchangeMessage, prepare, prepareMarshal, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, toString, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparedirectTypeprotected UUID nodeId
protected GridCacheVersion futVer
protected AffinityTopologyVersion topVer
protected CacheWriteSynchronizationMode syncMode
protected GridCacheOperation op
protected UUID subjId
protected int taskNameHash
protected byte flags
protected GridNearAtomicAbstractSingleUpdateRequest()
Externalizable.protected GridNearAtomicAbstractSingleUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
@Nullable
GridCacheVersion updateVer,
@NotNull
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
@Nullable
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean keepBinary,
boolean clientReq,
boolean addDepInfo)
cacheId - Cache ID.nodeId - Node ID.futVer - Future version.fastMap - Fast map scheme flag.updateVer - Update version set if fast map is performed.topVer - Topology version.topLocked - Topology locked flag.syncMode - Synchronization mode.op - Cache update operation.retval - Return value required flag.subjId - Subject ID.taskNameHash - Task name hash code.skipStore - Skip write-through to a persistent storage.keepBinary - Keep binary flag.clientReq - Client node request flag.addDepInfo - Deployment info flag.public int lookupIndex()
GridCacheMessage.MAX_CACHE_MSG_LOOKUP_INDEX.lookupIndex in class GridCacheMessagepublic UUID nodeId()
nodeId in class GridNearAtomicAbstractUpdateRequestpublic void nodeId(UUID nodeId)
nodeId in class GridNearAtomicAbstractUpdateRequestnodeId - Node ID.public UUID subjectId()
subjectId in class GridNearAtomicAbstractUpdateRequestpublic int taskNameHash()
taskNameHash in class GridNearAtomicAbstractUpdateRequestpublic GridCacheVersion futureVersion()
futureVersion in class GridNearAtomicAbstractUpdateRequestpublic GridCacheVersion updateVersion()
updateVersion in class GridNearAtomicAbstractUpdateRequestpublic AffinityTopologyVersion topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessagepublic CacheWriteSynchronizationMode writeSynchronizationMode()
writeSynchronizationMode in class GridNearAtomicAbstractUpdateRequestpublic javax.cache.expiry.ExpiryPolicy expiry()
expiry in class GridNearAtomicAbstractUpdateRequestpublic GridCacheOperation operation()
operation in class GridNearAtomicAbstractUpdateRequest@Nullable public Object[] invokeArguments()
invokeArguments in class GridNearAtomicAbstractUpdateRequestpublic boolean onResponse(GridNearAtomicUpdateResponse res)
onResponse in class GridNearAtomicAbstractUpdateRequestres - Response.True if current response was null.@Nullable public GridNearAtomicUpdateResponse response()
response in class GridNearAtomicAbstractUpdateRequestpublic boolean addDeploymentInfo()
addDeploymentInfo in class GridCacheMessagetrue or if deployment info must be added to the the message, false otherwise.public IgniteLogger messageLogger(GridCacheSharedContext ctx)
messageLogger in class GridCacheMessagectx - Context.public boolean fastMap()
fastMap in class GridNearAtomicAbstractUpdateRequestpublic void fastMap(boolean val)
public boolean topologyLocked()
topologyLocked in class GridNearAtomicAbstractUpdateRequestpublic void topologyLocked(boolean val)
public boolean clientRequest()
clientRequest in class GridNearAtomicAbstractUpdateRequestTrue if request sent from client node.public void clientRequest(boolean val)
public boolean returnValue()
returnValue in class GridNearAtomicAbstractUpdateRequestpublic void returnValue(boolean val)
public boolean skipStore()
skipStore in class GridNearAtomicAbstractUpdateRequestpublic void skipStore(boolean val)
public boolean keepBinary()
keepBinary in class GridNearAtomicAbstractUpdateRequestpublic void keepBinary(boolean val)
public boolean hasPrimary()
hasPrimary in class GridNearAtomicAbstractUpdateRequestpublic void hasPrimary(boolean val)
@Nullable public CacheEntryPredicate[] filter()
filter in class GridNearAtomicAbstractUpdateRequestpublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridCacheMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridCacheMessagebuf - Byte buffer.reader - Reader.public byte fieldsCount()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016