Package org.zalando.fahrschein.inmemory
Class InMemoryCursorManager
java.lang.Object
org.zalando.fahrschein.inmemory.InMemoryCursorManager
- All Implemented Interfaces:
org.zalando.fahrschein.CursorManager
public final class InMemoryCursorManager
extends Object
implements org.zalando.fahrschein.CursorManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.zalando.fahrschein.domain.Cursor> getCursors(String eventName) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.fahrschein.CursorManager
addStreamId, addSubscription
-
Constructor Details
-
InMemoryCursorManager
public InMemoryCursorManager()
-
-
Method Details
-
onSuccess
- Specified by:
onSuccessin interfaceorg.zalando.fahrschein.CursorManager
-
onSuccess
public void onSuccess(String eventName, List<org.zalando.fahrschein.domain.Cursor> cursors) throws IOException - Specified by:
onSuccessin interfaceorg.zalando.fahrschein.CursorManager- Throws:
IOException
-
getCursors
- Specified by:
getCursorsin interfaceorg.zalando.fahrschein.CursorManager
-