Package org.apache.pulsar.client.admin
Interface PulsarAdmin
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
@Public @Stable public interface PulsarAdmin extends java.io.Closeable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Bookiesbookies()Brokersbrokers()BrokerStatsbrokerStats()static PulsarAdminBuilderbuilder()Get a new builder instance that can used to configure and build aPulsarAdmininstance.voidclose()Close the PulsarAdminClient and release all the resources.Clustersclusters()Functionsfunctions()java.lang.StringgetServiceUrl()Lookuplookups()Namespacesnamespaces()NonPersistentTopicsnonPersistentTopics()Deprecated.Since 2.0.Packagespackages()Propertiesproperties()Deprecated.since 2.0.ProxyStatsproxyStats()ResourceGroupsresourcegroups()ResourceQuotasresourceQuotas()Schemasschemas()Sinksink()Deprecated.in favor ofsinks()Sinkssinks()Sourcesource()Deprecated.in favor ofsources()Sourcessources()Tenantstenants()Topicstopics()Transactionstransactions()Workerworker()
-
-
-
Method Detail
-
builder
static PulsarAdminBuilder builder()
Get a new builder instance that can used to configure and build aPulsarAdmininstance.- Returns:
- the
PulsarAdminBuilder
-
clusters
Clusters clusters()
- Returns:
- the clusters management object
-
brokers
Brokers brokers()
- Returns:
- the brokers management object
-
tenants
Tenants tenants()
- Returns:
- the tenants management object
-
resourcegroups
ResourceGroups resourcegroups()
- Returns:
- the resourcegroups managements object
-
properties
@Deprecated Properties properties()
Deprecated.since 2.0. Seetenants()
-
namespaces
Namespaces namespaces()
- Returns:
- the namespaces management object
-
topics
Topics topics()
- Returns:
- the topics management object
-
bookies
Bookies bookies()
- Returns:
- the bookies management object
-
nonPersistentTopics
@Deprecated NonPersistentTopics nonPersistentTopics()
Deprecated.Since 2.0. Seetopics()- Returns:
- the persistentTopics management object
-
resourceQuotas
ResourceQuotas resourceQuotas()
- Returns:
- the resource quota management object
-
lookups
Lookup lookups()
- Returns:
- does a looks up for the broker serving the topic
-
functions
Functions functions()
- Returns:
- the functions management object
-
source
@Deprecated Source source()
Deprecated.in favor ofsources()- Returns:
- the sources management object
-
sources
Sources sources()
- Returns:
- the sources management object
-
sinks
Sinks sinks()
- Returns:
- the sinks management object
-
worker
Worker worker()
- Returns:
- the Worker stats
-
brokerStats
BrokerStats brokerStats()
- Returns:
- the broker statics
-
proxyStats
ProxyStats proxyStats()
- Returns:
- the proxy statics
-
getServiceUrl
java.lang.String getServiceUrl()
- Returns:
- the service HTTP URL that is being used
-
schemas
Schemas schemas()
- Returns:
- the schemas
-
packages
Packages packages()
- Returns:
- the packages management object
-
transactions
Transactions transactions()
- Returns:
- the transactions management object
-
close
void close()
Close the PulsarAdminClient and release all the resources.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-