Class PersistencePolicies
java.lang.Object
org.apache.pulsar.common.policies.data.PersistencePolicies
Configuration of bookkeeper persistence policies.
-
Constructor Summary
ConstructorDescriptionPersistencePolicies
(int bookkeeperEnsemble, int bookkeeperWriteQuorum, int bookkeeperAckQuorum, double managedLedgerMaxMarkDeleteRate) PersistencePolicies
(int bookkeeperEnsemble, int bookkeeperWriteQuorum, int bookkeeperAckQuorum, double managedLedgerMaxMarkDeleteRate, String managedLedgerStorageClassName) -
Method Summary
-
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
-
hashCode
public int hashCode() -
equals
-