Class PersistencePolicies
- java.lang.Object
-
- org.apache.pulsar.common.policies.data.PersistencePolicies
-
public class PersistencePolicies extends java.lang.ObjectConfiguration of bookkeeper persistence policies.
-
-
Constructor Summary
Constructors Constructor Description PersistencePolicies()PersistencePolicies(int bookkeeperEnsemble, int bookkeeperWriteQuorum, int bookkeeperAckQuorum, double managedLedgerMaxMarkDeleteRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetBookkeeperAckQuorum()intgetBookkeeperEnsemble()intgetBookkeeperWriteQuorum()doublegetManagedLedgerMaxMarkDeleteRate()inthashCode()
-
-
-
Method Detail
-
getBookkeeperEnsemble
public int getBookkeeperEnsemble()
-
getBookkeeperWriteQuorum
public int getBookkeeperWriteQuorum()
-
getBookkeeperAckQuorum
public int getBookkeeperAckQuorum()
-
getManagedLedgerMaxMarkDeleteRate
public double getManagedLedgerMaxMarkDeleteRate()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-