public interface DefaultPooledObjectInfoMBean
Modifier and Type | Method and Description |
---|---|
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. |
java.lang.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. |
java.lang.String |
getLastBorrowTimeFormatted()
Obtain the time that pooled object was last borrowed.
|
java.lang.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. |
java.lang.String |
getLastReturnTimeFormatted()
Obtain the time that pooled object was last returned.
|
java.lang.String |
getPooledObjectToString()
Provides a String form of the wrapper for debug purposes.
|
java.lang.String |
getPooledObjectType()
Obtain the name of the class of the pooled object.
|
long getCreateTime()
System.currentTimeMillis()
) that pooled object was created.java.lang.String getCreateTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
long getLastBorrowTime()
System.currentTimeMillis()
) the polled object was last borrowed.java.lang.String getLastBorrowTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
java.lang.String getLastBorrowTrace()
long getLastReturnTime()
System.currentTimeMillis()
)the wrapped object was last returned.java.lang.String getLastReturnTimeFormatted()
yyyy-MM-dd HH:mm:ss Z
java.lang.String getPooledObjectType()
Class.getName()
java.lang.String getPooledObjectToString()
Object.toString()
long getBorrowedCount()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.