private void createTransactionMeta() throws IOException { Put put = new Put(startIdBytes); put.add(DominoConst.TRANSACTION_META_FAMILY, DominoConst.TRANSACTION_STATUS, startId, DominoConst.TRX_ACTIVE_B); put.add(DominoConst.TRANSACTION_META_FAMILY, DominoConst.TRANSACTION_TS, startId, DominoConst.tsToBytes(System.currentTimeMillis())); metaTable.put(put); // metaTable.flushCommits(); }
private void touch() { Put put = new Put(startIdBytes); put.add(DominoConst.TRANSACTION_META_FAMILY, DominoConst.TRANSACTION_TS, startId, DominoConst.tsToBytes(System.currentTimeMillis())); try { metaTable.put(put); } catch (IOException ioe) { Log.warn("Error reporting liveness: {}", ioe.toString()); } }