Package net.i2p.router.tasks
Class OOMListener
java.lang.Object
net.i2p.router.tasks.OOMListener
- All Implemented Interfaces:
I2PThread.OOMEventListener
public class OOMListener extends Object implements I2PThread.OOMEventListener
Kaboom
- Since:
- 0.8.12 moved from Router.java
-
Constructor Summary
Constructors Constructor Description OOMListener(RouterContext ctx)
-
Method Summary
Modifier and Type Method Description static String
getWrapperConfigPath(RouterContext ctx)
Best guess of wrapper.config path.void
outOfMemory(OutOfMemoryError oom)
-
Constructor Details
-
Method Details
-
outOfMemory
- Specified by:
outOfMemory
in interfaceI2PThread.OOMEventListener
-
getWrapperConfigPath
Best guess of wrapper.config path. Can't find any System property or wrapper property that gives you the actual config file path, have to guess. Does not necessarily exist.- Since:
- 0.9.35 consolidated from above and BloomFilterIVValidator
-