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 using Supplier for ExpiryPolicy
    A ValueSupplier represents 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 Detail

      • value

        V value()
        Deprecated.
        Computes the value behind this instance.
        Returns:
        the value