com.taobao.metamorphosis.metaslave
类 SubscribeHandler
java.lang.Object
com.taobao.metamorphosis.metaslave.SubscribeHandler
- 所有已实现的接口:
- SubscribeHandlerMBean
public class SubscribeHandler
- extends Object
- implements SubscribeHandlerMBean
负责从master接收消息并存储到slaver
- 从以下版本开始:
- 2011-6-24 下午06:03:29
- 作者:
- 无花,dennis
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscribeHandler
public SubscribeHandler(MetaMorphosisBroker broker)
throws MetaClientException
- 抛出:
MetaClientException
tryReloadConfig
public void tryReloadConfig(long masterChecksum)
throws IOException
- 抛出:
IOException
start
public void start()
closeConnectIfNeed
public void closeConnectIfNeed()
stop
public void stop()
shutdown
public void shutdown()
getStatus
public String getStatus()
- 从接口
SubscribeHandlerMBean
复制的描述
- Returns a string described current status.
- 指定者:
- 接口
SubscribeHandlerMBean
中的 getStatus
- 返回:
restart
public void restart()
- 从接口
SubscribeHandlerMBean
复制的描述
- 重启slave数据同步
- 指定者:
- 接口
SubscribeHandlerMBean
中的 restart
Copyright © 2010–2013. All rights reserved.