Interface CacheStoreSession


public interface CacheStoreSession
Cache store session.

Each operation which is executed within session bounds must preserve transaction (ACID) semantics.

  • Method Details

    • getTransaction

      Transaction getTransaction()
      Get attached transaction.
      Returns:
      The transaction.
    • setTransaction

      void setTransaction(Transaction transaction)
      Attaches corresponding Ignite transaction to a session.
      Parameters:
      transaction - The transaction.
    • finishAsync

      CompletableFuture<Void> finishAsync(boolean commit)
      Finish the current session.
      Parameters:
      commit - Commit or not changes.