PoolBuilder<T> |
PoolBuilder.clone() |
Returns a shallow copy of this PoolBuilder object.
|
static <T extends Poolable> PoolBuilder<T> |
Pool.from(Allocator<T> allocator) |
|
static <T extends Poolable> PoolBuilder<T> |
Pool.fromInline(Allocator<T> allocator) |
|
static <T extends Poolable> PoolBuilder<T> |
Pool.fromThreaded(Allocator<T> allocator) |
|
<X extends Poolable> PoolBuilder<X> |
PoolBuilder.setAllocator(Allocator<X> allocator) |
|
PoolBuilder<T> |
PoolBuilder.setBackgroundExpirationCheckDelay(int delay) |
Set the approximate delay, in milliseconds, between background maintenance tasks.
|
PoolBuilder<T> |
PoolBuilder.setBackgroundExpirationEnabled(boolean enabled) |
Enable or disable background object expiration checking.
|
PoolBuilder<T> |
PoolBuilder.setExpiration(Expiration<? super T> expiration) |
Set the Expiration to use for the pools we want to
configure.
|
PoolBuilder<T> |
PoolBuilder.setMetricsRecorder(MetricsRecorder metricsRecorder) |
|
PoolBuilder<T> |
PoolBuilder.setPreciseLeakDetectionEnabled(boolean enabled) |
Enable or disable precise object leak detection.
|
PoolBuilder<T> |
PoolBuilder.setSize(int size) |
Set the size of the pool we are building.
|
PoolBuilder<T> |
PoolBuilder.setThreadFactory(java.util.concurrent.ThreadFactory factory) |
Set the ThreadFactory that the pools will use to create its background
threads with.
|