| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final PooledObject |
| Access | Constructor and Description |
|---|---|
| public | DefaultPooledObjectInfo(final PooledObject<?>
The pooled object that this instance will represent pooledObject)Constructs a new instance for the given pooled object. |
| PATTERN | back to summary |
|---|---|
| private static final String PATTERN | |
| pooledObject | back to summary |
|---|---|
| private final PooledObject<?> pooledObject | |
| DefaultPooledObjectInfo | back to summary |
|---|---|
| public DefaultPooledObjectInfo(final PooledObject<?> pooledObject) Constructs a new instance for the given pooled object.
| |
| getBorrowedCount | back to summary |
|---|---|
| public long getBorrowedCount() Implements org. Doc from org. Gets the number of times this object has been borrowed.
| |
| getCreateTime | back to summary |
|---|---|
| public long getCreateTime() Implements org. Doc from org. Gets the time (using the same basis as
| |
| getCreateTimeFormatted | back to summary |
|---|---|
| public String getCreateTimeFormatted() Implements org. Doc from org. Gets the time that pooled object was created. | |
| getLastBorrowTime | back to summary |
|---|---|
| public long getLastBorrowTime() Implements org. Doc from org. Gets the time (using the same basis as
| |
| getLastBorrowTimeFormatted | back to summary |
|---|---|
| public String getLastBorrowTimeFormatted() Implements org. Doc from org. Gets the time that pooled object was last borrowed. | |
| getLastBorrowTrace | back to summary |
|---|---|
| public String getLastBorrowTrace() Implements org. Doc from org. Gets the stack trace recorded when the pooled object was last borrowed. | |
| getLastReturnTime | back to summary |
|---|---|
| public long getLastReturnTime() Implements org. Doc from org. Gets the time (using the same basis as
| |
| getLastReturnTimeFormatted | back to summary |
|---|---|
| public String getLastReturnTimeFormatted() Implements org. Doc from org. Gets the time that pooled object was last returned. | |
| getPooledObjectToString | back to summary |
|---|---|
| public String getPooledObjectToString() Implements org. Doc from org. 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() Implements org. Doc from org. Gets the name of the class of the pooled object. | |
| getTimeMillisFormatted | back to summary |
|---|---|
| private String getTimeMillisFormatted(final long millis) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |