|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.contentmanager.stubs.calls.iterators.BaseRSIterator<T>
org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.AsyncRSIterator<T>
public class AsyncRSIterator<T>
A RemoteIterator over a ResultSet with an embedded ResultParser and the ability to deliver parsing
failures asynchronously.
| Constructor Summary | |
|---|---|
AsyncRSIterator(java.net.URI l,
ResultParser<T> p,
int timeout)
Creates an instance with a result set locator, a result parser, and a reading timeout. |
|
AsyncRSIterator(java.net.URI l,
ResultParser<T> p,
int timeout,
FaultListener fl)
Creates an instance with a result set locator, a result parser, a reading timeout, and a fault listener. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Indicates whether there are more elements to iterate over. |
T |
next()
Returns the next element. |
void |
remove()
|
| Methods inherited from class org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.BaseRSIterator |
|---|
close, getRSIterator, locator |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncRSIterator(java.net.URI l,
ResultParser<T> p,
int timeout)
throws java.lang.Exception
l - the locator.p - the parser.timeout - the timeout, in seconds.
java.lang.Exception - if the result set could not be accessed from the locator.
public AsyncRSIterator(java.net.URI l,
ResultParser<T> p,
int timeout,
FaultListener fl)
throws java.lang.Exception
l - the locator.p - the parser.timeout - the timeout, in seconds.fl - the fault listener.
java.lang.Exception - if the result set could not be accessed from the locator.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<T>hasNext in interface RemoteIterator<T>true if there are more elements, false otherwise.public T next()
next in interface java.util.Iterator<T>next in interface RemoteIterator<T>public void remove()
remove in interface java.util.Iterator<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||