Uses of Class
org.apache.tinkerpop.gremlin.structure.Transaction.Status
-
-
Uses of Transaction.Status in org.apache.tinkerpop.gremlin.driver.remote
Method parameters in org.apache.tinkerpop.gremlin.driver.remote with type arguments of type Transaction.Status Modifier and Type Method Description void
DriverRemoteTransaction. addTransactionListener(Consumer<Transaction.Status> listener)
There is no support for remote transaction listeners.void
DriverRemoteTransaction. removeTransactionListener(Consumer<Transaction.Status> listener)
There is no support for remote transaction listeners. -
Uses of Transaction.Status in org.apache.tinkerpop.gremlin.server.handler
Methods in org.apache.tinkerpop.gremlin.server.handler with parameters of type Transaction.Status Modifier and Type Method Description protected void
AbstractSession. closeTransaction(SessionTask sessionTask, Transaction.Status status)
Closes a transaction with commit or rollback.protected void
AbstractSession. closeTransaction(Transaction.Status status)
Close the transaction without aSessionTask
which suppliesnull
to that argument forAbstractSession.closeTransaction(SessionTask, Transaction.Status)
.protected void
AbstractSession. closeTransactionSafely(SessionTask sessionTask, Transaction.Status status)
Tries to close the transaction but will catch exceptions and log them.protected void
AbstractSession. closeTransactionSafely(Transaction.Status status)
Tries to close the transaction but will catch exceptions and log them. -
Uses of Transaction.Status in org.apache.tinkerpop.gremlin.structure
Methods in org.apache.tinkerpop.gremlin.structure that return Transaction.Status Modifier and Type Method Description static Transaction.Status
Transaction.Status. valueOf(String name)
Returns the enum constant of this type with the specified name.static Transaction.Status[]
Transaction.Status. values()
Returns an array containing the constants of this enum type, in the order they are declared.Method parameters in org.apache.tinkerpop.gremlin.structure with type arguments of type Transaction.Status Modifier and Type Method Description void
Transaction. addTransactionListener(Consumer<Transaction.Status> listener)
Adds a listener that is called back with a status when a commit or rollback is successful.void
Transaction. removeTransactionListener(Consumer<Transaction.Status> listener)
Removes a transaction listener. -
Uses of Transaction.Status in org.apache.tinkerpop.gremlin.structure.util
Fields in org.apache.tinkerpop.gremlin.structure.util with type parameters of type Transaction.Status Modifier and Type Field Description protected List<Consumer<Transaction.Status>>
AbstractThreadedTransaction. transactionListeners
protected ThreadLocal<List<Consumer<Transaction.Status>>>
AbstractThreadLocalTransaction. transactionListeners
Method parameters in org.apache.tinkerpop.gremlin.structure.util with type arguments of type Transaction.Status Modifier and Type Method Description void
AbstractThreadedTransaction. addTransactionListener(Consumer<Transaction.Status> listener)
void
AbstractThreadLocalTransaction. addTransactionListener(Consumer<Transaction.Status> listener)
void
AbstractThreadedTransaction. removeTransactionListener(Consumer<Transaction.Status> listener)
void
AbstractThreadLocalTransaction. removeTransactionListener(Consumer<Transaction.Status> listener)
-