public class InMemoryCommitTable.Writer extends Object implements org.apache.omid.committable.CommitTable.Writer
| Constructor and Description |
|---|
Writer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommittedTransaction(long startTimestamp,
long commitTimestamp) |
boolean |
atomicAddCommittedTransaction(long startTimestamp,
long commitTimestamp) |
void |
clearWriteBuffer() |
void |
flush() |
void |
updateLowWatermark(long lowWatermark) |
public void addCommittedTransaction(long startTimestamp,
long commitTimestamp)
addCommittedTransaction in interface org.apache.omid.committable.CommitTable.Writerpublic void updateLowWatermark(long lowWatermark)
throws IOException
updateLowWatermark in interface org.apache.omid.committable.CommitTable.WriterIOExceptionpublic void flush()
throws IOException
flush in interface org.apache.omid.committable.CommitTable.WriterIOExceptionpublic void clearWriteBuffer()
clearWriteBuffer in interface org.apache.omid.committable.CommitTable.Writerpublic boolean atomicAddCommittedTransaction(long startTimestamp,
long commitTimestamp)
throws IOException
atomicAddCommittedTransaction in interface org.apache.omid.committable.CommitTable.WriterIOExceptionCopyright © 2020. All rights reserved.