de.deepamehta.storage.neo4j
Class Neo4jTransactionAdapter
java.lang.Object
de.deepamehta.storage.neo4j.Neo4jTransactionAdapter
- All Implemented Interfaces:
- DeepaMehtaTransaction
class Neo4jTransactionAdapter
- extends Object
- implements DeepaMehtaTransaction
Adapts a Neo4j transaction to a DeepaMehta transaction.
Field Summary |
private org.neo4j.graphdb.Transaction |
tx
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tx
private org.neo4j.graphdb.Transaction tx
Neo4jTransactionAdapter
Neo4jTransactionAdapter(org.neo4j.graphdb.GraphDatabaseService neo4j)
success
public void success()
- Specified by:
success
in interface DeepaMehtaTransaction
failure
public void failure()
- Specified by:
failure
in interface DeepaMehtaTransaction
finish
public void finish()
- Specified by:
finish
in interface DeepaMehtaTransaction
Copyright © 2014. All Rights Reserved.