Class ReplicationPrimaryPolicyConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.ha.ReplicationPrimaryPolicyConfiguration
-
- All Implemented Interfaces:
Serializable
,HAPolicyConfiguration
public class ReplicationPrimaryPolicyConfiguration 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
-
-
Method Summary
-
-
-
Method Detail
-
withDefault
public static ReplicationPrimaryPolicyConfiguration withDefault()
-
getType
public HAPolicyConfiguration.TYPE getType()
- Specified by:
getType
in interfaceHAPolicyConfiguration
-
getGroupName
public String getGroupName()
-
setGroupName
public ReplicationPrimaryPolicyConfiguration setGroupName(String groupName)
-
getClusterName
public String getClusterName()
-
setClusterName
public ReplicationPrimaryPolicyConfiguration setClusterName(String clusterName)
-
getInitialReplicationSyncTimeout
public long getInitialReplicationSyncTimeout()
-
setInitialReplicationSyncTimeout
public ReplicationPrimaryPolicyConfiguration setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
-
setRetryReplicationWait
public void setRetryReplicationWait(Long retryReplicationWait)
-
getRetryReplicationWait
public Long getRetryReplicationWait()
-
setDistributedManagerConfiguration
public ReplicationPrimaryPolicyConfiguration setDistributedManagerConfiguration(DistributedLockManagerConfiguration configuration)
-
getDistributedManagerConfiguration
public DistributedLockManagerConfiguration getDistributedManagerConfiguration()
-
getCoordinationId
public String getCoordinationId()
-
setCoordinationId
public void setCoordinationId(String newCoordinationId)
-
getMaxSavedReplicatedJournalsSize
public int getMaxSavedReplicatedJournalsSize()
-
setMaxSavedReplicatedJournalsSize
public ReplicationPrimaryPolicyConfiguration setMaxSavedReplicatedJournalsSize(int maxSavedReplicatedJournalsSize)
-
-