Package org.ehcache
Interface ValueSupplier<V>
-
- Type Parameters:
V- the value type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface ValueSupplier<V>Deprecated.Now usingSupplierforExpiryPolicyAValueSupplierrepresents an indirect way to access a value.This indicates that the value needs to be computed before it can be retrieved, such as deserialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Vvalue()Deprecated.Computes the value behind this instance.
-
-
-
Method Detail
-
value
V value()
Deprecated.Computes the value behind this instance.- Returns:
- the value
-
-