Index

A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractBatchedMetadataStore - Class in org.apache.pulsar.metadata.impl.batching
 
AbstractBatchedMetadataStore(MetadataStoreConfig) - Constructor for class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
AbstractMetadataDriver - Class in org.apache.pulsar.metadata.bookkeeper
 
AbstractMetadataDriver() - Constructor for class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
AbstractMetadataStore - Class in org.apache.pulsar.metadata.impl
 
AbstractMetadataStore() - Constructor for class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
accept(Notification) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
accept(Notification) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
acquireLock(String, T) - Method in interface org.apache.pulsar.metadata.api.coordination.LockManager
Acquire a lock on a shared resource.
acquireUnderreplicatedLedger(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
addAuthInfo(String, byte[]) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
addRegistrationListener(RegistrationManager.RegistrationListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
addWatch(String, Watcher, AddWatchMode) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
addWatch(String, Watcher, AddWatchMode, AsyncCallback.VoidCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
allowReadOnlyMode(boolean) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
AlreadyClosedException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.AlreadyClosedException
 
AlreadyClosedException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.AlreadyClosedException
 
AlreadyExistsException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.AlreadyExistsException
 
AlreadyExistsException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.AlreadyExistsException
 
asDelete() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
asGet() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
asGetChildren() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
asPut() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
asyncClose() - Method in interface org.apache.pulsar.metadata.api.coordination.LeaderElection
Close the leader election controller and release the leadership (if it was acquired).
asyncClose() - Method in interface org.apache.pulsar.metadata.api.coordination.LockManager
Close the LockManager and release all the locks.
asyncProcessLedgers(BookkeeperInternalCallbacks.Processor<Long>, AsyncCallback.VoidCallback, Object, int, int) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 

B

BadVersionException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.BadVersionException
 
BadVersionException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.BadVersionException
 
baseClientConf - Variable in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
baseConf - Variable in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
baseServerConfiguration(ServerConfiguration) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
batchOperation(List<MetadataOp>) - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
batchOperation(List<MetadataOp>) - Method in class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
batchOperation(List<MetadataOp>) - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
BKCluster - Class in org.apache.pulsar.metadata.bookkeeper
A class runs several bookie servers for testing.
BKCluster.BKClusterConf - Class in org.apache.pulsar.metadata.bookkeeper
 
BKClusterConf() - Constructor for class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
bkPort(int) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
BookieServiceInfoSerde - Class in org.apache.pulsar.metadata.bookkeeper
 
build() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
build() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
builder() - Static method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 

C

CacheGetResult<T> - Class in org.apache.pulsar.metadata.api
Represent a result for a MetadataCache.getWithStats(String) operation.
CacheGetResult() - Constructor for class org.apache.pulsar.metadata.api.CacheGetResult
 
ChildrenChanged - Enum constant in enum class org.apache.pulsar.metadata.api.NotificationType
 
cleanupTempDirs() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
clearOldData(boolean) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
close() - Method in interface org.apache.pulsar.metadata.api.MetadataEventSynchronizer
close synchronizer resources.
close() - Method in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerIdGenerator
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
close() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
close() - Method in class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
close() - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.EtcdSessionWatcher
 
close() - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
close() - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
close() - Method in class org.apache.pulsar.metadata.impl.ZKSessionWatcher
 
CombinedLedgerRangeIterator - Class in org.apache.pulsar.metadata.bookkeeper
 
conf - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
ConnectionLost - Enum constant in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
The client is temporarily disconnected, although the session is still valid.
connectRetryPolicy(RetryPolicy) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
connectString(String) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
ContentDeserializationException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.ContentDeserializationException
 
ContentDeserializationException(String, Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.ContentDeserializationException
 
ContentDeserializationException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.ContentDeserializationException
 
CoordinationService - Interface in org.apache.pulsar.metadata.api.coordination
Interface for the coordination service.
CoordinationServiceImpl - Class in org.apache.pulsar.metadata.coordination.impl
 
CoordinationServiceImpl(MetadataStoreExtended) - Constructor for class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
create(String, byte[], List<ACL>, CreateMode, AsyncCallback.StringCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
create(String, MetadataStoreConfig) - Static method in interface org.apache.pulsar.metadata.api.extended.MetadataStoreExtended
 
create(String, MetadataStoreConfig) - Static method in class org.apache.pulsar.metadata.api.MetadataStoreFactory
Create a new MetadataStore instance based on the given configuration.
create(String, MetadataStoreConfig) - Static method in class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
 
create(String, MetadataStoreConfig, boolean) - Method in interface org.apache.pulsar.metadata.api.MetadataStoreProvider
Creates a new MetadataStore.
create(String, T) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Create a new object in the metadata store.
create(String, T) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
Created - Enum constant in enum class org.apache.pulsar.metadata.api.NotificationType
 
createExtended(String, MetadataStoreConfig) - Static method in class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
 
createLedgerMetadata(long, LedgerMetadata) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
CreateOption - Enum Class in org.apache.pulsar.metadata.api.extended
Options to use when creating key-value pairs on the MetadataStoreExtended.
createRegistrationManager() - Method in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
createRegistrationManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
createZooKeeper() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 

D

dataDir(String) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
delete(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Delete an object from the metadata store.
delete(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
delete(String, int) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
delete(String, int, AsyncCallback.VoidCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
delete(String, Optional<Long>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
 
delete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
delete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
DELETE - Enum constant in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
 
DELETE - Enum constant in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
 
Deleted - Enum constant in enum class org.apache.pulsar.metadata.api.NotificationType
 
deleteRecursive(String) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Delete a key-value pair and all the children nodes.
deleteRecursive(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
deleteRecursive(String) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
deserialize(String, byte[], Stat) - Method in interface org.apache.pulsar.metadata.api.MetadataSerde
Serialize the object from a byte array.
deserialize(String, byte[], Stat) - Method in class org.apache.pulsar.metadata.bookkeeper.BookieServiceInfoSerde
 
deserialize(String, byte[], Stat) - Method in class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeSimpleType
 
deserialize(String, byte[], Stat) - Method in class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeTypeRef
 
disableLedgerReplication() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 

E

elect(T) - Method in interface org.apache.pulsar.metadata.api.coordination.LeaderElection
Try to become the leader.
enableLedgerReplication() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
Ephemeral - Enum constant in enum class org.apache.pulsar.metadata.api.extended.CreateOption
The key-value pair will automatically expires when the session is terminated.
EtcdMetadataStore - Class in org.apache.pulsar.metadata.impl
 
EtcdMetadataStore(String, MetadataStoreConfig, boolean) - Constructor for class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
EtcdSessionWatcher - Class in org.apache.pulsar.metadata.impl
Monitor the ETCd session state every few seconds and send notifications.
EtcdSessionWatcher(Client, long, Consumer<SessionEvent>) - Constructor for class org.apache.pulsar.metadata.impl.EtcdSessionWatcher
 
execute(Runnable, CompletableFuture<?>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
Run the task in the executor thread and fail the future if the executor is shutting down.
executor - Variable in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
exists(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Read whether a specific path exists.
exists(String) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Read whether a specific path exists.
exists(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
exists(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
exists(String) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
exists(String, boolean) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
exists(String, boolean, AsyncCallback.StatCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
exists(String, Watcher) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
exists(String, Watcher, AsyncCallback.StatCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
EXISTS - Enum constant in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
 
existsFromStore(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
existsFromStore(String) - Method in class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
existsFromStore(String) - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
existsFromStore(String) - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
existsFromStore(String) - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 

F

failConditional(MetadataStoreException, BiPredicate<FaultInjectionMetadataStore.OperationType, String>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
FaultInjectionMetadataStore - Class in org.apache.pulsar.metadata.impl
Add possibility to inject failures during tests that interact with MetadataStore.
FaultInjectionMetadataStore(MetadataStoreExtended) - Constructor for class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
FaultInjectionMetadataStore.OperationType - Enum Class in org.apache.pulsar.metadata.impl
 
Following - Enum constant in enum class org.apache.pulsar.metadata.api.coordination.LeaderElectionState
Follower state.
format() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
format(AbstractConfiguration<?>, LayoutManager) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 

G

generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<Long>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerIdGenerator
 
generateLedgerIdImpl(String) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerIdGenerator
 
get(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Tries to fetch one item from the cache or fallback to the store if not present.
get(String) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Read the value of one key, identified by the path The async call will return a future that yields a GetResult that will contain the value and the associated Stat object.
get(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
get(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
get(String) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
get(String, MetadataStoreConfig) - Static method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
GET - Enum constant in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
 
GET - Enum constant in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
 
GET_CHILDREN - Enum constant in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
 
GET_CHILDREN - Enum constant in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
 
getACL(String, Stat) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getACL(String, Stat, AsyncCallback.ACLCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getAllBookies() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
getBookieServiceInfo(BookieId) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
getCheckAllLedgersCTime() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getChildren(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Return all the nodes (lexicographically sorted) that are children to the specific path.
getChildren(String) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Return all the nodes (lexicographically sorted) that are children to the specific path.
getChildren(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
getChildren(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
getChildren(String) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
getChildren(String, boolean) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, boolean, AsyncCallback.Children2Callback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, boolean, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, boolean, Stat) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, Watcher) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, Watcher, AsyncCallback.Children2Callback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, Watcher, AsyncCallback.ChildrenCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildren(String, Watcher, Stat) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getChildrenFromStore(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
getChildrenFromStore(String) - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
getChildrenFromStore(String) - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
getChildrenFromStore(String) - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
getClusterInstanceId() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
getClusterName() - Method in interface org.apache.pulsar.metadata.api.MetadataEventSynchronizer
Name of current cluster served by the Synchronizer.
getCurrentVersion() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
getData(String, boolean, AsyncCallback.DataCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getData(String, boolean, Stat) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getData(String, Watcher, AsyncCallback.DataCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getData(String, Watcher, Stat) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getDefaultMetadataCacheConfig() - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Returns the default metadata cache config.
getFuture() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
getIfCached(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Check if an object is present in cache without triggering a load from the metadata store.
getIfCached(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
getLayoutManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
getLayoutManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
getLeaderElection(Class<T>, String, Consumer<LeaderElectionState>) - Method in interface org.apache.pulsar.metadata.api.coordination.CoordinationService
Create a new LeaderElection controller.
getLeaderElection(Class<T>, String, Consumer<LeaderElectionState>) - Method in class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
getLeaderValue() - Method in interface org.apache.pulsar.metadata.api.coordination.LeaderElection
Get the value set by the elected leader, or empty if there's currently no leader.
getLeaderValueIfPresent() - Method in interface org.apache.pulsar.metadata.api.coordination.LeaderElection
Get the value set by the elected leader, or empty if there's currently no leader.
getLedgerManagerFactory() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
getLedgerManagerFactory() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
getLedgerRanges(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
getLedgerToRereplicate() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getLedgerUnreplicationInfo(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getLockData() - Static method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getLockExpiredFuture() - Method in interface org.apache.pulsar.metadata.api.coordination.ResourceLock
Get a future that can be used to get notified when the lock is expired or it gets released.
getLockExpiredFuture() - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
getLockManager(Class<T>) - Method in interface org.apache.pulsar.metadata.api.coordination.CoordinationService
 
getLockManager(Class<T>) - Method in class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
getLockManager(MetadataSerde<T>) - Method in interface org.apache.pulsar.metadata.api.coordination.CoordinationService
 
getLockManager(MetadataSerde<T>) - Method in class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
getLostBookieRecoveryDelay() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getMetadataCache(TypeReference<T>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache specialized for a specific class.
getMetadataCache(TypeReference<T>, MetadataCacheConfig) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache specialized for a specific class.
getMetadataCache(TypeReference<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
getMetadataCache(TypeReference<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
getMetadataCache(Class<T>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache specialized for a specific class.
getMetadataCache(Class<T>, MetadataCacheConfig) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache specialized for a specific class.
getMetadataCache(Class<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
getMetadataCache(Class<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
getMetadataCache(MetadataSerde<T>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache that uses a particular serde object.
getMetadataCache(MetadataSerde<T>, MetadataCacheConfig) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Create a metadata cache that uses a particular serde object.
getMetadataCache(MetadataSerde<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
getMetadataCache(MetadataSerde<T>, MetadataCacheConfig) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
getMetadataEventSynchronizer() - Method in interface org.apache.pulsar.metadata.api.extended.MetadataStoreExtended
Get MetadataEventSynchronizer to notify and synchronize metadata events.
getMetadataEventSynchronizer() - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
getMetadataEventSynchronizer() - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
getMetadataEventSynchronizer() - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
getNextCounterValue(String) - Method in interface org.apache.pulsar.metadata.api.coordination.CoordinationService
Increment a counter identified by the specified path and return the current value.
getNextCounterValue(String) - Method in class org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl
 
getPath() - Method in interface org.apache.pulsar.metadata.api.coordination.ResourceLock
 
getPath() - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
getPlacementPolicyCheckCTime() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getReadOnlyBookies() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
getRegistrationClient() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
getReplicasCheckCTime() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getReplicationWorkerIdRereplicatingLedger(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
GetResult - Class in org.apache.pulsar.metadata.api
Represent a result for a MetadataStore.get(String) operation.
GetResult() - Constructor for class org.apache.pulsar.metadata.api.GetResult
 
getRootPath() - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
getScheme() - Method in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
getSessionId() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getSessionPasswd() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getSessionTimeout() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getState() - Method in interface org.apache.pulsar.metadata.api.coordination.LeaderElection
Get the current leader election state.
getState() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
getType() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
getType() - Method in class org.apache.pulsar.metadata.impl.batching.OpDelete
 
getType() - Method in class org.apache.pulsar.metadata.impl.batching.OpGet
 
getType() - Method in class org.apache.pulsar.metadata.impl.batching.OpGetChildren
 
getType() - Method in class org.apache.pulsar.metadata.impl.batching.OpPut
 
getUrLedgerLockPath(String, long) - Static method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getUrLedgerPath(String, long) - Static method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
getValue() - Method in interface org.apache.pulsar.metadata.api.coordination.ResourceLock
 
getValue() - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
getWithStats(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Tries to fetch one item from the cache or fallback to the store if not present.
getWithStats(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
getWritableBookies() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
getZkClient() - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
getZkSessionId() - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 

H

hashCode() - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
hasNext() - Method in class org.apache.pulsar.metadata.bookkeeper.CombinedLedgerRangeIterator
 
hasNext() - Method in class org.apache.pulsar.metadata.bookkeeper.LegacyHierarchicalLedgerRangeIterator
 

I

initialize(AbstractConfiguration) - Method in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
initialize(AbstractConfiguration) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
initialize(AbstractConfiguration, LayoutManager, int) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
initialize(ClientConfiguration, ScheduledExecutorService, StatsLogger, Optional<Object>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
initialize(ServerConfiguration, StatsLogger) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
initializeCluster() - Method in interface org.apache.pulsar.metadata.api.MetadataStoreLifecycle
Initialize the metadata store cluster if needed.
initializeCluster() - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
initializeLostBookieRecoveryDelay(int) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
initNewCluster() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
invalidate(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Force the invalidation of an object in the metadata cache.
invalidate(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
invalidateAll() - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
invalidateAll() - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
InvalidImplementationException() - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.InvalidImplementationException
 
InvalidImplementationException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.InvalidImplementationException
 
InvalidImplementationException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.InvalidImplementationException
 
InvalidPathException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.InvalidPathException
 
isBasedOnZookeeper(String) - Static method in class org.apache.pulsar.metadata.api.MetadataStoreFactory
 
isBasedOnZookeeper(String) - Static method in class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
 
isBookieRegistered(BookieId) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
isConnected() - Method in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
Check whether the state represents a connected or not-connected state.
isEphemeral() - Method in class org.apache.pulsar.metadata.impl.batching.OpPut
 
isLedgerBeingReplicated(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
Check whether the ledger is being replicated by any bookie.
isLedgerParentNode(String) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
whether the child of ledgersRootPath is a top level parent znode for ledgers (in HierarchicalLedgerManager) or znode of a ledger (in FlatLedgerManager).
isLedgerReplicationEnabled() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 

J

JSONMetadataSerdeSimpleType<T> - Class in org.apache.pulsar.metadata.cache.impl
 
JSONMetadataSerdeSimpleType(JavaType) - Constructor for class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeSimpleType
 
JSONMetadataSerdeTypeRef<T> - Class in org.apache.pulsar.metadata.cache.impl
 
JSONMetadataSerdeTypeRef(TypeReference<T>) - Constructor for class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeTypeRef
 

L

layoutManager - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
LeaderElection<T> - Interface in org.apache.pulsar.metadata.api.coordination
Leader election controller.
LeaderElectionState - Enum Class in org.apache.pulsar.metadata.api.coordination
State of the leader election.
Leading - Enum constant in enum class org.apache.pulsar.metadata.api.coordination.LeaderElectionState
We are currently the leader.
ledgerIdGenPathPresent() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerIdGenerator
Checks the existence of the long ledger id gen path.
ledgerManagerFactory - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
ledgersRootPath - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
LegacyHierarchicalLedgerRangeIterator - Class in org.apache.pulsar.metadata.bookkeeper
Hierarchical Ledger Manager which manages ledger meta in zookeeper using 2-level hierarchical znodes.
LegacyHierarchicalLedgerRangeIterator(MetadataStore, String) - Constructor for class org.apache.pulsar.metadata.bookkeeper.LegacyHierarchicalLedgerRangeIterator
 
listeners - Variable in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
listLedgersToRereplicate(Predicate<List<String>>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
Get a list of all the underreplicated ledgers which have been marked for rereplication, filtered by the predicate on the replicas list.
listLocks(String) - Method in interface org.apache.pulsar.metadata.api.coordination.LockManager
List all the locks that are children of a specific path.
LocalMemoryMetadataStore - Class in org.apache.pulsar.metadata.impl
 
LocalMemoryMetadataStore(String, MetadataStoreConfig) - Constructor for class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
LockBusyException() - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.LockBusyException
 
LockBusyException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.LockBusyException
 
LockBusyException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.LockBusyException
 
LockManager<T> - Interface in org.apache.pulsar.metadata.api.coordination
Controller for acquiring distributed lock on resources.

M

markLedgerReplicated(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
markLedgerUnderreplicatedAsync(long, Collection<String>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
METADATA_STORE_INSTANCE - Static variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
METADATA_STORE_SCHEME - Static variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
MetadataCache<T> - Interface in org.apache.pulsar.metadata.api
Represent the caching layer access for a specific type of objects.
MetadataCacheConfig - Class in org.apache.pulsar.metadata.api
The configuration builder for a MetadataCache config.
MetadataCacheConfig() - Constructor for class org.apache.pulsar.metadata.api.MetadataCacheConfig
 
MetadataCacheImpl<T> - Class in org.apache.pulsar.metadata.cache.impl
 
MetadataCacheImpl(MetadataStore, TypeReference<T>, MetadataCacheConfig) - Constructor for class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
MetadataCacheImpl(MetadataStore, JavaType, MetadataCacheConfig) - Constructor for class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
MetadataCacheImpl(MetadataStore, MetadataSerde<T>, MetadataCacheConfig) - Constructor for class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
MetadataEvent - Class in org.apache.pulsar.metadata.api
Metadata event used by MetadataEventSynchronizer.
MetadataEvent(String, byte[], HashSet<CreateOption>, Long, long, String, NotificationType) - Constructor for class org.apache.pulsar.metadata.api.MetadataEvent
 
MetadataEventSynchronizer - Interface in org.apache.pulsar.metadata.api
Metadata synchronizer to notify and synchronize metadata change events.
MetadataOp - Interface in org.apache.pulsar.metadata.impl.batching
 
MetadataOp.Type - Enum Class in org.apache.pulsar.metadata.impl.batching
 
MetadataSerde<T> - Interface in org.apache.pulsar.metadata.api
Interface that define a serializer/deserializer implementation.
metadataServiceUri(String) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 
MetadataStore - Interface in org.apache.pulsar.metadata.api
Metadata store client interface.
METADATASTORE_PROVIDERS_PROPERTY - Static variable in class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
 
MetadataStoreConfig - Class in org.apache.pulsar.metadata.api
The configuration builder for a MetadataStore config.
MetadataStoreConfig() - Constructor for class org.apache.pulsar.metadata.api.MetadataStoreConfig
 
MetadataStoreException - Exception in org.apache.pulsar.metadata.api
Generic metadata store exception.
MetadataStoreException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException
 
MetadataStoreException(String, Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException
 
MetadataStoreException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException
 
MetadataStoreException.AlreadyClosedException - Exception in org.apache.pulsar.metadata.api
The store was already closed.
MetadataStoreException.AlreadyExistsException - Exception in org.apache.pulsar.metadata.api
Key was already in store.
MetadataStoreException.BadVersionException - Exception in org.apache.pulsar.metadata.api
Unsuccessful update due to mismatched expected version.
MetadataStoreException.ContentDeserializationException - Exception in org.apache.pulsar.metadata.api
Failed to de-serialize the metadata.
MetadataStoreException.InvalidImplementationException - Exception in org.apache.pulsar.metadata.api
Implementation is invalid.
MetadataStoreException.InvalidPathException - Exception in org.apache.pulsar.metadata.api
 
MetadataStoreException.LockBusyException - Exception in org.apache.pulsar.metadata.api
A resource lock is already taken by a different instance.
MetadataStoreException.NotFoundException - Exception in org.apache.pulsar.metadata.api
Key not found in store.
MetadataStoreExtended - Interface in org.apache.pulsar.metadata.api.extended
Extension of the MetadataStore interface that includes more methods which might not be supported by all implementations.
MetadataStoreFactory - Class in org.apache.pulsar.metadata.api
Factory class for MetadataStore.
MetadataStoreFactory() - Constructor for class org.apache.pulsar.metadata.api.MetadataStoreFactory
 
MetadataStoreFactoryImpl - Class in org.apache.pulsar.metadata.impl
 
MetadataStoreFactoryImpl() - Constructor for class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
 
MetadataStoreLifecycle - Interface in org.apache.pulsar.metadata.api
Extension of the MetadataStore interface that supports lifecycle operation methods which might not be supported by all implementations.
MetadataStoreProvider - Interface in org.apache.pulsar.metadata.api
 
Modified - Enum constant in enum class org.apache.pulsar.metadata.api.NotificationType
 
multi(Iterable<Op>) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
multi(Iterable<Op>, AsyncCallback.MultiCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 

N

newBaseClientConfiguration() - Static method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
newBuilder() - Static method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
newClient() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
newLedgerAuditorManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
newLedgerIdGenerator() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
newLedgerManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
newLedgerUnderreplicationManager() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
next() - Method in class org.apache.pulsar.metadata.bookkeeper.CombinedLedgerRangeIterator
 
next() - Method in class org.apache.pulsar.metadata.bookkeeper.LegacyHierarchicalLedgerRangeIterator
 
NoLeader - Enum constant in enum class org.apache.pulsar.metadata.api.coordination.LeaderElectionState
No leader has been elected yet.
NotFoundException() - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.NotFoundException
 
NotFoundException(String) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.apache.pulsar.metadata.api.MetadataStoreException.NotFoundException
 
Notification - Class in org.apache.pulsar.metadata.api
 
Notification() - Constructor for class org.apache.pulsar.metadata.api.Notification
 
NotificationType - Enum Class in org.apache.pulsar.metadata.api
 
notify(MetadataEvent) - Method in interface org.apache.pulsar.metadata.api.MetadataEventSynchronizer
Notify metadata change event.
notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<Void>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<Void>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
notifyParentChildrenChanged(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<Void>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
nukeExistingCluster() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
numBookies(int) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster.BKClusterConf
 

O

OpDelete - Class in org.apache.pulsar.metadata.impl.batching
 
OpDelete() - Constructor for class org.apache.pulsar.metadata.impl.batching.OpDelete
 
operationRetryPolicy(RetryPolicy) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
OpGet - Class in org.apache.pulsar.metadata.impl.batching
 
OpGet() - Constructor for class org.apache.pulsar.metadata.impl.batching.OpGet
 
OpGetChildren - Class in org.apache.pulsar.metadata.impl.batching
 
OpGetChildren() - Constructor for class org.apache.pulsar.metadata.impl.batching.OpGetChildren
 
OpPut - Class in org.apache.pulsar.metadata.impl.batching
 
OpPut() - Constructor for class org.apache.pulsar.metadata.impl.batching.OpPut
 
org.apache.pulsar.metadata.api - package org.apache.pulsar.metadata.api
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.api.coordination - package org.apache.pulsar.metadata.api.coordination
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.api.extended - package org.apache.pulsar.metadata.api.extended
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.bookkeeper - package org.apache.pulsar.metadata.bookkeeper
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.cache.impl - package org.apache.pulsar.metadata.cache.impl
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.coordination.impl - package org.apache.pulsar.metadata.coordination.impl
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.impl - package org.apache.pulsar.metadata.impl
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.pulsar.metadata.impl.batching - package org.apache.pulsar.metadata.impl.batching
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

P

parent(String) - Static method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
pollLedgerToRereplicate() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
prepareFormat() - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
process(WatchedEvent) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
process(WatchedEvent) - Method in class org.apache.pulsar.metadata.impl.ZKSessionWatcher
 
PulsarLedgerIdGenerator - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarLedgerIdGenerator(MetadataStoreExtended, String) - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerIdGenerator
 
PulsarLedgerManager - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarLedgerManagerFactory - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarLedgerManagerFactory() - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
PulsarLedgerUnderreplicationManager - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarLedgerUnderreplicationManager(AbstractConfiguration<?>, MetadataStoreExtended, String) - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
PulsarMetadataBookieDriver - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarMetadataBookieDriver() - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataBookieDriver
 
PulsarMetadataClientDriver - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarMetadataClientDriver() - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
PulsarRegistrationClient - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarRegistrationClient(MetadataStore, String) - Constructor for class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
PulsarRegistrationManager - Class in org.apache.pulsar.metadata.bookkeeper
 
PulsarZooKeeperClient - Class in org.apache.pulsar.metadata.impl
Provide a zookeeper client to handle session expire.
PulsarZooKeeperClient(String, int, ZooKeeperWatcherBase, RetryPolicy, RetryPolicy, StatsLogger, int, double, boolean) - Constructor for class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
PulsarZooKeeperClient.Builder - Class in org.apache.pulsar.metadata.impl
A builder to build retryable zookeeper client.
put(String, byte[], Optional<Long>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Put a new value for a given key.
put(String, byte[], Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
put(String, byte[], Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
put(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in interface org.apache.pulsar.metadata.api.extended.MetadataStoreExtended
Put a new value for a given key.
put(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
put(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
PUT - Enum constant in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
 
PUT - Enum constant in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
 
putInternal(String, byte[], Optional<Long>, Set<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 

R

readBookieServiceInfoAsync(BookieId) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
readCookie(BookieId) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
readLedgerMetadata(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
readLock(String) - Method in interface org.apache.pulsar.metadata.api.coordination.LockManager
Read the content of an existing lock.
readModifyUpdate(String, Function<T, T>) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Perform an atomic read-modify-update of the value.
readModifyUpdate(String, Function<T, T>) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
readModifyUpdateOrCreate(String, Function<Optional<T>, T>) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Perform an atomic read-modify-update of the value.
readModifyUpdateOrCreate(String, Function<Optional<T>, T>) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
receivedNotification(Notification) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
receivedSessionEvent(SessionEvent) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
receivedSessionEvent(SessionEvent) - Method in class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
receivedSessionEvent(SessionEvent) - Method in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
Reconnected - Enum constant in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
The client was able to successfully reconnect.
refresh(String) - Method in interface org.apache.pulsar.metadata.api.MetadataCache
Invalidate and reload an object in the metadata cache.
refresh(String) - Method in class org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl
 
register(Watcher) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
registerBookie(BookieId, boolean, BookieServiceInfo) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
registerLedgerMetadataListener(long, BookkeeperInternalCallbacks.LedgerMetadataListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
registerListener(Consumer<Notification>) - Method in interface org.apache.pulsar.metadata.api.MetadataStore
Register a listener that will be called on changes in the underlying store.
registerListener(Consumer<Notification>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
registerListener(Consumer<Notification>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
registerSessionListener(Consumer<SessionEvent>) - Method in interface org.apache.pulsar.metadata.api.extended.MetadataStoreExtended
Register a session listener that will get notified of changes in status of the current session.
registerSessionListener(Consumer<SessionEvent>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
registerSessionListener(Consumer<SessionEvent>) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
registerSyncListener(Function<MetadataEvent, CompletableFuture<Void>>) - Method in interface org.apache.pulsar.metadata.api.MetadataEventSynchronizer
Register notification listener to sync metadata event in local cluster.
registerSyncLister(Optional<MetadataEventSynchronizer>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
registrationClient - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
registrationManager - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
release() - Method in interface org.apache.pulsar.metadata.api.coordination.ResourceLock
Release the lock on the resource.
release() - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
releaseUnderreplicatedLedger(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
removeCookie(BookieId, Version) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
removeIdentifierFromMetadataURL(String) - Static method in class org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl
Removes the identifier from the full metadata url.
removeLedgerMetadata(long, Version) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
requestRateLimit(double) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
ResourceLock<T> - Interface in org.apache.pulsar.metadata.api.coordination
Represent a lock that the current process has on a shared resource.
ResourceLockImpl<T> - Class in org.apache.pulsar.metadata.coordination.impl
 
ResourceLockImpl(MetadataStoreExtended, MetadataSerde<T>, String) - Constructor for class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
retryThreadCount(int) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
RocksdbMetadataStore - Class in org.apache.pulsar.metadata.impl
 

S

Sequential - Enum constant in enum class org.apache.pulsar.metadata.api.extended.CreateOption
Create a sequential unique key.
serialize(String, BookieServiceInfo) - Method in class org.apache.pulsar.metadata.bookkeeper.BookieServiceInfoSerde
 
serialize(String, T) - Method in interface org.apache.pulsar.metadata.api.MetadataSerde
Serialize the object into a byte array.
serialize(String, T) - Method in class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeSimpleType
 
serialize(String, T) - Method in class org.apache.pulsar.metadata.cache.impl.JSONMetadataSerdeTypeRef
 
SessionEvent - Enum Class in org.apache.pulsar.metadata.api.extended
An event regarding a session of MetadataStore.
SessionLost - Enum constant in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
The session was lost, all the ephemeral keys created on the store within the current session might have been already expired.
SessionReestablished - Enum constant in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
The session was established.
sessionTimeoutMs(int) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
setACL(String, List<ACL>, int) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
setACL(String, List<ACL>, int, AsyncCallback.StatCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
setAlwaysFail(MetadataStoreException) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
setCheckAllLedgersCTime(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
setData(String, byte[], int) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
setData(String, byte[], int, AsyncCallback.StatCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
setLostBookieRecoveryDelay(int) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
setPlacementPolicyCheckCTime(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
setReplicasCheckCTime(long) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerUnderreplicationManager
 
setSessionStateListener(MetadataClientDriver.SessionStateListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarMetadataClientDriver
 
shouldIgnoreEvent(MetadataEvent, GetResult) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
size() - Method in interface org.apache.pulsar.metadata.impl.batching.MetadataOp
 
size() - Method in class org.apache.pulsar.metadata.impl.batching.OpDelete
 
size() - Method in class org.apache.pulsar.metadata.impl.batching.OpGet
 
size() - Method in class org.apache.pulsar.metadata.impl.batching.OpGetChildren
 
size() - Method in class org.apache.pulsar.metadata.impl.batching.OpPut
 
startAllBookies() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
startBookie(ServerConfiguration) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
Helper method to startup a bookie server using a configuration object.
startNewBookie(int) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
Helper method to startup a new bookie server with the indicated port number.
Stat - Class in org.apache.pulsar.metadata.api
Represent the information associated with a given value in the store.
Stat() - Constructor for class org.apache.pulsar.metadata.api.Stat
 
statsLogger(StatsLogger) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
stopAllBookies() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
stopAllBookies(boolean) - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
 
stopBKCluster() - Method in class org.apache.pulsar.metadata.bookkeeper.BKCluster
Stop cluster.
store - Variable in class org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
 
storeDelete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
storeDelete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
storeDelete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
storeDelete(String, Optional<Long>) - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
storeGet(String) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
storeGet(String) - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
storeGet(String) - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
storeGet(String) - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
storePut(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.AbstractMetadataStore
 
storePut(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore
 
storePut(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.EtcdMetadataStore
 
storePut(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.LocalMemoryMetadataStore
 
storePut(String, byte[], Optional<Long>, EnumSet<CreateOption>) - Method in class org.apache.pulsar.metadata.impl.RocksdbMetadataStore
 
sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 

T

toString() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
transaction() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
Deprecated.
triggerSessionEvent(SessionEvent) - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 

U

unregisterBookie(BookieId, boolean) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
unregisterLedgerMetadataListener(long, BookkeeperInternalCallbacks.LedgerMetadataListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 
unsetAlwaysFail() - Method in class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore
 
unwatchReadOnlyBookies(RegistrationClient.RegistrationListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
unwatchWritableBookies(RegistrationClient.RegistrationListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
unwrap(Throwable) - Static method in exception org.apache.pulsar.metadata.api.MetadataStoreException
 
updateValue(T) - Method in interface org.apache.pulsar.metadata.api.coordination.ResourceLock
Update the value of the lock.
updateValue(T) - Method in class org.apache.pulsar.metadata.coordination.impl.ResourceLockImpl
 
urlScheme() - Method in interface org.apache.pulsar.metadata.api.MetadataStoreProvider
Scheme of the urls that MetadataSores provided by this object can handle.

V

validateAndNukeExistingCluster(AbstractConfiguration<?>, LayoutManager) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManagerFactory
 
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.api.coordination.LeaderElectionState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.api.extended.CreateOption
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.api.NotificationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.pulsar.metadata.api.coordination.LeaderElectionState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.metadata.api.extended.CreateOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.metadata.api.extended.SessionEvent
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.metadata.api.NotificationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.metadata.impl.batching.MetadataOp.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.metadata.impl.FaultInjectionMetadataStore.OperationType
Returns an array containing the constants of this enum class, in the order they are declared.

W

waitForConnection() - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient
 
watchers(Set<Watcher>) - Method in class org.apache.pulsar.metadata.impl.PulsarZooKeeperClient.Builder
 
watchReadOnlyBookies(RegistrationClient.RegistrationListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
watchWritableBookies(RegistrationClient.RegistrationListener) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationClient
 
wrap(Throwable) - Static method in exception org.apache.pulsar.metadata.api.MetadataStoreException
 
writeCookie(BookieId, Versioned<byte[]>) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarRegistrationManager
 
writeLedgerMetadata(long, LedgerMetadata, Version) - Method in class org.apache.pulsar.metadata.bookkeeper.PulsarLedgerManager
 

Z

ZK_SCHEME - Static variable in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
ZK_SCHEME_IDENTIFIER - Static variable in class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
ZKMetadataStore - Class in org.apache.pulsar.metadata.impl
 
ZKMetadataStore(String, MetadataStoreConfig, boolean) - Constructor for class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
ZKMetadataStore(ZooKeeper) - Constructor for class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
ZKMetadataStore(ZooKeeper, MetadataStoreConfig) - Constructor for class org.apache.pulsar.metadata.impl.ZKMetadataStore
 
ZKSessionWatcher - Class in org.apache.pulsar.metadata.impl
Monitor the ZK session state every few seconds and send notifications.
ZKSessionWatcher(ZooKeeper, Consumer<SessionEvent>) - Constructor for class org.apache.pulsar.metadata.impl.ZKSessionWatcher
 
A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form