Exemplo n.º 1
0
 @Override
 public int work() throws ExportClientException {
   super.work();
   for (ExportConnection ec : m_exportConnections.values()) {
     System.out.printf("Export Conn Offset: %d\n", ec.getLastAckOffset());
   }
   return 1;
 }
Exemplo n.º 2
0
 public TrivialExportClient() throws ExportClientException {
   super.addServerInfo(new InetSocketAddress("localhost", VoltDB.DEFAULT_PORT));
   super.addCredentials(null, null);
   super.connect();
 }