Uses of Class
org.apache.pulsar.metadata.api.coordination.LeaderElectionState
-
Packages that use LeaderElectionState Package Description org.apache.pulsar.metadata.api.coordination Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.metadata.coordination.impl 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 LeaderElectionState Modifier and Type Method Description LeaderElectionStateLeaderElection. getState()Get the current leader election state.static LeaderElectionStateLeaderElectionState. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LeaderElectionState[]LeaderElectionState. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.pulsar.metadata.api.coordination that return types with arguments of type LeaderElectionState Modifier and Type Method Description java.util.concurrent.CompletableFuture<LeaderElectionState>LeaderElection. elect(T proposedValue)Try to become the leader.Method parameters in org.apache.pulsar.metadata.api.coordination with type arguments of type LeaderElectionState Modifier and Type Method Description <T> LeaderElection<T>CoordinationService. getLeaderElection(java.lang.Class<T> clazz, java.lang.String path, java.util.function.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 LeaderElectionState Modifier and Type Method Description <T> LeaderElection<T>CoordinationServiceImpl. getLeaderElection(java.lang.Class<T> clazz, java.lang.String path, java.util.function.Consumer<LeaderElectionState> stateChangesListener)
-