Class HillClimberWindowTinyLfuPolicy

  • All Implemented Interfaces:
    Policy, Policy.KeyOnlyPolicy

    public final class HillClimberWindowTinyLfuPolicy
    extends Object
    implements Policy.KeyOnlyPolicy
    The Window TinyLfu algorithm where the size of the admission window is adjusted using a hill climbing algorithm.
    • Method Detail

      • policies

        public static Set<Policy> policies​(Config config)
        Returns all variations of this policy based on the configuration parameters.
      • stats

        public PolicyStats stats()
        Description copied from interface: Policy
        Returns the cache efficiency statistics.
        Specified by:
        stats in interface Policy
      • finished

        public void finished()
        Description copied from interface: Policy
        Indicates that the recording has completed.
        Specified by:
        finished in interface Policy