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>

class ShutdownMap<K,V> extends AbstractMap<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