@FunctionalInterface public interface TxFini extends Fini
Block.fini()
method. This
is equivalent to Runnable
but is made separate so that when passed as a parameter the lambda will
be easily distinguished. Casting a lambda to this type also will serve as useful documentation.Modifier and Type | Method and Description |
---|---|
void |
fini()
Provides a callback that is guaranteed to be called AFTER every block executes and
BEFORE the body can iterated, retried or exited.
|
default BlockManager.TransactionType |
getTransactionType()
Obtain the transaction level of this FINALLY block.
|
void fini()
default BlockManager.TransactionType getTransactionType()
getTransactionType
in interface Fini
BlockManager.TransactionType.FULLs
.