Class AbstractThreadedTransaction

java.lang.Object
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction
org.apache.tinkerpop.gremlin.structure.util.AbstractThreadedTransaction
All Implemented Interfaces:
AutoCloseable, Transaction

public abstract class AbstractThreadedTransaction extends AbstractTransaction
A base implementation of Transaction that provides core functionality for transaction listeners using a shared set of transaction listeners. Therefore, when AbstractTransaction.commit() is called from any thread, all listeners get notified. This implementation would be useful for graph implementations that support threaded transactions, specifically in the Graph instance returned from Transaction.createThreadedTx().
Author:
Stephen Mallette (http://stephen.genoprime.com)
See Also: