Class NonPersistentTopicsImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.NonPersistentTopicsImpl
- All Implemented Interfaces:
NonPersistentTopics
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionNonPersistentTopicsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartitionedTopic(String topic, int numPartitions) createPartitionedTopicAsync(String topic, int numPartitions) getInternalStats(String topic) getInternalStatsAsync(String topic) getListAsync(String namespace) getListInBundle(String namespace, String bundleRange) getListInBundleAsync(String namespace, String bundleRange) getStatsAsync(String topic) voidunloadAsync(String topic) Methods inherited from class org.apache.pulsar.client.admin.internal.BaseResource
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncPostRequest, asyncPostRequestWithResponse, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsync, sync
-
Constructor Details
-
NonPersistentTopicsImpl
public NonPersistentTopicsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
createPartitionedTopic
- Specified by:
createPartitionedTopicin interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
createPartitionedTopicAsync
- Specified by:
createPartitionedTopicAsyncin interfaceNonPersistentTopics
-
getPartitionedTopicMetadata
public PartitionedTopicMetadata getPartitionedTopicMetadata(String topic) throws PulsarAdminException - Specified by:
getPartitionedTopicMetadatain interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
getPartitionedTopicMetadataAsync
- Specified by:
getPartitionedTopicMetadataAsyncin interfaceNonPersistentTopics
-
getStats
- Specified by:
getStatsin interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
getStatsAsync
- Specified by:
getStatsAsyncin interfaceNonPersistentTopics
-
getInternalStats
- Specified by:
getInternalStatsin interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
getInternalStatsAsync
- Specified by:
getInternalStatsAsyncin interfaceNonPersistentTopics
-
unload
- Specified by:
unloadin interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
unloadAsync
- Specified by:
unloadAsyncin interfaceNonPersistentTopics
-
getListInBundle
public List<String> getListInBundle(String namespace, String bundleRange) throws PulsarAdminException - Specified by:
getListInBundlein interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
getListInBundleAsync
- Specified by:
getListInBundleAsyncin interfaceNonPersistentTopics
-
getList
- Specified by:
getListin interfaceNonPersistentTopics- Throws:
PulsarAdminException
-
getListAsync
- Specified by:
getListAsyncin interfaceNonPersistentTopics
-