public class IgniteTxHandler extends Object
| Constructor and Description |
|---|
IgniteTxHandler(GridCacheSharedContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finish(GridDistributedTxRemoteAdapter tx,
GridDhtTxPrepareRequest req) |
IgniteInternalFuture<IgniteInternalTx> |
finish(UUID nodeId,
GridNearTxLocal locTx,
GridNearTxFinishRequest req) |
protected void |
finish(UUID nodeId,
IgniteTxRemoteEx tx,
GridDhtTxFinishRequest req) |
IgniteInternalFuture<IgniteInternalTx> |
finishColocatedLocal(boolean commit,
GridNearTxLocal tx) |
IgniteInternalFuture<GridNearTxPrepareResponse> |
prepareColocatedTx(GridNearTxLocal locTx,
GridNearTxPrepareRequest req)
Prepares local colocated tx.
|
IgniteInternalFuture<GridNearTxPrepareResponse> |
prepareNearTxLocal(GridNearTxPrepareRequest req) |
protected void |
processCheckPreparedTxResponse(UUID nodeId,
GridCacheTxRecoveryResponse res) |
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.IgniteTxHeuristicCheckedExceptionprotected void processCheckPreparedTxResponse(UUID nodeId, GridCacheTxRecoveryResponse res)
nodeId - Node ID.res - Response.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018