Package | Description |
---|---|
org.spf4j.recyclable | |
org.spf4j.recyclable.impl |
Modifier and Type | Method and Description |
---|---|
static <T,R,E extends Exception> |
Template.doOnSupplied(HandlerNano<T,R,E> handler,
long timeout,
TimeUnit tu,
RecyclingSupplier<T> pool,
RetryPolicy<R,Callable<? extends R>> retryPolicy,
Class<E> exClass) |
static <T> LeaseSupplier<T> |
RecyclerFactory.toLeaseSupplier(RecyclingSupplier<T> rs) |
Constructor and Description |
---|
Template(RecyclingSupplier<T> pool,
RetryPolicy<R,Callable<? extends R>> retryPolicy,
Class<E> exClass) |
Modifier and Type | Class and Description |
---|---|
class |
SharingObjectPool<T>
a object sharing pool.
|
Modifier and Type | Method and Description |
---|---|
RecyclingSupplier<T> |
RecyclingSupplierBuilder.build() |
Constructor and Description |
---|
LeaseImpl(RecyclingSupplier<T> rs) |
Copyright © 2018 SPF4J. All rights reserved.