Package org.apache.pulsar.broker.service
Class TopicListService.TopicListWatcher
java.lang.Object
org.apache.pulsar.broker.service.TopicListService.TopicListWatcher
- All Implemented Interfaces:
BiConsumer<String,org.apache.pulsar.metadata.api.NotificationType>
- Enclosing class:
- TopicListService
public static class TopicListService.TopicListWatcher
extends Object
implements BiConsumer<String,org.apache.pulsar.metadata.api.NotificationType>
-
Constructor Summary
ConstructorsConstructorDescriptionTopicListWatcher(TopicListService topicListService, long id, Pattern topicsPattern, List<String> topics) -
Method Summary
Modifier and TypeMethodDescriptionvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
TopicListWatcher
public TopicListWatcher(TopicListService topicListService, long id, Pattern topicsPattern, List<String> topics)
-
-
Method Details
-
getMatchingTopics
-
accept
public void accept(String topicName, org.apache.pulsar.metadata.api.NotificationType notificationType) - Specified by:
acceptin interfaceBiConsumer<String,org.apache.pulsar.metadata.api.NotificationType>
-