| Modifier and Type | Class and Description |
|---|---|
static interface |
LinkedQueuePool.CheckStrategy |
static interface |
LinkedQueuePool.Monitor<R> |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CHECK_INTERVAL |
| Constructor and Description |
|---|
LinkedQueuePool(int minSize,
org.neo4j.function.Factory<R> factory) |
LinkedQueuePool(int minSize,
org.neo4j.function.Factory<R> factory,
LinkedQueuePool.CheckStrategy strategy,
LinkedQueuePool.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
R |
acquire() |
void |
disposeAll()
Dispose of all pooled objects.
|
void |
release(R toRelease) |
public static final int DEFAULT_CHECK_INTERVAL
public LinkedQueuePool(int minSize,
org.neo4j.function.Factory<R> factory)
public LinkedQueuePool(int minSize,
org.neo4j.function.Factory<R> factory,
LinkedQueuePool.CheckStrategy strategy,
LinkedQueuePool.Monitor monitor)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.