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