|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uhn.cache.util.MutableIterator ca.uhn.cache.util.MutableMergeableIterator
Default implementation of IMutableMergeableIterator.
Constructor Summary | |
MutableMergeableIterator()
New instance with default Executor. |
|
MutableMergeableIterator(EDU.oswego.cs.dl.util.concurrent.Executor theExecutor)
|
Method Summary | |
void |
close()
Closes merged IMutableIterators. |
void |
freeze()
Waits until all in-progress merges are complete, then calls super.freeze(). |
void |
merge(java.util.Iterator theIterator)
Incorporates the contents of the given iterator into this one. |
Methods inherited from class ca.uhn.cache.util.MutableIterator |
add, declareException, hasNext, next, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ca.uhn.cache.util.IMutableIterator |
add, declareException |
Methods inherited from interface java.util.Iterator |
hasNext, next, remove |
Constructor Detail |
public MutableMergeableIterator(EDU.oswego.cs.dl.util.concurrent.Executor theExecutor)
theExecutor
- to manage threadingpublic MutableMergeableIterator()
Method Detail |
public void merge(java.util.Iterator theIterator)
IMutableMergeableIterator
merge
in interface IMutableMergeableIterator
theIterator
- another Iterator to combine with this oneIMutableMergeableIterator.merge(java.util.Iterator)
public void freeze()
freeze
in interface IMutableIterator
freeze
in class MutableIterator
ca.uhn.cache.IMutableIterator#freeze()
public void close()
close
in interface IMutableIterator
close
in class MutableIterator
ca.uhn.cache.IMutableIterator#close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |