Interface Cache.Weigher<K,V>

Enclosing class:
Cache<K,V>

public static interface Cache.Weigher<K,V>
The weight of an entry, for Cache.Builder.maximumWeight.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    weigh(K key, V value)
    Zero or more.
  • Method Details

    • weigh

      long weigh(K key, V value)
      Zero or more.