Package org.apfloat
Class ShutdownMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apfloat.ShutdownMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
Map that always throws
ApfloatRuntimeException
on all operations.
Can be used to replace cache maps after JVM shutdown and clean-up
has been initiated to prevent other threads from performing any operations.- Since:
- 1.6.2
- Version:
- 1.6.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll