DefaultPooledObjectInfo

Implementation of object that is used to provide information on pooled objects via JMX.

Constructors

this
this(IPooledObject pooledObject)

Create a new instance for the given pooled object.

Members

Functions

getBorrowedCount
long getBorrowedCount()
Undocumented in source. Be warned that the author may not have intended to support it.
getCreateTime
long getCreateTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getCreateTimeFormatted
string getCreateTimeFormatted()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastBorrowTime
long getLastBorrowTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastBorrowTimeFormatted
string getLastBorrowTimeFormatted()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastBorrowTrace
string getLastBorrowTrace()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastReturnTime
long getLastReturnTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastReturnTimeFormatted
string getLastReturnTimeFormatted()
Undocumented in source. Be warned that the author may not have intended to support it.
getPooledObjectToString
string getPooledObjectToString()
Undocumented in source. Be warned that the author may not have intended to support it.
getPooledObjectType
string getPooledObjectType()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Inherited Members

From DefaultPooledObjectInfoMBean

getCreateTime
long getCreateTime()

Obtain the time (using the same basis as {@link DateTimeHelper.currentTimeMillis()}) that pooled object was created.

getCreateTimeFormatted
string getCreateTimeFormatted()

Obtain the time that pooled object was created.

getLastBorrowTime
long getLastBorrowTime()

Obtain the time (using the same basis as {@link DateTimeHelper.currentTimeMillis()}) the polled object was last borrowed.

getLastBorrowTimeFormatted
string getLastBorrowTimeFormatted()

Obtain the time that pooled object was last borrowed.

getLastBorrowTrace
string getLastBorrowTrace()

Obtain the stack trace recorded when the pooled object was last borrowed.

getLastReturnTime
long getLastReturnTime()

Obtain the time (using the same basis as {@link DateTimeHelper.currentTimeMillis()})the wrapped object was last returned.

getLastReturnTimeFormatted
string getLastReturnTimeFormatted()

Obtain the time that pooled object was last returned.

getPooledObjectType
string getPooledObjectType()

Obtain the name of the class of the pooled object.

getPooledObjectToString
string getPooledObjectToString()

Provides a string form of the wrapper for debug purposes. The format is not fixed and may change at any time.

getBorrowedCount
long getBorrowedCount()

Get the number of times this object has been borrowed. @return The number of times this object has been borrowed.

Meta