public class ManagedCursorManager extends Object implements CursorManager
OFFSET_ORDERING| Constructor and Description |
|---|
ManagedCursorManager(URI baseUri,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubscription(Subscription subscription) |
Collection<Cursor> |
getCursors(String eventName) |
void |
onError(String eventName,
Cursor cursor,
Throwable throwable) |
void |
onSuccess(String eventName,
Cursor cursor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromNewestAvailableOffsets, fromOldestAvailableOffset, updatePartitionspublic ManagedCursorManager(URI baseUri, org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void addSubscription(Subscription subscription)
addSubscription in interface CursorManagerpublic void onSuccess(String eventName, Cursor cursor) throws IOException
onSuccess in interface CursorManagerIOExceptionpublic void onError(String eventName, Cursor cursor, Throwable throwable)
onError in interface CursorManagerpublic Collection<Cursor> getCursors(String eventName) throws IOException
getCursors in interface CursorManagerIOExceptionCopyright © 2016 Zalando SE. All rights reserved.