public class LocalSessionPool extends Object
| Constructor and Description |
|---|
LocalSessionPool(GlobalSession globalSession) |
| Modifier and Type | Method and Description |
|---|---|
OperationContext |
acquireSession()
Acquires a session and returns the next unique operation context
within that session.
|
GlobalSession |
getGlobalSession() |
long |
openSessionCount() |
void |
releaseSession(OperationContext operationContext)
Releases a previously acquired session using the operation context
as a key.
|
public LocalSessionPool(GlobalSession globalSession)
public GlobalSession getGlobalSession()
public OperationContext acquireSession()
public void releaseSession(OperationContext operationContext)
public long openSessionCount()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.