Class GuavaCache<K,V>

java.lang.Object
org.aoju.bus.pager.cache.GuavaCache<K,V>
All Implemented Interfaces:
Cache<K,V>

public class GuavaCache<K,V> extends Object implements Cache<K,V>
Simple Guava Cache
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

  • Method Details

    • get

      public V get(K key)
      Specified by:
      get in interface Cache<K,V>
    • put

      public void put(K key, V value)
      Specified by:
      put in interface Cache<K,V>