com.taobao.metamorphosis.client.consumer
类 RecoverStorageManager
java.lang.Object
com.taobao.metamorphosis.client.consumer.AbstractRecoverManager
com.taobao.metamorphosis.client.consumer.RecoverStorageManager
- 所有已实现的接口:
- RecoverManager, Shutdownable
public class RecoverStorageManager
- extends AbstractRecoverManager
Recover存储管理器
- 作者:
- boyan
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_RECOVER_STORE_PATH
public static final String META_RECOVER_STORE_PATH
RecoverStorageManager
public RecoverStorageManager(MetaClientConfig metaClientConfig,
SubscribeInfoManager subscribeInfoManager)
isStarted
public boolean isStarted()
- 从接口
RecoverManager
复制的描述
- 是否已经启动
- 返回:
start
public void start(MetaClientConfig metaClientConfig)
- 从接口
RecoverManager
复制的描述
- 启动recover
shutdown
public void shutdown()
append
public void append(String group,
Message message)
throws IOException
- 从接口
RecoverManager
复制的描述
- 存入一个消息
- 抛出:
IOException
getOrCreateStore
public Store getOrCreateStore(String topic,
String group)
Copyright © 2010–2013. All rights reserved.