Uses of Enum Class
org.apache.bookkeeper.client.EnsemblePlacementPolicy.PlacementPolicyAdherence
Packages that use EnsemblePlacementPolicy.PlacementPolicyAdherence
Package
Description
Provides a Bookie server that stores entries for clients.
BookKeeper Client.
-
Uses of EnsemblePlacementPolicy.PlacementPolicyAdherence in org.apache.bookkeeper.bookie
Methods in org.apache.bookkeeper.bookie that return EnsemblePlacementPolicy.PlacementPolicyAdherenceModifier and TypeMethodDescriptionLocalBookieEnsemblePlacementPolicy.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) -
Uses of EnsemblePlacementPolicy.PlacementPolicyAdherence in org.apache.bookkeeper.client
Methods in org.apache.bookkeeper.client that return EnsemblePlacementPolicy.PlacementPolicyAdherenceModifier and TypeMethodDescriptionEnsemblePlacementPolicy.PlacementResult.getAdheringToPolicy()EnsemblePlacementPolicy.PlacementResult.isAdheringToPolicy()Deprecated.BookKeeperAdmin.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleBookiesList, int writeQuorumSize, int ackQuorumSize) returns boolean value specifying if the ensemble of the segment is adhering to the ensemble placement policy for the given writeQuorumSize and ackQuorumSize.DefaultEnsemblePlacementPolicy.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) EnsemblePlacementPolicy.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) returns AdherenceLevel if the Ensemble is strictly/softly/fails adhering to placement policy, like in the case of RackawareEnsemblePlacementPolicy, bookies in the writeset are from 'minNumRacksPerWriteQuorum' number of racks.RackawareEnsemblePlacementPolicyImpl.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) RegionAwareEnsemblePlacementPolicy.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) ZoneawareEnsemblePlacementPolicyImpl.isEnsembleAdheringToPlacementPolicy(List<BookieId> ensembleList, int writeQuorumSize, int ackQuorumSize) Returns the enum constant of this class with the specified name.EnsemblePlacementPolicy.PlacementPolicyAdherence.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.bookkeeper.client with parameters of type EnsemblePlacementPolicy.PlacementPolicyAdherenceModifier and TypeMethodDescriptionstatic <T> EnsemblePlacementPolicy.PlacementResult<T>EnsemblePlacementPolicy.PlacementResult.of(T result, EnsemblePlacementPolicy.PlacementPolicyAdherence policyAdherence)