public interface HGTransactionContext
A transaction context maintains a stack of nested transactions. The transaction
on top of the stack is the currently active transaction. A
will create and push a new transaction on the stack and an
will remove the top of the transaction stack and commit or abort.
Transaction contexts are useful when implementing a server for HyperGraph. A context can
be bound to a client and then get dynamically attached/detach to worker threads using the
void beginTransaction(HGTransactionConfig config)
void endTransaction(boolean success) throws HGTransactionException
Copyright © 2015. All rights reserved.