public class ConfigurationCacheService extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
CLUSTER_FAILURE_DOMAIN_ROOT |
static String |
FAILURE_DOMAIN |
static String |
PARTITIONED_TOPICS_ROOT |
static String |
POLICIES |
static String |
POLICIES_ROOT |
static String |
RESOURCEGROUPS |
| Constructor and Description |
|---|
ConfigurationCacheService(ZooKeeperCache cache,
String configuredClusterName) |
ConfigurationCacheService(ZooKeeperCache cache,
String configuredClusterName,
PulsarResources pulsarResources) |
| Modifier and Type | Method and Description |
|---|---|
ZooKeeperCache |
cache() |
ZooKeeperDataCache<org.apache.pulsar.common.policies.data.ClusterData> |
clustersCache() |
ZooKeeperChildrenCache |
clustersListCache() |
ZooKeeperDataCache<org.apache.pulsar.common.policies.data.FailureDomain> |
failureDomainCache() |
ZooKeeperChildrenCache |
failureDomainListCache() |
org.apache.zookeeper.ZooKeeper |
getZooKeeper() |
ZooKeeperDataCache<org.apache.pulsar.common.policies.impl.NamespaceIsolationPolicies> |
namespaceIsolationPoliciesCache() |
ZooKeeperDataCache<org.apache.pulsar.common.policies.data.Policies> |
policiesCache() |
ZooKeeperDataCache<org.apache.pulsar.common.policies.data.TenantInfo> |
propertiesCache() |
public static final String POLICIES
public static final String RESOURCEGROUPS
public static final String FAILURE_DOMAIN
public final String CLUSTER_FAILURE_DOMAIN_ROOT
public static final String POLICIES_ROOT
public static final String PARTITIONED_TOPICS_ROOT
public ConfigurationCacheService(ZooKeeperCache cache, String configuredClusterName) throws PulsarServerException
PulsarServerExceptionpublic ConfigurationCacheService(ZooKeeperCache cache, String configuredClusterName, PulsarResources pulsarResources) throws PulsarServerException
PulsarServerExceptionpublic ZooKeeperCache cache()
public ZooKeeperDataCache<org.apache.pulsar.common.policies.data.TenantInfo> propertiesCache()
public ZooKeeperDataCache<org.apache.pulsar.common.policies.data.Policies> policiesCache()
public ZooKeeperDataCache<org.apache.pulsar.common.policies.data.ClusterData> clustersCache()
public ZooKeeperChildrenCache clustersListCache()
public ZooKeeperChildrenCache failureDomainListCache()
public org.apache.zookeeper.ZooKeeper getZooKeeper()
public ZooKeeperDataCache<org.apache.pulsar.common.policies.impl.NamespaceIsolationPolicies> namespaceIsolationPoliciesCache()
public ZooKeeperDataCache<org.apache.pulsar.common.policies.data.FailureDomain> failureDomainCache()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.