public interface ICommitter
This interface is invoked by AbstractJournal.commit() for each registered
ICommitter. The address returned by #handleCommit() will be
saved in the ICommitRecord under the index identified by the
ICommitter when it was registered.
IAtomicStore.setCommitter(int, ICommitter)| Modifier and Type | Method and Description |
|---|---|
long |
handleCommit(long commitTime)
Flush dirty state to the store in preparation for an atomic commit and
return the address from which the persistence capable data structure may
be reloaded.
|
void |
invalidate(Throwable t)
Mark an
ICommitter as invalid. |
long handleCommit(long commitTime)
commitTime - The timestamp assigned to the commit.void invalidate(Throwable t)
ICommitter as invalid. This will prevent it from allowing
any writes through to the backing store.t - A cause (required).https://jira.blazegraph.com/browse/BLZG-1953Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.