Package org.apache.pulsar.broker.service
Class TopicListService
java.lang.Object
org.apache.pulsar.broker.service.TopicListService
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTopicListService(PulsarService pulsar, ServerCnx connection, boolean enableSubscriptionPatternEvaluation, int maxSubscriptionPatternLength) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteTopicListWatcher(Long watcherId) voidhandleWatchTopicList(org.apache.pulsar.common.naming.NamespaceName namespaceName, long watcherId, long requestId, Pattern topicsPattern, String topicsHash, Semaphore lookupSemaphore) voidhandleWatchTopicListClose(org.apache.pulsar.common.api.proto.CommandWatchTopicListClose commandWatchTopicListClose) voidvoidinitializeTopicsListWatcher(CompletableFuture<TopicListService.TopicListWatcher> watcherFuture, org.apache.pulsar.common.naming.NamespaceName namespace, long watcherId, Pattern topicsPattern) voidsendTopicListUpdate(long watcherId, String topicsHash, List<String> deletedTopics, List<String> newTopics)
-
Constructor Details
-
TopicListService
public TopicListService(PulsarService pulsar, ServerCnx connection, boolean enableSubscriptionPatternEvaluation, int maxSubscriptionPatternLength)
-
-
Method Details
-
inactivate
public void inactivate() -
handleWatchTopicList
-
initializeTopicsListWatcher
public void initializeTopicsListWatcher(CompletableFuture<TopicListService.TopicListWatcher> watcherFuture, org.apache.pulsar.common.naming.NamespaceName namespace, long watcherId, Pattern topicsPattern) -
handleWatchTopicListClose
public void handleWatchTopicListClose(org.apache.pulsar.common.api.proto.CommandWatchTopicListClose commandWatchTopicListClose) -
deleteTopicListWatcher
-
sendTopicListUpdate
-