Modifier and Type | Class and Description |
---|---|
static class |
BasicPool.Builder<T> |
Modifier and Type | Method and Description |
---|---|
static <T> BasicPool.Builder<T> |
builder() |
void |
close() |
<R> R |
exec(com.google.common.base.Function<? super T,R> receiver) |
Lease<T> |
leaseObject() |
java.lang.String |
toString() |
public static <T> BasicPool.Builder<T> builder()
public java.lang.String toString()
toString
in class java.lang.Object
public Lease<T> leaseObject()
leaseObject
in interface Pool<T>
public <R> R exec(com.google.common.base.Function<? super T,R> receiver)