Enum ActiveTransactionRegistry

java.lang.Object
java.lang.Enum<ActiveTransactionRegistry>
org.eclipse.rdf4j.http.server.repository.transaction.ActiveTransactionRegistry
All Implemented Interfaces:
Serializable, Comparable<ActiveTransactionRegistry>

public enum ActiveTransactionRegistry extends Enum<ActiveTransactionRegistry>
Registry keeping track of active transactions identified by a UUID.
Author:
Jeen Broekstra
  • Enum Constant Details Link icon

  • Field Details Link icon

  • Method Details Link icon

    • values Link icon

      public static ActiveTransactionRegistry[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf Link icon

      public static ActiveTransactionRegistry valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • cleanUpSecondaryCache Link icon

      protected void cleanUpSecondaryCache()
    • destroyScheduler Link icon

      public void destroyScheduler()
    • getTimeout Link icon

      public long getTimeout(TimeUnit unit)
    • register Link icon

      public void register(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn)
      Parameters:
      txn -
    • getTransaction Link icon

      public org.eclipse.rdf4j.http.server.repository.transaction.Transaction getTransaction(UUID id)
    • active Link icon

      public void active(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn)
      Resets transaction timeout. If transaction has already timed-out, reinsert the transaction.
      Parameters:
      txn -
    • deregister Link icon

      public void deregister(org.eclipse.rdf4j.http.server.repository.transaction.Transaction transaction)
      Parameters:
      transaction -