com.taobao.metamorphosis.tools.monitor.system
类 SystemProber
java.lang.Object
com.taobao.metamorphosis.tools.monitor.core.AbstractProber
com.taobao.metamorphosis.tools.monitor.system.SystemProber
- 所有已实现的接口:
- Prober
- 直接已知子类:
- CPULoadProber, DiskUsedProber, JvmMemoryProber, MetaConnProber, NetWorkUsedProber, PreparedTransactionProber, ZKConnProber
public abstract class SystemProber
- extends AbstractProber
对于cpu,内存,磁盘等系统监控的共同点抽象
- 从以下版本开始:
- 2011-9-28 下午2:39:43
- 作者:
- 无花
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processResultHook
protected ProcessResultHook processResultHook
SystemProber
public SystemProber(CoreManager coreManager)
init
public void init()
throws InitException
- 抛出:
InitException
doProb
protected void doProb()
throws InterruptedException
- 指定者:
- 类
AbstractProber
中的 doProb
- 抛出:
InterruptedException
processResult0
protected void processResult0(MonitorResult monitorResult)
throws Exception
- 抛出:
Exception
doStopProb
protected void doStopProb()
- 指定者:
- 类
AbstractProber
中的 doStopProb
getMonitorResult
protected abstract MonitorResult getMonitorResult(MsgSender sender)
throws Exception
- 获取一次监控结果
- 抛出:
Exception
processResult
protected abstract void processResult(MonitorResult monitorResult)
- 一次监控结果的处理
setProcessResultHook
public void setProcessResultHook(ProcessResultHook processResultHook)
alert
protected void alert(String msg)
Copyright © 2010–2013. All rights reserved.