Class SingleValueStore<T>

java.lang.Object
de.xima.fc.cache.SingleValueStore<T>

public class SingleValueStore<T> extends Object
A simple wrapper around a Store to store a single value. The value is stored with a fixed key.
Since:
8.4.1
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • SingleValueStore

      public SingleValueStore(org.pac4j.core.store.Store<String,T> store)
  • Method Details

    • get

      public T get()
    • set

      public void set(T value)
    • remove

      public void remove()