|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PooledObject
Represents an object that can be stored in the pool.
| Method Summary | |
|---|---|
void |
deallocate()
Deallocate this object. |
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. |
| 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||