public interface TxnIntCallable
TxnExecutor.
This transactional callable is optimized for retuning a primitive type: int. Using this TxnIntCallable instead of
the TxnCallable is that no object wrapper needs to be created and there is no reason to deal with a potential
null value.| Modifier and Type | Method and Description |
|---|---|
int |
call(Txn txn)
Executes the callable.
|
int call(Txn txn) throws Exception
txn - the Transaction. Depending on the txn PropagationLevel, this could
be null.ExceptionCopyright © 2025. All rights reserved.