Uses of Enum Class
org.apache.pulsar.metadata.api.coordination.LeaderElectionState
Packages that use LeaderElectionState
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of LeaderElectionState in org.apache.pulsar.metadata.api.coordination
Methods in org.apache.pulsar.metadata.api.coordination that return LeaderElectionStateModifier and TypeMethodDescriptionLeaderElection.getState()Get the current leader election state.static LeaderElectionStateReturns the enum constant of this class with the specified name.static LeaderElectionState[]LeaderElectionState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.pulsar.metadata.api.coordination that return types with arguments of type LeaderElectionStateModifier and TypeMethodDescriptionTry to become the leader.Method parameters in org.apache.pulsar.metadata.api.coordination with type arguments of type LeaderElectionStateModifier and TypeMethodDescription<T> LeaderElection<T>CoordinationService.getLeaderElection(Class<T> clazz, String path, Consumer<LeaderElectionState> stateChangesListener) Create a newLeaderElectioncontroller. -
Uses of LeaderElectionState in org.apache.pulsar.metadata.coordination.impl
Method parameters in org.apache.pulsar.metadata.coordination.impl with type arguments of type LeaderElectionStateModifier and TypeMethodDescription<T> LeaderElection<T>CoordinationServiceImpl.getLeaderElection(Class<T> clazz, String path, Consumer<LeaderElectionState> stateChangesListener)