Package org.apfloat
Class ShutdownMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.apfloat.ShutdownMap<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>
class ShutdownMap<K,V> extends java.util.AbstractMap<K,V>
Map that always throwsApfloatRuntimeException
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
-
-
Constructor Summary
Constructors Constructor Description ShutdownMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.util.Map.Entry<K,V>>
entrySet()
V
put(K key, V value)
-
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
-
-