public class HttpCheckpointIterator extends java.lang.Object implements CheckpointInfoIterator
Modifier | Constructor and Description |
---|---|
protected |
HttpCheckpointIterator(java.io.InputStream stream,
boolean stated) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator.
|
protected void |
finalize() |
boolean |
hasNext() |
CheckpointInfo |
next() |
CheckpointInfo[] |
nextBatch(int count)
Gets a set of CheckpointInfo.
|
void |
remove() |
protected HttpCheckpointIterator(java.io.InputStream stream, boolean stated) throws java.lang.Exception
java.lang.Exception
public void close() throws UnknownErrorException
CheckpointInfoIterator
close
in interface CheckpointInfoIterator
UnknownErrorException
- upon error.public CheckpointInfo[] nextBatch(int count) throws UnknownErrorException
CheckpointInfoIterator
nextBatch
in interface CheckpointInfoIterator
count
- the number of checkpoints to retrieveUnknownErrorException
- upon error.public boolean hasNext()
hasNext
in interface java.util.Iterator<CheckpointInfo>
public CheckpointInfo next()
next
in interface java.util.Iterator<CheckpointInfo>
public void remove()
remove
in interface java.util.Iterator<CheckpointInfo>
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright © 2021 Dassault Systèmes, All Rights Reserved.