Methods Summary |
---|
public void | destroyObject(java.lang.Object obj)Destroys an Object. Note that applications should not ignore the
reference to the object that they got from getObject(). An object
that is obtained through getObject() must always be returned back to
the pool using either returnObject(obj) or through destroyObject(obj).
This method tells that the object should be destroyed and cannot be
reused.
|
public java.lang.Object | getObject(boolean canWait, java.lang.Object param)
|
public java.lang.Object | getObject(long maxWaitTime, java.lang.Object param)
|
public java.lang.Object | getObject(java.lang.Object param)Get an object from the pool within the specified time.
|
public void | returnObject(java.lang.Object obj)Return an object back to the pool. An object that is obtained through
getObject() must always be returned back to the pool using either
returnObject(obj) or through destroyObject(obj).
|