public class ThreadToStatementContextBridge extends LifecycleAdapter
StatementOperations when it performs operations.| Modifier and Type | Class and Description |
|---|---|
static class |
ThreadToStatementContextBridge.ReadOnly |
| Constructor and Description |
|---|
ThreadToStatementContextBridge(KernelAPI kernelAPI,
org.neo4j.kernel.impl.transaction.AbstractTransactionManager txManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertInTransaction() |
StatementOperationParts |
getCtxForReading() |
StatementOperationParts |
getCtxForWriting() |
void |
shutdown() |
StatementState |
statementForReading() |
StatementState |
statementForWriting() |
init, start, stoppublic ThreadToStatementContextBridge(KernelAPI kernelAPI, org.neo4j.kernel.impl.transaction.AbstractTransactionManager txManager)
public StatementOperationParts getCtxForReading()
public StatementOperationParts getCtxForWriting()
public StatementState statementForReading()
public StatementState statementForWriting()
public void shutdown()
throws Throwable
shutdown in interface Lifecycleshutdown in class LifecycleAdapterThrowablepublic void assertInTransaction()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.