|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommitter
An interface implemented by a persistence capable data structure such as a btree so that it can participate in the commit protocol for the store.
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)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
long handleCommit(long commitTime)
commitTime - The timestamp assigned to the commit.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||