public class IgniteTxHandler extends Object
| Constructor and Description |
|---|
IgniteTxHandler(GridCacheSharedContext ctx) |
public IgniteTxHandler(GridCacheSharedContext ctx)
ctx - Shared cache context.public IgniteInternalFuture<GridNearTxPrepareResponse> prepareColocatedTx(GridNearTxLocal locTx, GridNearTxPrepareRequest req)
locTx - Local transaction.req - Near prepare request.public IgniteInternalFuture<GridNearTxPrepareResponse> prepareNearTxLocal(GridNearTxPrepareRequest req)
req - Request.@Nullable public IgniteInternalFuture<IgniteInternalTx> finish(UUID nodeId, @Nullable GridNearTxLocal locTx, GridNearTxFinishRequest req)
nodeId - Node ID.locTx - Local transaction.req - Request.public IgniteInternalFuture<IgniteInternalTx> finishColocatedLocal(boolean commit, GridNearTxLocal tx)
commit - Commit flag (rollback if false).tx - Transaction to commit.protected void finish(UUID nodeId, IgniteTxRemoteEx tx, GridDhtTxFinishRequest req)
nodeId - Node ID.tx - Transaction.req - Request.protected void finish(GridDistributedTxRemoteAdapter tx, GridDhtTxPrepareRequest req) throws IgniteTxHeuristicCheckedException
tx - Transaction.req - Request.IgniteTxHeuristicCheckedExceptionpublic void mvccEnlistBatch(GridDhtTxRemote tx, GridCacheContext ctx, EnlistOperation op, List<KeyCacheObject> keys, List<Message> vals, MvccSnapshot snapshot, IgniteUuid futId, int batchNum) throws IgniteCheckedException
tx - Transaction.ctx - Cache context.op - Operation.keys - Keys.vals - Values sent from the primary node.snapshot - Mvcc snapshot.batchNum - Batch number.futId - Future id.IgniteCheckedException - If failed.protected void processCheckPreparedTxResponse(UUID nodeId, GridCacheTxRecoveryResponse res)
nodeId - Node ID.res - Response.public void applyPartitionsUpdatesCounters(Iterable<PartitionUpdateCountersMessage> counters)
counters - Counter values to be updated.@Nullable public List<PartitionUpdateCountersMessage> filterUpdateCountersForBackupNode(IgniteInternalTx tx, ClusterNode node)
tx - Transaction.node - Backup node.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019