- getObject
Obtains the underlying object that is wrapped by this instance of PooledObject.
- getCreateTime
Obtains the time (using the same basis as System#currentTimeMillis()) that this
object was created.
- invalidate
Sets the state to PooledObjectState#INVALID
- markAbandoned
Marks the pooled object as abandoned.
- deallocate
Deallocates the object and sets it PooledObjectState#IDLEif it is currently
PooledObjectState#ALLOCA
- endEvictionTest
Called to inform the object that the eviction test has ended.
- getActiveTimeMillis
Obtains the time in milliseconds that this object last spent in the active state
(it may still be ac
- getIdleTimeMillis
Obtains the time in milliseconds that this object last spend in the idle state
(it may still be idle
- getLastBorrowTime
Obtains the time the wrapped object was last borrowed.
- getLastReturnTime
Obtains the time the wrapped object was last returned.
- getLastUsedTime
Returns an estimate of the last time this object was used. If the class of the
pooled object impleme
- getState
Returns the state of this object.