Examples of GtidEvent


Examples of com.google.code.or.binlog.impl.event.GtidEvent

    is.readBytes(1); // commit flag, always true
    byte[] sourceId = is.readBytes(16);
    long transactionId = ByteBuffer.wrap(is.readBytes(8)).order(ByteOrder.LITTLE_ENDIAN).getLong();
    is.skip(is.available()); // position at next event

    GtidEvent event = new GtidEvent(sourceId, transactionId);
    event.setHeader(header);

    context.getEventListener().onEvents(event);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.