/** * append the request to the transaction logs * @param si the request to be appended * returns true iff something appended, otw false * @throws IOException */ public boolean append(Request si) throws IOException { return txnLog.append(si.hdr, si.txn); }
/** * commit the transaction of logs * @throws IOException */ public void commit() throws IOException { txnLog.commit(); }
/** * roll the transaction logs * @throws IOException */ public void rollLog() throws IOException { txnLog.rollLog(); }
/** * close the transaction log files * @throws IOException */ public void close() throws IOException { txnLog.close(); snapLog.close(); }
public void setServerStats(ServerStats serverStats) { txnLog.setServerStats(serverStats); }
/** * * @return elapsed sync time of transaction log commit in milliseconds */ public long getTxnLogElapsedSyncTime() { return txnLog.getTxnLogSyncElapsedTime(); }
TxnIterator itr = txnLog.read(dt.lastProcessedZxid+1); long highestZxid = dt.lastProcessedZxid; TxnHeader hdr;
/** * close the transaction log files * @throws IOException */ public void close() throws IOException { txnLog.close(); snapLog.close(); }
public void setServerStats(ServerStats serverStats) { txnLog.setServerStats(serverStats); }
/** * append the request to the transaction logs * @param si the request to be appended * returns true iff something appended, otw false * @throws IOException */ public boolean append(Request si) throws IOException { return txnLog.append(si.getHdr(), si.getTxn()); }
/** * roll the transaction logs * @throws IOException */ public void rollLog() throws IOException { txnLog.rollLog(); }
/** * close the transaction log files * @throws IOException */ public void close() throws IOException { txnLog.close(); snapLog.close(); } }
/** * commit the transaction of logs * @throws IOException */ public void commit() throws IOException { txnLog.commit(); }
/** * append the request to the transaction logs * @param si the request to be appended * returns true iff something appended, otw false * @throws IOException */ public boolean append(Request si) throws IOException { return txnLog.append(si.hdr, si.txn); }
/** * roll the transaction logs * @throws IOException */ public void rollLog() throws IOException { txnLog.rollLog(); }
/** * commit the transaction of logs * @throws IOException */ public void commit() throws IOException { txnLog.commit(); }