public interface TransactionalTask<T>
TransactionalTaskwill run on the caller thread.
|Modifier and Type||Method and Description|
Executes the transactional logic.
T execute(TransactionalTaskContext context) throws TransactionException
context- the TransactionalTaskContext that provides access to the transaction and to the transactional resource like the
TransactionException- if transaction error happens while executing this task.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.