public interface PooledObject
| Modifier and Type | Field and Description |
|---|---|
static long |
INSTANT_IN_USE |
| Modifier and Type | Method and Description |
|---|---|
void |
deallocate()
Deallocate this object.
|
long |
getInstantInPool() |
org.firebirdsql.pool.PooledConnectionQueue |
getOwningQueue() |
boolean |
isInPool()
Check whether this object is currently in pool or had been released
to the application.
|
boolean |
isValid()
Check if this pooled object is still valid.
|
void |
setInPool(boolean inPool)
Set the "inPool" flag to this object.
|
static final long INSTANT_IN_USE
void deallocate()
boolean isValid()
true when the object is valid.boolean isInPool()
true if the object is currently in pool.void setInPool(boolean inPool)
inPool - true if object is in pool, otherwise
false.long getInstantInPool()
INSTANT_IN_USE when object is currently in use.org.firebirdsql.pool.PooledConnectionQueue getOwningQueue()
Copyright © 2001-2014 Jaybird (Firebird JDBC/JCA) team. All rights reserved.