public IterateForward ( bool useCache ) : IEnumerable |
||
useCache | bool | |
return | IEnumerable |
//bool SYNCHRO_READ public IEnumerable<LTrieRow> IterateForward(ITrieRootNode readRootNode) { this.CheckTableIsOperable(); if (readRootNode == null) //SYNCHRO_READ { //Flashing changes on the disk before commit. In case if the same thread uses the same root node this.SaveGenerationMap(); Forward fw = new Forward(rn); return fw.IterateForward(false); } else { Forward fw = new Forward((LTrieRootNode)readRootNode); return fw.IterateForward(true); } }
//Iterate public IEnumerable<LTrieRow> IterateForward() { this.CheckTableIsOperable(); LTrieRootNode readRootNode = new LTrieRootNode(this); Forward fw = new Forward(readRootNode); return fw.IterateForward(true); }