public abstract class AbstractMemoryHealthCheckImpl extends AbstractHealthCheck
Constructor and Description |
---|
AbstractMemoryHealthCheckImpl() |
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
checkHealth() |
protected HealthCheckResult |
fail(java.lang.String msg) |
long |
getMemoryFreeMin() |
protected MemoryPoolAdapter |
getMemoryPool() |
protected abstract MemoryPoolAdapter.MemUsage |
getMemoryUsage() |
protected HealthCheckResult |
ok(java.lang.String msg) |
void |
setFreeWarningImpl(double pFree) |
void |
setMemoryFreeMinImpl(long min) |
findDelegate, getDelegate, getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, start, stop, toString
public void setMemoryFreeMinImpl(long min)
public long getMemoryFreeMin()
public void setFreeWarningImpl(double pFree)
protected MemoryPoolAdapter getMemoryPool()
public HealthCheckResult checkHealth()
protected HealthCheckResult fail(java.lang.String msg)
protected HealthCheckResult ok(java.lang.String msg)
protected abstract MemoryPoolAdapter.MemUsage getMemoryUsage() throws javax.management.JMException
javax.management.JMException