Class CaffeineCache<K,​V>

  • All Implemented Interfaces:
    Cache<K,​V>

    public class CaffeineCache<K,​V>
    extends Object
    implements Cache<K,​V>
    refresh > expire ensure hot key would refreshed before expired. cache key would not be refreshed when no request comes.

    because maximumSize can't be combined with maximumWeight, CaffeineCache would not support maximumWeight parameter.