public class HttpSyncedEntriesIterator extends java.lang.Object implements SyncedEntriesIterator
Modifier | Constructor and Description |
---|---|
protected |
HttpSyncedEntriesIterator(java.lang.String id,
HttpPushAPI connector) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator.
|
boolean |
hasNext() |
SyncedEntry |
next() |
SyncedEntry[] |
nextBatch(int count)
Gets next set of SyncedEntry.
|
protected SyncedEntry |
readNext() |
void |
remove() |
protected HttpSyncedEntriesIterator(java.lang.String id, HttpPushAPI connector)
public SyncedEntry next()
next
in interface java.util.Iterator<SyncedEntry>
protected SyncedEntry readNext()
public SyncedEntry[] nextBatch(int count) throws UnknownErrorException
SyncedEntriesIterator
nextBatch
in interface SyncedEntriesIterator
count
- Number of SyncedEntry to retrieve.UnknownErrorException
- upon errorpublic void close() throws UnknownErrorException
SyncedEntriesIterator
close
in interface SyncedEntriesIterator
UnknownErrorException
- upon errorpublic boolean hasNext()
hasNext
in interface java.util.Iterator<SyncedEntry>
public void remove()
remove
in interface java.util.Iterator<SyncedEntry>
Copyright © 2021 Dassault Systèmes, All Rights Reserved.