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.
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: The number of times this object has been borrowed.Gets the number of times this object has been borrowed. |
| public long | Returns: The creation time for the pooled object.Gets the time (using the same basis as |
| public String | Returns: The creation time for the pooled object formatted asyyyy-MM-dd HH:mm:ss Z.Gets the time that pooled object was created. |
| public long | Returns: The time the pooled object was last borrowed.Gets the time (using the same basis as |
| public String | Returns: The last borrowed time for the pooled object formatted asyyyy-MM-dd HH:mm:ss Z.Gets the time that pooled object was last borrowed. |
| public String | Returns: The stack trace showing which code last borrowed the pooled object.Gets the stack trace recorded when the pooled object was last borrowed. |
| public long | Returns: The time the object was last returned.Gets the time (using the same basis as |
| public String | Returns: The last returned time for the pooled object formatted asyyyy-MM-dd HH:mm:ss Z.Gets the time that pooled object was last returned. |
| public String | Returns: A string representation of the pooled object.Gets a String form of the wrapper for debug purposes. |
| public String | Returns: The pooled object's class name.Gets the name of the class of the pooled object. |
| getBorrowedCount | back to summary |
|---|---|
| public long getBorrowedCount() Gets the number of times this object has been borrowed.
| |
| getCreateTime | back to summary |
|---|---|
| public long getCreateTime() Gets the time (using the same basis as
| |
| getCreateTimeFormatted | back to summary |
|---|---|
| public String getCreateTimeFormatted() Gets the time that pooled object was created.
| |
| getLastBorrowTime | back to summary |
|---|---|
| public long getLastBorrowTime() Gets the time (using the same basis as
| |
| getLastBorrowTimeFormatted | back to summary |
|---|---|
| public String getLastBorrowTimeFormatted() Gets the time that pooled object was last borrowed.
| |
| getLastBorrowTrace | back to summary |
|---|---|
| public String getLastBorrowTrace() Gets the stack trace recorded when the pooled object was last borrowed.
| |
| getLastReturnTime | back to summary |
|---|---|
| public long getLastReturnTime() Gets the time (using the same basis as
| |
| getLastReturnTimeFormatted | back to summary |
|---|---|
| public String getLastReturnTimeFormatted() Gets the time that pooled object was last returned.
| |
| getPooledObjectToString | back to summary |
|---|---|
| public String getPooledObjectToString() Gets a String form of the wrapper for debug purposes. The format is not fixed and may change at any time.
| |
| getPooledObjectType | back to summary |
|---|---|
| public String getPooledObjectType() Gets the name of the class of the pooled object.
| |