Class TopicListService

java.lang.Object
org.apache.pulsar.broker.service.TopicListService

public class TopicListService extends Object
  • Constructor Details

    • TopicListService

      public TopicListService(PulsarService pulsar, ServerCnx connection, boolean enableSubscriptionPatternEvaluation, int maxSubscriptionPatternLength)
  • Method Details

    • inactivate

      public void inactivate()
    • handleWatchTopicList

      public void handleWatchTopicList(org.apache.pulsar.common.naming.NamespaceName namespaceName, long watcherId, long requestId, Pattern topicsPattern, String topicsHash, Semaphore lookupSemaphore)
    • 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

      public void deleteTopicListWatcher(Long watcherId)
    • sendTopicListUpdate

      public void sendTopicListUpdate(long watcherId, String topicsHash, List<String> deletedTopics, List<String> newTopics)