Package org.tarantool.snapshot

Examples of org.tarantool.snapshot.ReplicationClient.nextEntry()


public class TestReplication {
  // @Test
  public void testReplication() throws IOException {
    ReplicationClient client = new ReplicationClient(SocketChannel.open(new InetSocketAddress("localhost", 33316)), 1L);
    for (int i = 0; i < 10; i++) {
      XLogEntry r = client.nextEntry();
    }
    client.close();
  }

}
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.