Package com.yahoo.lang
Class CachedSupplier<T>
java.lang.Object
com.yahoo.lang.CachedSupplier<T>
- All Implemented Interfaces:
Supplier<T>
Supplier that caches the value for a given duration with ability to invalidate on demand.
Is thread safe.
- Author:
- freva
-
Constructor Summary
-
Method Summary