Interface CachingCallable<V>

  • Type Parameters:
    V - type of cached value
    All Superinterfaces:
    Callable<V>

    public interface CachingCallable<V>
    extends Callable<V>
    Utility interface that should cache the return value of Callable.call() and each next call of the method, it should return the cached value.
    • Method Detail

      • isValueCached

        boolean isValueCached()
        Returns true if the value has already been cached.