public class IgniteTxHandler extends Object
| Constructor and Description |
|---|
IgniteTxHandler(GridCacheSharedContext ctx) |
public IgniteTxHandler(GridCacheSharedContext ctx)
ctx - Shared cache context.public IgniteInternalFuture<IgniteInternalTx> processNearTxPrepareRequest(UUID nearNodeId, GridNearTxPrepareRequest req)
nearNodeId - Node ID.req - Request.public IgniteInternalFuture<IgniteInternalTx> prepareTx(UUID nearNodeId, @Nullable GridNearTxLocal locTx, GridNearTxPrepareRequest req, @Nullable IgniteInClosure<GridNearTxPrepareResponse> completeCb)
nearNodeId - Near node ID that initiated transaction.locTx - Optional local transaction.req - Near prepare request.completeCb - Completion callback.@Nullable public IgniteInternalFuture<IgniteInternalTx> processNearTxFinishRequest(UUID nodeId, GridNearTxFinishRequest req)
nodeId - Node ID.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 final void processDhtTxPrepareRequest(UUID nodeId, GridDhtTxPrepareRequest req)
nodeId - Sender node ID.req - Request.protected final void processDhtTxFinishRequest(UUID nodeId, GridDhtTxFinishRequest req)
nodeId - Node ID.req - Request.protected void finish(UUID nodeId, IgniteTxRemoteEx tx, GridDhtTxFinishRequest req)
nodeId - Node ID.tx - Transaction.req - Request.protected void finish(UUID nodeId, GridDistributedTxRemoteAdapter tx, GridDhtTxPrepareRequest req) throws IgniteTxHeuristicCheckedException
nodeId - Node ID.tx - Transaction.req - Request.IgniteTxHeuristicCheckedExceptionprotected void sendReply(UUID nodeId, GridDhtTxFinishRequest req)
nodeId - Node id that originated finish request.req - Request.@Nullable public GridNearTxRemote startNearRemoteTx(ClassLoader ldr, UUID nodeId, GridDhtTxPrepareRequest req) throws IgniteCheckedException
ldr - Loader.nodeId - Sender node ID.req - Request.IgniteCheckedException - If failed.protected void processCheckPreparedTxRequest(UUID nodeId, GridCacheTxRecoveryRequest req)
nodeId - Node ID.req - Request.protected void processCheckPreparedTxResponse(UUID nodeId, GridCacheTxRecoveryResponse res)
nodeId - Node ID.res - Response.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015