Class Recyclable<T>
java.lang.Object
org.jpos.util.Recyclable<T>
- Type Parameters:
T- the type of results supplied by this supplier
- All Implemented Interfaces:
Supplier<T>
Caches a supplier's result up to approximately
maxCycles.
After approximately maxCycles calls to its get() operation,
Recyclable fetches a new result from its underlying Supplier.
- Since:
- 2.1.3
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Recyclable
-
-
Method Details
-
get
-