Package io.activej.common.recycle
Interface Recycler<T>
- Type Parameters:
T- a type of object to be recycled
public interface Recycler<T>
A generic interface that describes how an item should be recycled
-
Method Summary
-
Method Details
-
recycle
Recycles an itemFrees some resource that this item possesses, e.g. returns an item to the pool, etc.
- Parameters:
item- an item to be recycled
-