public class HTTPCheckpointInfoIterator extends java.lang.Object implements CheckpointInfoIterator
Modifier | Constructor and Description |
---|---|
protected |
HTTPCheckpointInfoIterator(HttpPushAPI sourcePapi) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator.
|
int |
getId() |
HttpPushAPI |
getPapi() |
boolean |
hasNext() |
CheckpointInfo |
next() |
CheckpointInfo[] |
nextBatch(int count)
Gets a set of CheckpointInfo.
|
void |
remove() |
protected HTTPCheckpointInfoIterator(HttpPushAPI sourcePapi) throws PushAPIException
PushAPIException
public void close()
CheckpointInfoIterator
close
in interface CheckpointInfoIterator
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>
public int getId()
public HttpPushAPI getPapi()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.