public class GridNearTxPrepareResponse extends GridDistributedTxPrepareResponse
veraddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, cacheId, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEX| Constructor and Description |
|---|
GridNearTxPrepareResponse()
Empty constructor required by
Externalizable. |
GridNearTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion dhtVer,
GridCacheVersion writeVer,
GridCacheReturn retVal,
Throwable err,
AffinityTopologyVersion clientRemapVer,
boolean addDepInfo) |
error, error, isRollbackaddDeploymentInfo, committedVersions, completedVersions, keysCount, rolledbackVersions, version, versioncacheId, cacheId, classError, deployInfo, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, partitionExchangeMessage, prepare, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, topologyVersion, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridNearTxPrepareResponse()
Externalizable.public GridNearTxPrepareResponse(GridCacheVersion xid, IgniteUuid futId, IgniteUuid miniId, GridCacheVersion dhtVer, GridCacheVersion writeVer, GridCacheReturn retVal, Throwable err, AffinityTopologyVersion clientRemapVer, boolean addDepInfo)
xid - Xid version.futId - Future ID.miniId - Mini future ID.dhtVer - DHT version.writeVer - Write version.retVal - Return value.err - Error.clientRemapVer - Not null if client node should remap transaction.addDepInfo - Deployment info flag.@Nullable public AffinityTopologyVersion clientRemapVersion()
True if client node should remap transaction.public Collection<GridCacheVersion> pending()
GridDistributedBaseMessage.version().public void pending(Collection<GridCacheVersion> pending)
GridDistributedBaseMessage.version().pending - Pending versions.public IgniteUuid miniId()
public IgniteUuid futureId()
public GridCacheVersion dhtVersion()
public GridCacheVersion writeVersion()
public void addOwnedValue(IgniteTxKey key, GridCacheVersion ver, CacheObject val)
key - Key.ver - DHT version.val - Value.public Map<IgniteTxKey,CacheVersionedValue> ownedValues()
public GridCacheReturn returnValue()
public void filterFailedKeys(Collection<IgniteTxKey> filterFailedKeys)
filterFailedKeys - Collection of keys that did not pass the filter.public Collection<IgniteTxKey> filterFailedKeys()
public boolean hasOwnedValue(IgniteTxKey key)
key - Key.True if response has owned value for given key.public Collection<Integer> invalidPartitions()
public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException
prepareMarshal in class GridDistributedTxPrepareResponsectx - IgniteCheckedException - If failed.public void finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr) throws IgniteCheckedException
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method.finishUnmarshal in class GridDistributedTxPrepareResponsectx - Context.ldr - Class loader.IgniteCheckedException - If failed.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridDistributedTxPrepareResponsebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridDistributedTxPrepareResponsebuf - Byte buffer.reader - Reader.public byte directType()
directType in interface MessagedirectType in class GridDistributedTxPrepareResponsepublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridDistributedTxPrepareResponsepublic String toString()
toString in class GridDistributedTxPrepareResponse
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016