
public class AsyncArrayDispatcher extends AsyncDispatcher
| 构造器和说明 |
|---|
AsyncArrayDispatcher(Properties properties) |
public AsyncArrayDispatcher(Properties properties) throws com.alibaba.rocketmq.client.exception.MQClientException
com.alibaba.rocketmq.client.exception.MQClientExceptionpublic void start(AsyncAppender appender, String workName)
AsyncDispatcherstart 在类中 AsyncDispatcherappender - 实际的传输模块workName - 传输模块工作线程名称public boolean append(Object ctx)
AsyncDispatcherappend 在类中 AsyncDispatcherctx - 数据信息public void flush()
throws IOException
AsyncDispatcherflush 在类中 AsyncDispatcherIOExceptionpublic void registerShutDownHook()
registerShutDownHook 在类中 AsyncDispatcherCopyright © 2012–2017. All rights reserved.