public class StreamingChangesResult extends Object implements Serializable, Iterable<DocumentChange>, Closeable
| Constructor and Description |
|---|
StreamingChangesResult(org.codehaus.jackson.map.ObjectMapper objectMapper,
HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts the stream immediately
|
void |
close() |
long |
getLastSeq()
This method can only be called after stream is fully red
|
Iterator<DocumentChange> |
iterator() |
public StreamingChangesResult(org.codehaus.jackson.map.ObjectMapper objectMapper,
HttpResponse response)
public Iterator<DocumentChange> iterator()
iterator in interface Iterable<DocumentChange>public void abort()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic long getLastSeq()
Copyright © 2012. All Rights Reserved.