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)
    • PersistencePolicies

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

    • getBookkeeperEnsemble

      public int getBookkeeperEnsemble()
    • getBookkeeperWriteQuorum

      public int getBookkeeperWriteQuorum()
    • getBookkeeperAckQuorum

      public int getBookkeeperAckQuorum()
    • getManagedLedgerMaxMarkDeleteRate

      public double getManagedLedgerMaxMarkDeleteRate()
    • getManagedLedgerStorageClassName

      public String getManagedLedgerStorageClassName()
    • hashCode

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

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