com.taobao.metamorphosis.tools.monitor.core
类 ProbTask

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.monitor.core.ProbTask
所有已实现的接口:
Runnable

public abstract class ProbTask
extends Object
implements Runnable

探测线程专用task,确保不会抛出异常,以免schedule停止后续探测

从以下版本开始:
2011-5-30 下午01:56:49
作者:
无花

字段摘要
protected  org.apache.commons.logging.Log log
           
 
构造方法摘要
ProbTask()
           
 
方法摘要
protected abstract  void doExecute()
           
protected abstract  void handleException(Throwable e)
           
 void run()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

log

protected org.apache.commons.logging.Log log
构造方法详细信息

ProbTask

public ProbTask()
方法详细信息

run

public void run()
指定者:
接口 Runnable 中的 run

doExecute

protected abstract void doExecute()
                           throws Exception
抛出:
Exception

handleException

protected abstract void handleException(Throwable e)


Copyright © 2010–2013. All rights reserved.