Class GuavaPolicy

  • All Implemented Interfaces:
    Policy

    public final class GuavaPolicy
    extends Object
    implements Policy
    Guava cache implementation.
    • Method Detail

      • record

        public void record​(AccessEvent event)
        Description copied from interface: Policy
        Records that the entry was accessed.
        Specified by:
        record in interface Policy
      • stats

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