Ejemplo n.º 1
0
 public void useDefaultTransactionTimestamp() {
   _client.writeMsg(Msg.USE_DEFAULT_TRANSACTION_TIMESTAMP, true);
 }
Ejemplo n.º 2
0
 public long generateTransactionTimestamp(long forcedTimeStamp) {
   _client.writeMsg(
       Msg.GENERATE_TRANSACTION_TIMESTAMP.getWriterForLong(this, forcedTimeStamp), true);
   return _client.expectedBufferResponse(Msg.GENERATE_TRANSACTION_TIMESTAMP).readLong();
 }