コード例 #1
0
 public long generateTransactionTimestamp(long forcedTimeStamp) {
   _client.writeMsg(
       Msg.GENERATE_TRANSACTION_TIMESTAMP.getWriterForLong(this, forcedTimeStamp), true);
   return _client.expectedBufferResponse(Msg.GENERATE_TRANSACTION_TIMESTAMP).readLong();
 }
コード例 #2
0
 @Override
 public long versionForId(int id) {
   MsgD msg = Msg.VERSION_FOR_ID.getWriterForInt(systemTransaction(), id);
   _client.write(msg);
   return _client.expectedBufferResponse(Msg.VERSION_FOR_ID).readLong();
 }