StreamingChangesResult (Ektorp 1.4.1 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
java.lang.Object
org.ektorp.StreamingChangesResult
All Implemented Interfaces: Closeable , Serializable , AutoCloseable , Iterable < DocumentChange > public class StreamingChangesResult extends Object implements Serializable , Iterable < DocumentChange >, Closeable Author: Sverre Kristian Valskrå See Also: Serialized Form
Constructor Summary Constructors Constructor and Description StreamingChangesResult (com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response) Method Summary Methods 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 () Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Summary Constructors Constructor and Description StreamingChangesResult (com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response)
Constructor and Description
StreamingChangesResult (com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response)
Method Summary Methods 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 () Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Modifier and Type
Method and Description
void
abort () Aborts the stream immediately
close ()
long
getLastSeq () This method can only be called after stream is fully red
Iterator < DocumentChange >
iterator ()
Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Detail StreamingChangesResult public StreamingChangesResult(com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response) Method Detail iterator public Iterator < DocumentChange > iterator() Specified by: iterator in interface Iterable < DocumentChange > abort public void abort() Aborts the stream immediately close public void close() Specified by: close in interface Closeable Specified by: close in interface AutoCloseable getLastSeq public long getLastSeq() This method can only be called after stream is fully red Returns:
Constructor Detail StreamingChangesResult public StreamingChangesResult(com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response)
StreamingChangesResult public StreamingChangesResult(com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpResponse response)
Method Detail iterator public Iterator < DocumentChange > iterator() Specified by: iterator in interface Iterable < DocumentChange > abort public void abort() Aborts the stream immediately close public void close() Specified by: close in interface Closeable Specified by: close in interface AutoCloseable getLastSeq public long getLastSeq() This method can only be called after stream is fully red Returns:
iterator public Iterator < DocumentChange > iterator() Specified by: iterator in interface Iterable < DocumentChange >
abort public void abort() Aborts the stream immediately
close public void close() Specified by: close in interface Closeable Specified by: close in interface AutoCloseable
getLastSeq public long getLastSeq() This method can only be called after stream is fully red Returns:
Copyright © 2013. All Rights Reserved.