Pool.PoolObjectHelper<T>
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
FixedSizedObjectPool(int size,
Pool.PoolObjectHelper<T> helper) |
FixedSizedObjectPool(int size,
Pool.PoolObjectHelper<T> helper,
boolean doTraceLog) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
offer(T t) |
int |
size() |
T |
take() |
boolean |
tryOffer(T t) |
public FixedSizedObjectPool(int size, Pool.PoolObjectHelper<T> helper)
public FixedSizedObjectPool(int size, Pool.PoolObjectHelper<T> helper, boolean doTraceLog)
public boolean tryOffer(T t)
Copyright © 2023 The Apache Software Foundation. All rights reserved.