Interface SpaceTransactionProvider

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
TransactionProvider
All Known Implementing Classes:
DefaultTransactionProvider

public interface SpaceTransactionProvider extends Closeable
A transaction provider for space proxy.
Since:
12.2
Author:
Niv Ingberg
  • Method Details

    • isEnabled

      boolean isEnabled()
      Returns true if this transaction provider is enabled or not.
    • getCurrentTransaction

      Transaction getCurrentTransaction()
      Returns the currently running transaction (usually managed externally/declarative).

      If no transaction is currently executing, null value will be returned. This usually means that the operation will be performed without a transaction.

      Returns:
      The transaction object to be used (can be null).
    • getCurrentTransactionIsolationLevel

      IsolationLevelModifiers getCurrentTransactionIsolationLevel()
      Returns the currently running transaction isolation level.
      Returns:
      The transaction isolation level.