|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DefaultPooledObjectInfoMBean
The interface that defines the information about pooled objects that will be exposed via JMX. NOTE: This interface exists only to define those attributes and methods that will be made available via JMX. It must not be implemented by clients as it is subject to change between major, minor and patch version releases of commons pool. Clients that implement this interface may not, therefore, be able to upgrade to a new minor or patch release without requiring code changes.
Method Summary | |
---|---|
long |
getBorrowedCount()
Get the number of times this object has been borrowed. |
long |
getCreateTime()
Obtain the time (using the same basis as System.currentTimeMillis() ) that pooled object was created. |
String |
getCreateTimeFormatted()
Obtain the time that pooled object was created. |
long |
getLastBorrowTime()
Obtain the time (using the same basis as System.currentTimeMillis() ) the polled object was last borrowed. |
String |
getLastBorrowTimeFormatted()
Obtain the time that pooled object was last borrowed. |
String |
getLastBorrowTrace()
Obtain the stack trace recorded when the pooled object was last borrowed. |
long |
getLastReturnTime()
Obtain the time (using the same basis as System.currentTimeMillis() )the wrapped object was last returned. |
String |
getLastReturnTimeFormatted()
Obtain the time that pooled object was last returned. |
String |
getPooledObjectToString()
Provides a String form of the wrapper for debug purposes. |
String |
getPooledObjectType()
Obtain the name of the class of the pooled object. |
Method Detail |
---|
long getCreateTime()
System.currentTimeMillis()
) that pooled object was created.
String getCreateTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
long getLastBorrowTime()
System.currentTimeMillis()
) the polled object was last borrowed.
String getLastBorrowTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
String getLastBorrowTrace()
long getLastReturnTime()
System.currentTimeMillis()
)the wrapped object was last returned.
String getLastReturnTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
String getPooledObjectType()
Class.getName()
String getPooledObjectToString()
Object.toString()
long getBorrowedCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |