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, wait
close
public long getSequence()
getSequence
in interface IHALogWriter
public String toString()
toString
in interface IHALogWriter
toString
in class Object
public void write(IHAWriteMessage msg, ByteBuffer data) throws IOException
IHALogWriter
write
in interface IHALogWriter
IOException
public void close(IRootBlockView rbv) throws IOException
IHALogWriter
close
in interface IHALogWriter
rbv
- is the rootblock associated with the commit pointIOException
public long getCommitCounter()
IHALogWriter
getCommitCounter
in interface IHALogWriter
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.