public class ReplicatedPolicy extends Object implements HAPolicy<LiveActivation>
Constructor and Description |
---|
ReplicatedPolicy(boolean checkForLiveServer,
boolean allowAutoFailBack,
long initialReplicationSyncTimeout,
String groupName,
String clusterName,
ReplicaPolicy replicaPolicy,
NetworkHealthCheck networkHealthCheck) |
ReplicatedPolicy(boolean checkForLiveServer,
String groupName,
String clusterName,
long initialReplicationSyncTimeout,
NetworkHealthCheck networkHealthCheck) |
ReplicatedPolicy(NetworkHealthCheck networkHealthCheck) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWaitForActivation
public ReplicatedPolicy(NetworkHealthCheck networkHealthCheck)
public ReplicatedPolicy(boolean checkForLiveServer, String groupName, String clusterName, long initialReplicationSyncTimeout, NetworkHealthCheck networkHealthCheck)
public ReplicatedPolicy(boolean checkForLiveServer, boolean allowAutoFailBack, long initialReplicationSyncTimeout, String groupName, String clusterName, ReplicaPolicy replicaPolicy, NetworkHealthCheck networkHealthCheck)
public boolean isCheckForLiveServer()
public void setCheckForLiveServer(boolean checkForLiveServer)
public boolean isAllowAutoFailBack()
@Deprecated public long getFailbackDelay()
@Deprecated public void setFailbackDelay(long failbackDelay)
public long getInitialReplicationSyncTimeout()
public void setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
public String getClusterName()
public void setClusterName(String clusterName)
public ReplicaPolicy getReplicaPolicy()
public void setReplicaPolicy(ReplicaPolicy replicaPolicy)
public String getBackupGroupName()
getBackupGroupName
in interface HAPolicy<LiveActivation>
public String getGroupName()
public String getScaleDownGroupName()
getScaleDownGroupName
in interface HAPolicy<LiveActivation>
public void setGroupName(String groupName)
public boolean isSharedStore()
isSharedStore
in interface HAPolicy<LiveActivation>
public boolean isBackup()
isBackup
in interface HAPolicy<LiveActivation>
public boolean canScaleDown()
canScaleDown
in interface HAPolicy<LiveActivation>
public String getScaleDownClustername()
getScaleDownClustername
in interface HAPolicy<LiveActivation>
public void setAllowAutoFailBack(boolean allowAutoFailBack)
public LiveActivation createActivation(ActiveMQServerImpl server, boolean wasLive, Map<String,Object> activationParams, ActiveMQServerImpl.ShutdownOnCriticalErrorListener shutdownOnCriticalIO)
createActivation
in interface HAPolicy<LiveActivation>
Copyright © 2017 JBoss by Red Hat. All rights reserved.