Class TransientCache<K,V>

java.lang.Object
com.evolveum.midpoint.util.TransientCache<K,V>
All Implemented Interfaces:
Serializable

@Experimental @ThreadSafe public final class TransientCache<K,V> extends Object implements Serializable
Cache that is transient but can be declared final in serializable objects. See https://stackoverflow.com/a/26785954/5810524 EXPERIMENTAL
See Also:
  • Constructor Details

    • TransientCache

      public TransientCache()
  • Method Details

    • invalidate

      public void invalidate()
    • get

      public V get(K name)
    • put

      public void put(K name, V value)
    • remove

      public void remove(K name)