org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth
Class AlohaEarthMapCache.EFHook
java.lang.Object
org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth.AlohaEarthMapCache.EFHook
- All Implemented Interfaces:
- java.lang.Runnable, MemoryTools.RecurrentEmergencyFreeHandle
- Enclosing class:
- AlohaEarthMapCache
private static final class AlohaEarthMapCache.EFHook
- extends java.lang.Object
- implements MemoryTools.RecurrentEmergencyFreeHandle
Emergency-free hook called in case of critical memory shortage.
This calls clear() on each of the Hashtable values that is was constructed with.
This retains no references to the entire cache, just the clear()able bits.
This re-registers itself when it has been run.
|
Field Summary |
private java.util.Hashtable<?,?>[] |
caches
|
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
caches
private final java.util.Hashtable<?,?>[] caches
AlohaEarthMapCache.EFHook
AlohaEarthMapCache.EFHook(java.util.Hashtable<?,?>[] caches)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
Copyright (c) 1996-2009, Damon Hart-Davis. All rights reserved.