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

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.monitor.core.MsgSender

public class MsgSender
extends Object

作者:
无花

构造方法摘要
MsgSender(String serverUrl, String topicString, MonitorConfig monitorConfig)
           
 
方法摘要
 void dispose()
           
 String getHost()
           
 int getPort()
           
 String getServerUrl()
           
 StatsResult getStats(String item, long timeout)
           
 String getTopic()
           
 void publish()
           
 SendResultWrapper sendMessage(long timeout)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MsgSender

public MsgSender(String serverUrl,
                 String topicString,
                 MonitorConfig monitorConfig)
          throws MetaClientException
抛出:
MetaClientException
方法详细信息

getTopic

public String getTopic()

publish

public void publish()

dispose

public void dispose()

sendMessage

public SendResultWrapper sendMessage(long timeout)

getStats

public StatsResult getStats(String item,
                            long timeout)

getServerUrl

public String getServerUrl()

getHost

public String getHost()

getPort

public int getPort()


Copyright © 2010–2013. All rights reserved.