public interface ContextPool
| Modifier and Type | Method and Description |
|---|---|
ConnectionContext |
acquire()
Acquire a connection context from the pool.
|
void |
clearPool()
Clear all contexts from the pool.
|
boolean |
release(ConnectionContext context)
Release a connection context back to the pool.
|
int |
size()
Get the current size of the pool.
|
ConnectionContext acquire()
boolean release(ConnectionContext context)
context - the context to releaseint size()
void clearPool()