public interface Poolable
| Modifier and Type | Method and Description |
|---|---|
ActivityPrint |
activityPrint() |
void |
destroy()
Method destroy.
|
static <T> PoolableWrapper<T> |
wrap(T srcObject)
Wrap the the source object with
Long.MAX_VALUE liveTime and Long.MAX_VALUE maxIdleTime. |
static <T> PoolableWrapper<T> |
wrap(T srcObject,
long liveTime,
long maxIdleTime)
Wrap the the source object with specified
liveTime and maxIdleTime. |
ActivityPrint activityPrint()
void destroy()
static <T> PoolableWrapper<T> wrap(T srcObject)
Long.MAX_VALUE liveTime and Long.MAX_VALUE maxIdleTime.T - srcObject - static <T> PoolableWrapper<T> wrap(T srcObject, long liveTime, long maxIdleTime)
liveTime and maxIdleTime.T - srcObject - liveTime - maxIdleTime - Copyright © 2021. All rights reserved.