public enum ActiveTransactionRegistry extends Enum<ActiveTransactionRegistry>
UUID.| Enum Constant and Description | 
|---|
| INSTANCE | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | CACHE_TIMEOUT_PROPERTYDeprecated. 
 since 2.3 use  Protocol.CACHE_TIMEOUT_PROPERTY | 
| static int | DEFAULT_TIMEOUTDeprecated. 
 since 2.3 use  Protocol.DEFAULT_TIMEOUT | 
| Modifier and Type | Method and Description | 
|---|---|
| void | active(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn)Resets transaction timeout. | 
| void | deregister(org.eclipse.rdf4j.http.server.repository.transaction.Transaction transaction) | 
| long | getTimeout(TimeUnit unit) | 
| org.eclipse.rdf4j.http.server.repository.transaction.Transaction | getTransaction(UUID id) | 
| void | register(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn) | 
| static ActiveTransactionRegistry | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ActiveTransactionRegistry[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ActiveTransactionRegistry INSTANCE
@Deprecated public static final String CACHE_TIMEOUT_PROPERTY
Protocol.CACHE_TIMEOUT_PROPERTYrdf4j.server.txn.registry.timeout for specifying the transaction cache
 timeout (in seconds).@Deprecated public static final int DEFAULT_TIMEOUT
Protocol.DEFAULT_TIMEOUTpublic static ActiveTransactionRegistry[] values()
for (ActiveTransactionRegistry c : ActiveTransactionRegistry.values()) System.out.println(c);
public static ActiveTransactionRegistry valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long getTimeout(TimeUnit unit)
public void register(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn)
txn - public org.eclipse.rdf4j.http.server.repository.transaction.Transaction getTransaction(UUID id)
public void active(org.eclipse.rdf4j.http.server.repository.transaction.Transaction txn)
txn - public void deregister(org.eclipse.rdf4j.http.server.repository.transaction.Transaction transaction)
transaction - Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.