public class Subscription<P> extends Object
| Constructor and Description |
|---|
Subscription(List<String> topicNames,
String subscriptionName,
IThreadSafeRetryableConsumer<P> consumer) |
Subscription(String topicName,
String subscriptionName,
IThreadSafeRetryableConsumer<P> consumer) |
| Modifier and Type | Method and Description |
|---|---|
IThreadSafeRetryableConsumer<P> |
getConsumer() |
String |
getSubscriptionName() |
Collection<String> |
getTopicNames() |
public Subscription(List<String> topicNames, String subscriptionName, IThreadSafeRetryableConsumer<P> consumer)
public Subscription(String topicName, String subscriptionName, IThreadSafeRetryableConsumer<P> consumer)
public Collection<String> getTopicNames()
public String getSubscriptionName()
public IThreadSafeRetryableConsumer<P> getConsumer()
Copyright © 2018 Symphony Software Foundation. All rights reserved.