Interface TopicSubscription
-
public interface TopicSubscriptionA subscription to a topic- Since:
- 202
- Author:
- hal.hildebrand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Cancel the subscriptionlonggetReplayFrom()StringgetTopic()
-
-
-
Method Detail
-
cancel
void cancel()
Cancel the subscription
-
getReplayFrom
long getReplayFrom()
- Returns:
- the current replayFrom event id of the subscription
-
getTopic
String getTopic()
- Returns:
- the topic subscribed to
-
-