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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ShutdownMap
public ShutdownMap()
-
-
Method Details
-
entrySet
-
put
-