Interface Cache<KEY,​VALUE>

Type Parameters:
KEY - key
VALUE - value
All Known Implementing Classes:
SimpleCache

public interface Cache<KEY,​VALUE>
Cache
  • Method Details

    • put

      void put​(KEY key, VALUE value)
    • get

      VALUE get​(KEY key)
    • getSilent

      VALUE getSilent​(KEY key)
    • remove

      void remove​(KEY key)
    • size

      int size()