public class EventTransactionalGraph<T extends TransactionalGraph> extends EventGraph<T> implements TransactionalGraph, WrapperGraph<T>
TransactionalGraph.ConclusionbaseGraph, graphChangedListeners, trigger| Constructor and Description |
|---|
EventTransactionalGraph(T baseGraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
A commit only fires the event queue on successful operation.
|
void |
rollback()
A rollback only resets the event queue on successful operation.
|
void |
stopTransaction(TransactionalGraph.Conclusion conclusion)
Stop the current transaction.
|
addEdge, addListener, addVertex, getBaseGraph, getEdge, getEdges, getEdges, getFeatures, getListenerIterator, getTrigger, getVertex, getVertices, getVertices, onEdgeAdded, onEdgeRemoved, onVertexAdded, onVertexRemoved, query, removeAllListeners, removeEdge, removeListener, removeVertex, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdowngetBaseGraphpublic EventTransactionalGraph(T baseGraph)
public void stopTransaction(TransactionalGraph.Conclusion conclusion)
TransactionalGraphstopTransaction in interface TransactionalGraphconclusion - whether or not the current transaction was successfulpublic void commit()
commit in interface TransactionalGraphpublic void rollback()
rollback in interface TransactionalGraphCopyright © 2010-2014. All Rights Reserved.