public class PersistentCursorManager extends Object implements CursorManager
| Constructor and Description |
|---|
PersistentCursorManager(DataSource dataSource,
String consumerName) |
PersistentCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName) |
| Modifier and Type | Method and Description |
|---|---|
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, waitaddSubscription, fromNewestAvailableOffsets, fromOldestAvailableOffset, updatePartitionspublic PersistentCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName)
public PersistentCursorManager(DataSource dataSource, String consumerName)
public 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.