Package | Description |
---|---|
org.spf4j.recyclable |
Modifier and Type | Method and Description |
---|---|
default T |
SmartRecyclingSupplier.get(ObjectBorower borower)
Borrow object from pool.
|
default T |
SmartRecyclingSupplier.get(ObjectBorower borower,
long timeout,
TimeUnit unit) |
void |
SmartRecyclingSupplier.recycle(T object,
ObjectBorower borower)
Return object to pool.
|
T |
SmartRecyclingSupplier.tryGet(ObjectBorower borower,
long deadlineNanos) |
default T |
SmartRecyclingSupplier.tryGet(ObjectBorower borower,
long timeout,
TimeUnit unit) |
Copyright © 2018 SPF4J. All rights reserved.