T - Type of elementspublic class ValveIterator<T> extends Object implements Iterator<T>
Valve into a blocking Iterator.
If the original Valve ends with Throwable then this iterator simply ends and original cause can be get
using getThrowable() method.
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getThrowable()
If original
Valve ends with error then this method returns cause of such error. |
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.