Package org.zalando.fahrschein.redis
Class RedisCursorManager
- java.lang.Object
-
- org.zalando.fahrschein.redis.RedisCursorManager
-
- All Implemented Interfaces:
org.zalando.fahrschein.CursorManager
@Deprecated public class RedisCursorManager extends Object implements org.zalando.fahrschein.CursorManager
Deprecated.Deprecated for removal. Externally managing Nakadi cursors is not recommended practice, not useful, and not really seen in the field.
-
-
Constructor Summary
Constructors Constructor Description RedisCursorManager(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory, String consumerName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Collection<org.zalando.fahrschein.domain.Cursor>getCursors(String eventName)Deprecated.voidonSuccess(String eventName, List<org.zalando.fahrschein.domain.Cursor> cursors)Deprecated.voidonSuccess(String eventName, org.zalando.fahrschein.domain.Cursor cursor)Deprecated.
-
-
-
Constructor Detail
-
RedisCursorManager
public RedisCursorManager(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory, String consumerName)Deprecated.
-
-
Method Detail
-
onSuccess
public void onSuccess(String eventName, org.zalando.fahrschein.domain.Cursor cursor) throws IOException
Deprecated.- Specified by:
onSuccessin interfaceorg.zalando.fahrschein.CursorManager- Throws:
IOException
-
onSuccess
public void onSuccess(String eventName, List<org.zalando.fahrschein.domain.Cursor> cursors) throws IOException
Deprecated.- Specified by:
onSuccessin interfaceorg.zalando.fahrschein.CursorManager- Throws:
IOException
-
getCursors
public Collection<org.zalando.fahrschein.domain.Cursor> getCursors(String eventName) throws IOException
Deprecated.- Specified by:
getCursorsin interfaceorg.zalando.fahrschein.CursorManager- Throws:
IOException
-
-