public static interface CommitTable.Writer
| Modifier and Type | Method and Description |
|---|---|
void |
addCommittedTransaction(long startTimestamp,
long commitTimestamp) |
boolean |
atomicAddCommittedTransaction(long startTimestamp,
long commitTimestamp)
Add commited transaction while checking if invalidated by other client
|
void |
clearWriteBuffer()
Allows to clean the write's current buffer.
|
void |
flush()
Flushes all the buffered events to the underlying datastore
|
void |
updateLowWatermark(long lowWatermark) |
void addCommittedTransaction(long startTimestamp,
long commitTimestamp)
throws IOException
IOExceptionvoid updateLowWatermark(long lowWatermark)
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionvoid clearWriteBuffer()
boolean atomicAddCommittedTransaction(long startTimestamp,
long commitTimestamp)
throws IOException
IOExceptionCopyright © 2011–2020 Apache Software Foundation. All rights reserved.