com.alibaba.rocketmq.store.ha
类 HAConnection

java.lang.Object
  继承者 com.alibaba.rocketmq.store.ha.HAConnection

public class HAConnection
extends Object

HA服务,Master用来向Slave Push数据,并接收Slave应答

从以下版本开始:
2013-7-21
作者:
shijia.wxr

构造方法摘要
HAConnection(HAService haService, SocketChannel socketChannel)
           
 
方法摘要
 void close()
           
 SocketChannel getSocketChannel()
           
 void shutdown()
           
 void start()
          向Slave传输数据协议
从Slave接收数据协议
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HAConnection

public HAConnection(HAService haService,
                    SocketChannel socketChannel)
             throws IOException
抛出:
IOException
方法详细信息

start

public void start()
向Slave传输数据协议
从Slave接收数据协议


shutdown

public void shutdown()

close

public void close()

getSocketChannel

public SocketChannel getSocketChannel()


Copyright © 2012–2015. All rights reserved.