com.caucho.env.health
Class AbstractMemoryHealthCheckImpl
java.lang.Object
com.caucho.health.check.AbstractHealthCheck
com.caucho.env.health.AbstractMemoryHealthCheckImpl
- All Implemented Interfaces:
- HealthCheck
- Direct Known Subclasses:
- MemoryPermGenHealthCheckImpl, MemoryTenuredHealthCheckImpl
public abstract class AbstractMemoryHealthCheckImpl
- extends AbstractHealthCheck
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractMemoryHealthCheckImpl
public AbstractMemoryHealthCheckImpl()
setMemoryFreeMinImpl
public void setMemoryFreeMinImpl(long min)
getMemoryFreeMin
public long getMemoryFreeMin()
setFreeWarningImpl
public void setFreeWarningImpl(double pFree)
getMemoryPool
protected MemoryPoolAdapter getMemoryPool()
checkHealth
public HealthCheckResult checkHealth()
getMemoryUsage
protected abstract MemoryPoolAdapter.MemUsage getMemoryUsage()
throws javax.management.JMException
- Throws:
javax.management.JMException