Class ReplicatedPolicyConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.ha.ReplicatedPolicyConfiguration
-
- All Implemented Interfaces:
Serializable
,HAPolicyConfiguration
public class ReplicatedPolicyConfiguration extends Object implements HAPolicyConfiguration
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.activemq.artemis.core.config.HAPolicyConfiguration
HAPolicyConfiguration.TYPE
-
-
Constructor Summary
Constructors Constructor Description ReplicatedPolicyConfiguration()
-
Method Summary
-
-
-
Method Detail
-
getType
public HAPolicyConfiguration.TYPE getType()
- Specified by:
getType
in interfaceHAPolicyConfiguration
-
isCheckForActiveServer
public boolean isCheckForActiveServer()
-
setCheckForActiveServer
public ReplicatedPolicyConfiguration setCheckForActiveServer(boolean checkForPrimaryServer)
-
getGroupName
public String getGroupName()
-
setGroupName
public ReplicatedPolicyConfiguration setGroupName(String groupName)
-
getClusterName
public String getClusterName()
-
setClusterName
public ReplicatedPolicyConfiguration setClusterName(String clusterName)
-
getMaxSavedReplicatedJournalsSize
public int getMaxSavedReplicatedJournalsSize()
-
setMaxSavedReplicatedJournalsSize
public ReplicatedPolicyConfiguration setMaxSavedReplicatedJournalsSize(int maxSavedReplicatedJournalsSize)
-
getInitialReplicationSyncTimeout
public long getInitialReplicationSyncTimeout()
-
setInitialReplicationSyncTimeout
public ReplicatedPolicyConfiguration setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
-
getVoteOnReplicationFailure
public boolean getVoteOnReplicationFailure()
-
setVoteOnReplicationFailure
public ReplicatedPolicyConfiguration setVoteOnReplicationFailure(boolean voteOnReplicationFailure)
-
getQuorumSize
public int getQuorumSize()
-
setQuorumSize
public ReplicatedPolicyConfiguration setQuorumSize(int quorumSize)
-
getVoteRetries
public int getVoteRetries()
-
setVoteRetries
public ReplicatedPolicyConfiguration setVoteRetries(int voteRetries)
-
setVoteRetryWait
public ReplicatedPolicyConfiguration setVoteRetryWait(long voteRetryWait)
-
getVoteRetryWait
public long getVoteRetryWait()
-
getQuorumVoteWait
public int getQuorumVoteWait()
-
setQuorumVoteWait
public ReplicatedPolicyConfiguration setQuorumVoteWait(int quorumVoteWait)
-
setRetryReplicationWait
public void setRetryReplicationWait(Long retryReplicationWait)
-
getRetryReplicationWait
public Long getRetryReplicationWait()
-
-