Class TCachePolicy

    • Constructor Detail

      • TCachePolicy

        public TCachePolicy​(com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy.TCacheSettings settings,
                            com.github.benmanes.caffeine.cache.simulator.policy.product.TCachePolicy.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