public class ReplicaPolicyConfiguration extends Object implements HAPolicyConfiguration
HAPolicyConfiguration.TYPE
Constructor and Description |
---|
ReplicaPolicyConfiguration() |
public HAPolicyConfiguration.TYPE getType()
getType
in interface HAPolicyConfiguration
public ScaleDownConfiguration getScaleDownConfiguration()
public ReplicaPolicyConfiguration setScaleDownConfiguration(ScaleDownConfiguration scaleDownConfiguration)
public String getClusterName()
public ReplicaPolicyConfiguration setClusterName(String clusterName)
public int getMaxSavedReplicatedJournalsSize()
public ReplicaPolicyConfiguration setMaxSavedReplicatedJournalsSize(int maxSavedReplicatedJournalsSize)
public String getGroupName()
public ReplicaPolicyConfiguration setGroupName(String groupName)
public boolean isRestartBackup()
public ReplicaPolicyConfiguration setRestartBackup(boolean restartBackup)
public boolean isAllowFailBack()
public ReplicaPolicyConfiguration setAllowFailBack(boolean allowFailBack)
@Deprecated public ReplicaPolicyConfiguration setFailbackDelay(long failbackDelay)
@Deprecated public long getFailbackDelay()
public long getInitialReplicationSyncTimeout()
public ReplicaPolicyConfiguration setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
Copyright © 2017 JBoss by Red Hat. All rights reserved.