接口 net.neoremind.fountain.support.EventCallback
的使用

使用 EventCallback 的软件包
net.neoremind.fountain.support   
 

net.neoremind.fountain.support 中 EventCallback 的使用
 

实现 EventCallback 的 net.neoremind.fountain.support 中的类
 class FormatDescriptionEventCallback
          FormatDescriptionEvent事件回调器
 class GtIdEventCallback
          GtidEvent事件回调器
 class QueryLogEventCallback
          QueryLogEvent事件回调器
 class RotateEventCallback
          RotateEvent事件回调器
 class RowsLogEventCallback<T extends RowsLogEvent>
          RowsLogEvent事件回调器

主要针对百度MySQL Ares 5.1版本,在BinlogEventHeader中存在一个groupid,就是gtid,设置到TrxContext.currGtId中

 class XidLogEventCallback
          XidLogEvent事件回调器
 

参数类型为 EventCallback 的 net.neoremind.fountain.support 中的方法
 void EventListener.addCallback(Class<? extends BaseLogEvent> clazz, EventCallback cb)
          为某种binlog event添加回调
 



Copyright © 2016 neoremind. All rights reserved.