Interface CacheableCall<T>

All Known Implementing Classes:
AbstractCacheableCall

public interface CacheableCall<T>
A cacheable call which is used to retrieve a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes this call.
    int
    weigh(T value)
    Returns the weight of the specified value.
  • Method Details

    • weigh

      int weigh(T value)
      Returns the weight of the specified value. The weight is used for size-based eviction.
    • execute

      CompletableFuture<T> execute()
      Executes this call.