net.neoremind.fountain.eventposition
接口 SyncPoint

所有已知子接口:
GroupIdSyncPoint
所有已知实现类:
BaiduGroupIdSyncPoint, BinlogAndOffsetSyncPoint, GtIdSyncPoint

public interface SyncPoint

描述mysql的数据同步点,用来代替EventPosition.

mysql的同步点可能是baidu groupid, binlogfilename and position,或者mysql gt id for mysql 5.6.9+

作者:
hexiufeng

方法摘要
 void parse(byte[] buf)
          转换数组为同步点对象
 byte[] toBytes()
          convert 同步点对象为byte数组
 

方法详细信息

toBytes

byte[] toBytes()
convert 同步点对象为byte数组

返回:
byte array

parse

void parse(byte[] buf)
转换数组为同步点对象

参数:
buf - 同步点数组


Copyright © 2016 neoremind. All rights reserved.