类 com.alibaba.otter.shared.communication.core.model.Event
的使用

使用 Event 的软件包
com.alibaba.otter.shared.communication.core   
com.alibaba.otter.shared.communication.core.impl   
com.alibaba.otter.shared.communication.core.impl.connection   
com.alibaba.otter.shared.communication.core.impl.dubbo   
com.alibaba.otter.shared.communication.core.impl.rmi   
com.alibaba.otter.shared.communication.core.model.heart   
com.alibaba.otter.shared.communication.model.arbitrate   
com.alibaba.otter.shared.communication.model.canal   
com.alibaba.otter.shared.communication.model.config   
com.alibaba.otter.shared.communication.model.statistics   
 

com.alibaba.otter.shared.communication.core 中 Event 的使用
 

参数类型为 Event 的 com.alibaba.otter.shared.communication.core 中的方法
 Object CommunicationEndpoint.acceptEvent(Event event)
          接受一个消息
 Object CommunicationClient.call(String[] addrs, Event event)
          指定对应的地址列表,进行event调用.
 void CommunicationClient.call(String[] serveraddrs, Event event, Callback callback)
          指定对应的地址列表,进行event调用,并注册对应的callback接口.
 Object CommunicationClient.call(String addr, Event event)
          指定对应的地址,进行event调用.
 void CommunicationClient.call(String addr, Event event, Callback callback)
          指定对应的地址,进行event调用,并注册对应的callback接口.
 

com.alibaba.otter.shared.communication.core.impl 中 Event 的使用
 

参数类型为 Event 的 com.alibaba.otter.shared.communication.core.impl 中的方法
 Object AbstractCommunicationEndpoint.acceptEvent(Event event)
          处理指定的事件
 Object DefaultCommunicationClientImpl.call(String[] addrs, Event event)
           
 void DefaultCommunicationClientImpl.call(String[] addrs, Event event, Callback callback)
           
 Object DefaultCommunicationClientImpl.call(String addr, Event event)
           
 void DefaultCommunicationClientImpl.call(String addr, Event event, Callback callback)
           
 

com.alibaba.otter.shared.communication.core.impl.connection 中 Event 的使用
 

参数类型为 Event 的 com.alibaba.otter.shared.communication.core.impl.connection 中的方法
 Object CommunicationConnectionPoolable.call(Event event)
           
 Object CommunicationConnection.call(Event event)
           
 

com.alibaba.otter.shared.communication.core.impl.dubbo 中 Event 的使用
 

参数类型为 Event 的 com.alibaba.otter.shared.communication.core.impl.dubbo 中的方法
 Object DubboCommunicationConnection.call(Event event)
           
 

com.alibaba.otter.shared.communication.core.impl.rmi 中 Event 的使用
 

参数类型为 Event 的 com.alibaba.otter.shared.communication.core.impl.rmi 中的方法
 Object RmiCommunicationConnection.call(Event event)
           
 

com.alibaba.otter.shared.communication.core.model.heart 中 Event 的使用
 

com.alibaba.otter.shared.communication.core.model.heart 中 Event 的子类
 class HeartEvent
          心跳检查事件
 

com.alibaba.otter.shared.communication.model.arbitrate 中 Event 的使用
 

com.alibaba.otter.shared.communication.model.arbitrate 中 Event 的子类
 class NodeAlarmEvent
           
 class StageSingleEvent
          基于rpc实现仲裁器调度的通知信号对象
 class StopChannelEvent
           
 class StopNodeEvent
          node关闭的信号通知
 

com.alibaba.otter.shared.communication.model.canal 中 Event 的使用
 

com.alibaba.otter.shared.communication.model.canal 中 Event 的子类
 class FindCanalEvent
          配置查询的事件
 class FindFilterEvent
          查询对应的过滤条件
 

com.alibaba.otter.shared.communication.model.config 中 Event 的使用
 

com.alibaba.otter.shared.communication.model.config 中 Event 的子类
 class FindChannelEvent
          配置查询的事件
 class FindMediaEvent
           
 class FindNodeEvent
           
 class FindTaskEvent
          配置查询的事件
 class NotifyChannelEvent
          config变更通知的事件
 class NotifyMediaEvent
           
 

com.alibaba.otter.shared.communication.model.statistics 中 Event 的使用
 

com.alibaba.otter.shared.communication.model.statistics 中 Event 的子类
 class DelayCountEvent
          delay queue事件
 class TableStatEvent
          table stat事件
 class ThroughputStatEvent
          吞吐量事件
 



Copyright © 2011-2014 alibaba. All Rights Reserved.