Class OhcPolicy

    • Constructor Detail

      • OhcPolicy

        public OhcPolicy​(com.github.benmanes.caffeine.cache.simulator.policy.product.OhcPolicy.OhcSettings settings,
                         org.caffinitas.ohc.Eviction policy)
    • 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