Package com.evolveum.midpoint.util
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransientCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(K name)
void
invalidate()
void
put(K name, V value)
void
remove(K name)
-