|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface PooledObject
Represents an object that can be stored in the pool.
Field Summary | |
---|---|
static long |
INSTANT_IN_USE
Deprecated. |
Method Summary | |
---|---|
void |
deallocate()
Deprecated. Deallocate this object. |
long |
getInstantInPool()
Deprecated. |
org.firebirdsql.pool.PooledConnectionQueue |
getOwningQueue()
Deprecated. |
boolean |
isInPool()
Deprecated. Check whether this object is currently in pool or had been released to the application. |
boolean |
isValid()
Deprecated. Check if this pooled object is still valid. |
void |
setInPool(boolean inPool)
Deprecated. Set the "inPool" flag to this object. |
Field Detail |
---|
static final long INSTANT_IN_USE
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |