de.deepamehta.storage.neo4j
Class Neo4jTransactionAdapter

Show UML class diagram
java.lang.Object
  extended by 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
           
 
Constructor Summary
Neo4jTransactionAdapter(org.neo4j.graphdb.GraphDatabaseService neo4j)
           
 
Method Summary
 void failure()
           
 void finish()
           
 void success()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tx

private org.neo4j.graphdb.Transaction tx
Constructor Detail

Neo4jTransactionAdapter

Neo4jTransactionAdapter(org.neo4j.graphdb.GraphDatabaseService neo4j)
Method Detail

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.