Class NonPersistentTopicsImpl

java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.NonPersistentTopicsImpl
All Implemented Interfaces:
org.apache.pulsar.client.admin.NonPersistentTopics

public class NonPersistentTopicsImpl extends BaseResource implements org.apache.pulsar.client.admin.NonPersistentTopics
  • Constructor Details

    • NonPersistentTopicsImpl

      public NonPersistentTopicsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
  • Method Details

    • createPartitionedTopic

      public void createPartitionedTopic(String topic, int numPartitions) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      createPartitionedTopic in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • createPartitionedTopicAsync

      public CompletableFuture<Void> createPartitionedTopicAsync(String topic, int numPartitions)
      Specified by:
      createPartitionedTopicAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • getPartitionedTopicMetadata

      public org.apache.pulsar.common.partition.PartitionedTopicMetadata getPartitionedTopicMetadata(String topic) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      getPartitionedTopicMetadata in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • getPartitionedTopicMetadataAsync

      public CompletableFuture<org.apache.pulsar.common.partition.PartitionedTopicMetadata> getPartitionedTopicMetadataAsync(String topic)
      Specified by:
      getPartitionedTopicMetadataAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • getStats

      public org.apache.pulsar.common.policies.data.NonPersistentTopicStats getStats(String topic) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      getStats in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • getStatsAsync

      public CompletableFuture<org.apache.pulsar.common.policies.data.NonPersistentTopicStats> getStatsAsync(String topic)
      Specified by:
      getStatsAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • getInternalStats

      public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats(String topic) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      getInternalStats in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • getInternalStatsAsync

      public CompletableFuture<org.apache.pulsar.common.policies.data.PersistentTopicInternalStats> getInternalStatsAsync(String topic)
      Specified by:
      getInternalStatsAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • unload

      public void unload(String topic) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      unload in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • unloadAsync

      public CompletableFuture<Void> unloadAsync(String topic)
      Specified by:
      unloadAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • getListInBundle

      public List<String> getListInBundle(String namespace, String bundleRange) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      getListInBundle in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • getListInBundleAsync

      public CompletableFuture<List<String>> getListInBundleAsync(String namespace, String bundleRange)
      Specified by:
      getListInBundleAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics
    • getList

      public List<String> getList(String namespace) throws org.apache.pulsar.client.admin.PulsarAdminException
      Specified by:
      getList in interface org.apache.pulsar.client.admin.NonPersistentTopics
      Throws:
      org.apache.pulsar.client.admin.PulsarAdminException
    • getListAsync

      public CompletableFuture<List<String>> getListAsync(String namespace)
      Specified by:
      getListAsync in interface org.apache.pulsar.client.admin.NonPersistentTopics