Interface NearTxFinishFuture
-
- All Superinterfaces:
IgniteInternalFuture<IgniteInternalTx>
- All Known Implementing Classes:
GridNearTxFastFinishFuture,GridNearTxFinishFuture
public interface NearTxFinishFuture extends IgniteInternalFuture<IgniteInternalTx>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancommit()voidfinish(boolean commit, boolean clearThreadMap, boolean onTimeout)voidonNodeStop(IgniteCheckedException e)GridNearTxLocaltx()-
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
boolean commit()
- Returns:
- Commit flag.
-
tx
GridNearTxLocal tx()
- Returns:
- Transaction.
-
finish
void finish(boolean commit, boolean clearThreadMap, boolean onTimeout)- Parameters:
commit- Commit flag.clearThreadMap- IftrueremovesGridNearTxLocalfrom thread map.onTimeout- Iftruecalled from timeout handler.
-
onNodeStop
void onNodeStop(IgniteCheckedException e)
- Parameters:
e- Error.
-
-