com.taobao.metamorphosis.client.consumer
类 SubscribeInfoManager
java.lang.Object
com.taobao.metamorphosis.client.consumer.SubscribeInfoManager
public class SubscribeInfoManager
- extends Object
订阅信息管理器
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscribeInfoManager
public SubscribeInfoManager()
subscribe
public void subscribe(String topic,
String group,
int maxSize,
MessageListener messageListener,
ConsumerMessageFilter consumerMessageFilter)
throws MetaClientException
- 抛出:
MetaClientException
getMessageListener
public MessageListener getMessageListener(String topic,
String group)
throws MetaClientException
- 抛出:
MetaClientException
removeGroup
public void removeGroup(String group)
Copyright © 2010–2013. All rights reserved.