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 TypeMethodDescriptionexecute()
Executes this call.int
Returns the weight of the specified value.
-
Method Details
-
weigh
Returns the weight of the specified value. The weight is used for size-based eviction. -
execute
CompletableFuture<T> execute()Executes this call.
-