Constructor and Description |
---|
BasicPool.Builder() |
Modifier and Type | Method and Description |
---|---|
BasicPool<T> |
build() |
BasicPool.Builder<T> |
closer(com.google.common.base.Function<? super T,?> val) |
BasicPool.Builder<T> |
name(java.lang.String val) |
BasicPool.Builder<T> |
supplier(com.google.common.base.Supplier<? extends T> val) |
BasicPool.Builder<T> |
viabilityChecker(com.google.common.base.Predicate<? super T> val) |
public BasicPool.Builder<T> name(java.lang.String val)
public BasicPool.Builder<T> supplier(com.google.common.base.Supplier<? extends T> val)
public BasicPool.Builder<T> viabilityChecker(com.google.common.base.Predicate<? super T> val)
public BasicPool.Builder<T> closer(com.google.common.base.Function<? super T,?> val)