A B C D E G I L N O P R S T U V W Z 
All Classes All Packages

A

AllowReadOnly - org.apache.pulsar.zookeeper.ZooKeeperClientFactory.SessionType
Create a ZK session that allow the client to stay connected (in read only mode) to a ZK server that has lost the quorum
asyncInvalidate(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
asyncRestartZooKeeperSession() - Method in class org.apache.pulsar.zookeeper.GlobalZooKeeperCache
 

B

BOOKIE_INFO_ROOT_PATH - Static variable in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 

C

CacheMetricsCollector - Class in org.apache.pulsar.stats
 
CacheMetricsCollector() - Constructor for class org.apache.pulsar.stats.CacheMetricsCollector
 
CAFFEINE - Static variable in class org.apache.pulsar.stats.CacheMetricsCollector
 
checkNodeAndWaitExpired(ZooKeeper, String, long) - Static method in class org.apache.pulsar.zookeeper.ZkUtils
Check if the provided path exists or not and wait it expired if possible.
checkRegNodeAndWaitExpired(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
childrenCache - Variable in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
clear() - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
clear() - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
Only for UTs (for now), as this clears the whole ZK data cache.
clearTree() - Method in class org.apache.pulsar.zookeeper.ZooKeeperManagedLedgerCache
 
close() - Method in class org.apache.pulsar.zookeeper.GlobalZooKeeperCache
 
close() - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
close() - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
CONNECTION_TIMEOUT - Static variable in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
create(String, ZooKeeperClientFactory.SessionType, int) - Method in class org.apache.pulsar.zookeeper.ZookeeperBkClientFactoryImpl
 
create(String, ZooKeeperClientFactory.SessionType, int) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperClientFactory
Return a future yielding a connected ZooKeeper client
create(String, ZooKeeperClientFactory.SessionType, int) - Method in class org.apache.pulsar.zookeeper.ZookeeperClientFactoryImpl
 

D

dataCache - Variable in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
deserialize(String, byte[]) - Method in class org.apache.pulsar.zookeeper.Deserializers.PolicyDeserializer
 
deserialize(String, byte[]) - Method in class org.apache.pulsar.zookeeper.Deserializers.StringDeserializer
 
deserialize(String, byte[]) - Method in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 
deserialize(String, byte[]) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCache.Deserializer
 
Deserializers - Class in org.apache.pulsar.zookeeper
Provides a set of simple ZooKeeperCache.Deserializer for deserializing commonly used data types from ZooKeeper.
Deserializers() - Constructor for class org.apache.pulsar.zookeeper.Deserializers
 
Deserializers.PolicyDeserializer - Class in org.apache.pulsar.zookeeper
Deserializes data received from Zookeeper into policies object.
Deserializers.StringDeserializer - Class in org.apache.pulsar.zookeeper
Deserializes data received from ZK into Java Strings.
disconnectZookeeper(ZooKeeper) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 

E

ENCODING_SCHEME - Static variable in class org.apache.pulsar.zookeeper.ZookeeperClientFactoryImpl
 
exists(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
Returns if the node at the given path exists in the cache
existsAsync(String, Watcher) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
existsCache - Variable in class org.apache.pulsar.zookeeper.ZooKeeperCache
 

G

get() - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
get(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
get(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
Return an item from the cache If node doens't exist, the value will be not present.s
get(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperManagedLedgerCache
 
getAsync() - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
getAsync(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
getAsync(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
getAsync(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperManagedLedgerCache
 
getBookies() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
getChildren(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
Simple ZooKeeperChildrenCache use this method to invalidate cache entry on watch event w/o automatic re-loading
getChildrenAsync(String, Watcher) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
ZooKeeperChildrenCache implementing automatic re-loading on update use this method by passing in a different Watcher object to reload cache entry
getChildrenIfPresent(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getData(String, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
Simple ZooKeeperCache use this method to invalidate the cache entry on watch event w/o automatic reloading the cache
getData(String, Watcher, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
Cache that implements automatic reloading on update will pass a different Watcher object to reload cache entry automatically
getDataAsync(String, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getDataAsync(String, Watcher, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getDataIfPresent(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getDataIfPresent(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
getEntry(String, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getEntryAsync(String, ZooKeeperCache.Deserializer<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getParentForPath(String) - Static method in class org.apache.pulsar.zookeeper.ZkUtils
Returns the parent path of the provided path.
getWithStat(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
getWithStatAsync(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
getZkClient() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
getZkOperationTimeoutSeconds() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getZkServer() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
getZooKeeper() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
getZookeeperPort() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
getZookeeperServerConnection(ZooKeeper) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
GlobalZooKeeperCache - Class in org.apache.pulsar.zookeeper
Per ZK client ZooKeeper cache supporting ZNode data and children list caches.
GlobalZooKeeperCache(ZooKeeperClientFactory, int, int, String, OrderedExecutor, ScheduledExecutorService, int) - Constructor for class org.apache.pulsar.zookeeper.GlobalZooKeeperCache
 

I

initialize(ClientConfiguration, Optional<DNSToSwitchMapping>, HashedWheelTimer, FeatureProvider, StatsLogger, BookieAddressResolver) - Method in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 
invalidate(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidate(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
invalidateAll() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidateAllChildren() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidateAllData() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidateChildren(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidateData(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
invalidateRoot(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ISOLATION_BOOKIE_GROUPS - Static variable in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 

L

LocalBookkeeperEnsemble - Class in org.apache.pulsar.zookeeper
 
LocalBookkeeperEnsemble(int, int, int, int, String, String, boolean, String) - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
LocalBookkeeperEnsemble(int, int, int, String, String, boolean) - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
LocalBookkeeperEnsemble(int, int, int, String, String, boolean, String) - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
LocalBookkeeperEnsemble(int, int, int, String, String, boolean, String, Supplier<Integer>) - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
LocalBookkeeperEnsemble(int, int, Supplier<Integer>) - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
LocalBookkeeperEnsemble.ZKConnectionWatcher - Class in org.apache.pulsar.zookeeper
 
LOG - Static variable in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 

N

newEnsemble(int, int, int, Map<String, byte[]>, Set<BookieId>) - Method in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 

O

onUpdate(String, BookiesRackConfiguration, Stat) - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
onUpdate(String, T, Stat) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCacheListener
 
org.apache.pulsar.stats - package org.apache.pulsar.stats
 
org.apache.pulsar.zookeeper - package org.apache.pulsar.zookeeper
 

P

POLICY_DESERIALIZER - Static variable in class org.apache.pulsar.zookeeper.Deserializers
 
PolicyDeserializer() - Constructor for class org.apache.pulsar.zookeeper.Deserializers.PolicyDeserializer
 
process(WatchedEvent) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble.ZKConnectionWatcher
 
process(WatchedEvent) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
process(WatchedEvent) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
process(WatchedEvent) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
process(WatchedEvent) - Method in class org.apache.pulsar.zookeeper.ZooKeeperManagedLedgerCache
 
process(WatchedEvent, ZooKeeperCache.CacheUpdater<T>) - Method in class org.apache.pulsar.zookeeper.GlobalZooKeeperCache
 
process(WatchedEvent, ZooKeeperCache.CacheUpdater<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
process(WatchedEvent, ZooKeeperCache.CacheUpdater<T>, Cache<String, T>) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCacheWatcher
 

R

ReadWrite - org.apache.pulsar.zookeeper.ZooKeeperClientFactory.SessionType
Create a normal ZK session that requires a valid quorum
registerListener(ZooKeeperCacheListener<Set<String>>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
registerListener(ZooKeeperCacheListener<T>) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCache.CacheUpdater
 
registerListener(ZooKeeperCacheListener<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
registerRackChangeListener(ITopologyAwareEnsemblePlacementPolicy<BookieNode>) - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
reloadCache(String) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCache.CacheUpdater
 
reloadCache(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
reloadCache(String) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
reloadCachedMappings() - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
replaceBookie(int, int, int, Map<String, byte[]>, List<BookieId>, BookieId, Set<BookieId>) - Method in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 
resolve(List<String>) - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
runStreamStorage(CompositeConfiguration) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 

S

SECONDARY_ISOLATION_BOOKIE_GROUPS - Static variable in class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 
setConf(Configuration) - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
start() - Method in class org.apache.pulsar.zookeeper.GlobalZooKeeperCache
 
start() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
start(boolean) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
startBK() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
startBK(int) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
startStandalone() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
startStandalone(ServerConfiguration, boolean) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
stop() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
stop() - Method in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
stopBK() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
stopBK(int) - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 
STRING_DESERIALIZER - Static variable in class org.apache.pulsar.zookeeper.Deserializers
 
StringDeserializer() - Constructor for class org.apache.pulsar.zookeeper.Deserializers.StringDeserializer
 

T

toString() - Method in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 

U

unregisterListener(ZooKeeperCacheListener<Set<String>>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
unregisterListener(ZooKeeperCacheListener<T>) - Method in interface org.apache.pulsar.zookeeper.ZooKeeperCache.CacheUpdater
 
unregisterListener(ZooKeeperCacheListener<T>) - Method in class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 

V

valueOf(String) - Static method in enum org.apache.pulsar.zookeeper.ZooKeeperClientFactory.SessionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.pulsar.zookeeper.ZooKeeperClientFactory.SessionType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForConnection() - Method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble.ZKConnectionWatcher
 
waitForServerUp(String, long) - Static method in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble
 

Z

ZK_CACHE_INSTANCE - Static variable in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ZK_DATA_CACHE_BK_RACK_CONF_INSTANCE - Static variable in class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
ZkBookieRackAffinityMapping - Class in org.apache.pulsar.zookeeper
It provides the mapping of bookies to its rack from zookeeper.
ZkBookieRackAffinityMapping() - Constructor for class org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping
 
ZKConnectionWatcher() - Constructor for class org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble.ZKConnectionWatcher
 
ZkIsolatedBookieEnsemblePlacementPolicy - Class in org.apache.pulsar.zookeeper
 
ZkIsolatedBookieEnsemblePlacementPolicy() - Constructor for class org.apache.pulsar.zookeeper.ZkIsolatedBookieEnsemblePlacementPolicy
 
zkSession - Variable in class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ZkUtils - Class in org.apache.pulsar.zookeeper
ZooKeeper utils.
ZkUtils() - Constructor for class org.apache.pulsar.zookeeper.ZkUtils
 
ZookeeperBkClientFactoryImpl - Class in org.apache.pulsar.zookeeper
 
ZookeeperBkClientFactoryImpl(OrderedExecutor) - Constructor for class org.apache.pulsar.zookeeper.ZookeeperBkClientFactoryImpl
 
ZooKeeperCache - Class in org.apache.pulsar.zookeeper
Per ZK client ZooKeeper cache supporting ZNode data and children list caches.
ZooKeeperCache(String, ZooKeeper, int) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ZooKeeperCache(String, ZooKeeper, int, OrderedExecutor) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ZooKeeperCache(String, ZooKeeper, int, OrderedExecutor, int) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperCache
 
ZooKeeperCache.CacheUpdater<T> - Interface in org.apache.pulsar.zookeeper
 
ZooKeeperCache.Deserializer<T> - Interface in org.apache.pulsar.zookeeper
 
ZooKeeperCacheListener<T> - Interface in org.apache.pulsar.zookeeper
 
ZooKeeperCacheWatcher<T> - Interface in org.apache.pulsar.zookeeper
 
ZooKeeperChildrenCache - Class in org.apache.pulsar.zookeeper
This class keeps a cache of the children for several z-nodes and updates it whenever it's changed on zookeeper.
ZooKeeperChildrenCache(ZooKeeperCache, String) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperChildrenCache
 
ZooKeeperClientFactory - Interface in org.apache.pulsar.zookeeper
 
ZooKeeperClientFactory.SessionType - Enum in org.apache.pulsar.zookeeper
 
ZookeeperClientFactoryImpl - Class in org.apache.pulsar.zookeeper
 
ZookeeperClientFactoryImpl() - Constructor for class org.apache.pulsar.zookeeper.ZookeeperClientFactoryImpl
 
ZooKeeperDataCache<T> - Class in org.apache.pulsar.zookeeper
Provides a generic cache for reading objects stored in zookeeper.
ZooKeeperDataCache(ZooKeeperCache) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperDataCache
 
ZooKeeperManagedLedgerCache - Class in org.apache.pulsar.zookeeper
 
ZooKeeperManagedLedgerCache(ZooKeeperCache, String) - Constructor for class org.apache.pulsar.zookeeper.ZooKeeperManagedLedgerCache
 
A B C D E G I L N O P R S T U V W Z 
All Classes All Packages