public class HALogFile.HALogWriter extends Object implements IHALogWriter
| Constructor and Description |
|---|
HALogFile.HALogWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(IRootBlockView rbv)
Writes the closing rootblock to the log file and closes the
file to further writes.
|
long |
getCommitCounter()
The commit counter for the committed state BEFORE the write
set contained in the file is applied.
|
long |
getSequence()
Return the sequence number that is expected for the next write.
|
String |
toString() |
void |
write(IHAWriteMessage msg,
ByteBuffer data)
Writes the message to the file and the associated data if the
backing store is not a WORM.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclosepublic long getSequence()
getSequence in interface IHALogWriterpublic String toString()
toString in interface IHALogWritertoString in class Objectpublic void write(IHAWriteMessage msg, ByteBuffer data) throws IOException
IHALogWriterwrite in interface IHALogWriterIOExceptionpublic void close(IRootBlockView rbv) throws IOException
IHALogWriterclose in interface IHALogWriterrbv - is the rootblock associated with the commit pointIOExceptionpublic long getCommitCounter()
IHALogWritergetCommitCounter in interface IHALogWriterCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.