Class SimpleKeyWeigher

java.lang.Object
org.wildfly.clustering.infinispan.client.near.SimpleKeyWeigher
All Implemented Interfaces:
com.github.benmanes.caffeine.cache.Weigher<Object,Object>

public class SimpleKeyWeigher extends Object implements com.github.benmanes.caffeine.cache.Weigher<Object,Object>
Weigher that only considers keys passing a given predicate.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • weigh

      public int weigh(Object key, Object value)
      Specified by:
      weigh in interface com.github.benmanes.caffeine.cache.Weigher<Object,Object>