Interface ClientTransactions


  • public interface ClientTransactions
    Thin client transactions facade.

    Transactions are bound to the thread started the transaction. After that, each cache operation within this thread will belong to the corresponding transaction until the transaction is committed, rolled back or closed.

    Transactions are AutoCloseable, so they will automatically rollback unless explicitly committed.

    Default values for transaction isolation level, concurrency and timeout can be configured via ClientConfiguration.setTransactionConfiguration(ClientTransactionConfiguration) property.

    See Also:
    ClientTransactionConfiguration