public class ReplicaPolicy extends BackupPolicy
scaleDownPolicy
Constructor and Description |
---|
ReplicaPolicy(NetworkHealthCheck networkHealthCheck) |
ReplicaPolicy(NetworkHealthCheck networkHealthCheck,
ReplicatedPolicy replicatedPolicy) |
ReplicaPolicy(String clusterName,
int maxSavedReplicatedJournalsSize,
String groupName,
boolean restartBackup,
boolean allowFailback,
long initialReplicationSyncTimeout,
ScaleDownPolicy scaleDownPolicy,
NetworkHealthCheck networkHealthCheck) |
ReplicaPolicy(String clusterName,
int maxSavedReplicatedJournalsSize,
String groupName,
ReplicatedPolicy replicatedPolicy,
NetworkHealthCheck networkHealthCheck) |
getScaleDownClustername, getScaleDownGroupName, getScaleDownPolicy, isBackup, setScaleDownPolicy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWaitForActivation
public ReplicaPolicy(NetworkHealthCheck networkHealthCheck)
public ReplicaPolicy(NetworkHealthCheck networkHealthCheck, ReplicatedPolicy replicatedPolicy)
public ReplicaPolicy(String clusterName, int maxSavedReplicatedJournalsSize, String groupName, boolean restartBackup, boolean allowFailback, long initialReplicationSyncTimeout, ScaleDownPolicy scaleDownPolicy, NetworkHealthCheck networkHealthCheck)
public ReplicaPolicy(String clusterName, int maxSavedReplicatedJournalsSize, String groupName, ReplicatedPolicy replicatedPolicy, NetworkHealthCheck networkHealthCheck)
public String getClusterName()
public void setClusterName(String clusterName)
public int getMaxSavedReplicatedJournalsSize()
public void setMaxSavedReplicatedJournalsSize(int maxSavedReplicatedJournalsSize)
public ReplicatedPolicy getReplicatedPolicy()
public void setReplicatedPolicy(ReplicatedPolicy replicatedPolicy)
public String getBackupGroupName()
public String getGroupName()
public void setGroupName(String groupName)
public boolean isRestartBackup()
isRestartBackup
in class BackupPolicy
public void setRestartBackup(boolean restartBackup)
setRestartBackup
in class BackupPolicy
public boolean isSharedStore()
public boolean canScaleDown()
public boolean isAllowFailback()
public void setAllowFailback(boolean allowFailback)
@Deprecated public long getFailbackDelay()
@Deprecated public void setFailbackDelay(long failbackDelay)
public long getInitialReplicationSyncTimeout()
public void setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
public Activation createActivation(ActiveMQServerImpl server, boolean wasLive, Map<String,Object> activationParams, ActiveMQServerImpl.ShutdownOnCriticalErrorListener shutdownOnCriticalIO) throws Exception
Exception
Copyright © 2017 JBoss by Red Hat. All rights reserved.