void add(LogRecord record) { if (!addRecord(record)) throw new IllegalStateException(); }
void add(LogRecord record) { if (!addRecord(record)) throw new IllegalStateException(); }
void add(Type type, SSTable table) { if (!addRecord(makeRecord(type, table))) throw new IllegalStateException(); }
public void addAll(Type type, Iterable<SSTableReader> toBulkAdd) { for (LogRecord record : makeRecords(type, toBulkAdd)) if (!addRecord(record)) throw new IllegalStateException(); }
public void addAll(Type type, Iterable<SSTableReader> toBulkAdd) { for (LogRecord record : makeRecords(type, toBulkAdd).values()) if (!addRecord(record)) throw new IllegalStateException(); }
public void addAll(Type type, Iterable<SSTableReader> toBulkAdd) { for (LogRecord record : makeRecords(type, toBulkAdd).values()) if (!addRecord(record)) throw new IllegalStateException(); }
void abort() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeAbort(System.currentTimeMillis())); }
void abort() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeAbort(System.currentTimeMillis())); }
void abort() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeAbort(System.currentTimeMillis())); }
void commit() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeCommit(System.currentTimeMillis())); }
void commit() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeCommit(System.currentTimeMillis())); }
void commit() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeCommit(System.currentTimeMillis())); }
void commit() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeCommit(System.currentTimeMillis())); }
void abort() { assert !completed() : "Already completed!"; addRecord(LogRecord.makeAbort(System.currentTimeMillis())); }