Class GridNearTxFastFinishFuture
- java.lang.Object
-
- org.apache.ignite.internal.util.future.GridFutureAdapter<IgniteInternalTx>
-
- org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxFastFinishFuture
-
- All Implemented Interfaces:
IgniteInternalFuture<IgniteInternalTx>,NearTxFinishFuture
public class GridNearTxFastFinishFuture extends GridFutureAdapter<IgniteInternalTx> implements NearTxFinishFuture
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancommit()voidfinish(boolean commit, boolean clearThreadMap, boolean onTimeout)voidonNodeStop(IgniteCheckedException e)GridNearTxLocaltx()-
Methods inherited from class org.apache.ignite.internal.util.future.GridFutureAdapter
cancel, chain, chain, chain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, result, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.IgniteInternalFuture
cancel, chain, chain, chain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, listen, result
-
-
-
-
Method Detail
-
commit
public boolean commit()
- Specified by:
commitin interfaceNearTxFinishFuture- Returns:
- Commit flag.
-
tx
public GridNearTxLocal tx()
- Specified by:
txin interfaceNearTxFinishFuture- Returns:
- Transaction.
-
finish
public void finish(boolean commit, boolean clearThreadMap, boolean onTimeout)- Specified by:
finishin interfaceNearTxFinishFuture- Parameters:
clearThreadMap-Trueif need remove tx from thread map.commit- Commit flag.onTimeout- Iftruecalled from timeout handler.
-
onNodeStop
public void onNodeStop(IgniteCheckedException e)
- Specified by:
onNodeStopin interfaceNearTxFinishFuture- Parameters:
e- Error.
-
-