public class RedisCursorManager extends Object implements CursorManager
| Constructor and Description |
|---|
RedisCursorManager(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory,
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, waitaddStreamId, addSubscription, fromNewestAvailableOffsets, fromOldestAvailableOffset, updatePartitionspublic RedisCursorManager(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory,
String consumerName)
public void onSuccess(String eventName, Cursor cursor) throws IOException
onSuccess in interface CursorManagerIOExceptionpublic void onError(String eventName, Cursor cursor, Throwable throwable) throws IOException
onError in interface CursorManagerIOExceptionpublic Collection<Cursor> getCursors(String eventName) throws IOException
getCursors in interface CursorManagerIOExceptionCopyright © 2016–2017 Zalando SE. All rights reserved.