|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDirtyListener
An interface that may be used to learn when a BTree becomes
dirty.
| Method Summary | |
|---|---|
void |
dirtyEvent(ICheckpointProtocol btree)
The btree has become dirty. |
| Method Detail |
|---|
void dirtyEvent(ICheckpointProtocol btree)
Note: This event is always generated for a new btree. Once a btree is created it remains dirty until the root (and any dirty children) have been flushed to the backing store. A btree that is read from the backing store is always clean and consists of "immutable" nodes and/or leaves. A btree remains clean until there is a write on some node or leaf. That write triggers copy-on-write, which percolates from the point of the write up to the root node and results in the reference to the root node being replaced. When that happens a dirty event is generated.
btree - The btree.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||