com.taobao.metamorphosis.tools.monitor.core
类 MsgSender
java.lang.Object
com.taobao.metamorphosis.tools.monitor.core.MsgSender
public class MsgSender
- extends Object
- 作者:
- 无花
从类 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.