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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getWrapperConfigPath(RouterContext ctx)
Best guess of wrapper.config path.void
outOfMemory(OutOfMemoryError oom)
-
-
-
Constructor Detail
-
OOMListener
public OOMListener(RouterContext ctx)
-
-
Method Detail
-
outOfMemory
public void outOfMemory(OutOfMemoryError oom)
- Specified by:
outOfMemory
in interfaceI2PThread.OOMEventListener
-
getWrapperConfigPath
public static String getWrapperConfigPath(RouterContext ctx)
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
-
-