public class RootBlockCommitter extends Object implements ICommitter
Constructor and Description |
---|
RootBlockCommitter(AbstractJournal journal) |
Modifier and Type | Method and Description |
---|---|
long |
handleCommit(long commitTime)
Write the current root block to the Journal and return its address
to be stored in the CommitRecord.
|
void |
invalidate(Throwable t)
Mark an
ICommitter as invalid. |
public RootBlockCommitter(AbstractJournal journal)
public long handleCommit(long commitTime)
handleCommit
in interface ICommitter
commitTime
- The timestamp assigned to the commit.public void invalidate(Throwable t)
ICommitter
ICommitter
as invalid. This will prevent it from allowing
any writes through to the backing store.invalidate
in interface ICommitter
t
- A cause (required).https://jira.blazegraph.com/browse/BLZG-1953
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.