Class PersistencePolicies

java.lang.Object
org.apache.pulsar.common.policies.data.PersistencePolicies

public class PersistencePolicies extends Object
Configuration of bookkeeper persistence policies.
  • Constructor Details

    • PersistencePolicies

      public PersistencePolicies()
    • PersistencePolicies

      public PersistencePolicies(int bookkeeperEnsemble, int bookkeeperWriteQuorum, int bookkeeperAckQuorum, double managedLedgerMaxMarkDeleteRate)
  • Method Details

    • getBookkeeperEnsemble

      public int getBookkeeperEnsemble()
    • getBookkeeperWriteQuorum

      public int getBookkeeperWriteQuorum()
    • getBookkeeperAckQuorum

      public int getBookkeeperAckQuorum()
    • getManagedLedgerMaxMarkDeleteRate

      public double getManagedLedgerMaxMarkDeleteRate()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object