Interface Cache<K,V>

All Known Implementing Classes:
GuavaCache, SimpleCache

public interface Cache<K,V>
Simple cache interface
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    get(K key)
     
    void
    put(K key, V value)
     
  • Method Details

    • get

      V get(K key)
    • put

      void put(K key, V value)