Class CountEvictionPolicy<T extends Serializable>

  • Type Parameters:
    T - the type of event tracked by this policy.
    All Implemented Interfaces:
    EvictionPolicy<T,​Long>

    public class CountEvictionPolicy<T extends Serializable>
    extends Object
    implements EvictionPolicy<T,​Long>
    An eviction policy that tracks event counts and can evict based on a threshold count.