@Immutable public final class Cursor extends Object
| Constructor and Description |
|---|
Cursor(String partition,
String offset) |
Cursor(String partition,
String offset,
String eventType) |
Cursor(String partition,
String offset,
String eventType,
String cursorToken) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCursorToken()
A token identifying this cursor and offset which has to be used when committing using the subscription api.
|
String |
getEventType()
The event type of this cursor.
|
String |
getOffset() |
String |
getPartition() |
String |
toString() |
public Cursor(String partition, String offset, @Nullable String eventType, @Nullable String cursorToken)
public String getPartition()
public String getOffset()
@Nullable public String getEventType()
@Nullable public String getCursorToken()
Copyright © 2016–2018 Zalando SE. All rights reserved.