|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.kernel.impl.transaction.xaframework.XaConnectionHelpImpl
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection
public class NeoStoreXaConnection
XaConnection implementation for the Neo4j kernel native store. Contains
getter methods for the different stores (node,relationship,property and
relationship type).
A NeoStoreXaConnection is obtained from
NeoStoreXaDataSource and then Neo4j persistence layer can perform the
operations requested via the store implementations.
| Method Summary | |
|---|---|
void |
destroy()
Destroys this connection and depending on XAResource
implementation the work done on the resource will be rolled back, saved
or committed (may also depend on transactional state). |
PropertyStore |
getPropertyStore()
Made public for testing, dont use. |
RelationshipTypeStore |
getRelationshipTypeStore()
|
WriteTransaction |
getWriteTransaction()
|
XAResource |
getXaResource()
Returns the XAResource associated with this connection. |
| Methods inherited from class org.neo4j.kernel.impl.transaction.xaframework.XaConnectionHelpImpl |
|---|
clearAllTransactions, getTransaction, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public PropertyStore getPropertyStore()
public RelationshipTypeStore getRelationshipTypeStore()
public XAResource getXaResource()
XaConnectionHelpImpl
getXaResource in interface XaConnectiongetXaResource in class XaConnectionHelpImplpublic WriteTransaction getWriteTransaction()
public void destroy()
XaConnectionXAResource
implementation the work done on the resource will be rolled back, saved
or committed (may also depend on transactional state).
This method is only valid to call once and there after it is illegal to
invoke getXaResource or any other method that creates
transactions or performs work using the XAResource.
destroy in interface XaConnectiondestroy in class XaConnectionHelpImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||