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

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.monitor.core.AbstractProber
所有已实现的接口:
Prober
直接已知子类:
MsgProber, OffsetCompareProber, OffsetProber, RealTimeStatsProber, SystemProber

public abstract class AbstractProber
extends Object
implements Prober

从以下版本开始:
2011-5-27 下午03:21:25
作者:
无花

字段摘要
protected  CoreManager coreManager
           
protected  org.apache.commons.logging.Log logger
           
 
构造方法摘要
AbstractProber(CoreManager coreManager)
           
 
方法摘要
protected static void cancelFutures(List<ScheduledFuture<?>> futures)
           
protected abstract  void doProb()
           
protected abstract  void doStopProb()
           
 org.apache.commons.logging.Log getLogger()
           
 MonitorConfig getMonitorConfig()
           
 ScheduledExecutorService getProberExecutor()
           
 MsgReceiver[] getReveicers()
           
 MsgSender[] getSenders()
           
 void prob()
           
 void stopProb()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.taobao.metamorphosis.tools.monitor.core.Prober 继承的方法
init
 

字段详细信息

logger

protected final org.apache.commons.logging.Log logger

coreManager

protected final CoreManager coreManager
构造方法详细信息

AbstractProber

public AbstractProber(CoreManager coreManager)
方法详细信息

prob

public void prob()
          throws InterruptedException
指定者:
接口 Prober 中的 prob
抛出:
InterruptedException

stopProb

public void stopProb()
指定者:
接口 Prober 中的 stopProb

cancelFutures

protected static void cancelFutures(List<ScheduledFuture<?>> futures)

doStopProb

protected abstract void doStopProb()

doProb

protected abstract void doProb()
                        throws InterruptedException
抛出:
InterruptedException

getSenders

public MsgSender[] getSenders()

getReveicers

public MsgReceiver[] getReveicers()

getMonitorConfig

public MonitorConfig getMonitorConfig()

getProberExecutor

public ScheduledExecutorService getProberExecutor()

getLogger

public org.apache.commons.logging.Log getLogger()


Copyright © 2010–2013. All rights reserved.