Package com.google.common.base
Class Suppliers.ExpiringMemoizingSupplier<T>
java.lang.Object
com.google.common.base.Suppliers.ExpiringMemoizingSupplier<T>
- All Implemented Interfaces:
Supplier<T>
,Serializable
,Supplier<T>
- Enclosing class:
Suppliers
static class Suppliers.ExpiringMemoizingSupplier<T>
extends Object
implements Supplier<T>, Serializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lock
-
delegate
-
durationNanos
final long durationNanos -
value
-
expirationNanos
transient volatile long expirationNanos -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ExpiringMemoizingSupplier
-
-
Method Details
-
get
Description copied from interface:Supplier
Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation. -
toString
-
readObject
- Throws:
IOException
ClassNotFoundException
-