public interface TxnLongCallable
TxnExecutor.
This transactional callable is optimized for retuning a primitive type: long. Using this TxnLongCallable 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 |
|---|---|
long |
call(Txn txn)
Executes the callable.
|
long call(Txn txn) throws Exception
txn - the Transaction. Depending on the txn PropagationLevel, this could
be null.ExceptionCopyright © 2025. All rights reserved.