public class TMSInboundChannelManager extends TMSChannelManager implements InboundChannelManager
NAMESPACE_NAME, TOPIC_NAMEchannel| Constructor and Description |
|---|
TMSInboundChannelManager(Channel channel,
co.cask.cdap.api.messaging.MessageFetcher fetcher,
co.cask.cdap.api.messaging.MessagingAdmin admin,
String currentNamespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(String messageId) |
void |
initialize() |
co.cask.cdap.api.dataset.lib.CloseableIterator<ChannelEvent> |
poll(String offset,
int maxFetchSize) |
void |
stop() |
configure, getNamespace, getTopicgetChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, getChannelpublic co.cask.cdap.api.dataset.lib.CloseableIterator<ChannelEvent> poll(String offset, int maxFetchSize) throws co.cask.cdap.api.messaging.TopicNotFoundException, IOException
poll in interface InboundChannelManagerco.cask.cdap.api.messaging.TopicNotFoundExceptionIOExceptionpublic void acknowledge(String messageId)
acknowledge in interface InboundChannelManagerpublic void initialize()
throws ChannelInitializationException
initialize in interface ChannelManagerChannelInitializationExceptionpublic void stop()
stop in interface ChannelManagerCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.