public class SharedStoreSlavePolicy extends BackupPolicy
restartBackup, scaleDownPolicy
Constructor and Description |
---|
SharedStoreSlavePolicy() |
SharedStoreSlavePolicy(boolean failoverOnServerShutdown,
boolean restartBackup,
boolean allowAutoFailBack,
ScaleDownPolicy scaleDownPolicy) |
Modifier and Type | Method and Description |
---|---|
boolean |
canScaleDown() |
Activation |
createActivation(ActiveMQServerImpl server,
boolean wasLive,
Map<String,Object> activationParams,
IOCriticalErrorListener ioCriticalErrorListener) |
String |
getBackupGroupName() |
long |
getFailbackDelay()
Deprecated.
|
SharedStoreMasterPolicy |
getSharedStoreMasterPolicy() |
boolean |
isAllowAutoFailBack() |
boolean |
isFailoverOnServerShutdown() |
boolean |
isSharedStore() |
void |
setAllowAutoFailBack(boolean allowAutoFailBack) |
void |
setFailbackDelay(long failbackDelay)
Deprecated.
|
void |
setFailoverOnServerShutdown(boolean failoverOnServerShutdown) |
void |
setIsWaitForActivation(boolean isWaitForActivation) |
void |
setSharedStoreMasterPolicy(SharedStoreMasterPolicy sharedStoreMasterPolicy) |
getScaleDownClustername, getScaleDownGroupName, getScaleDownPolicy, isBackup, isRestartBackup, setRestartBackup, setScaleDownPolicy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWaitForActivation
public SharedStoreSlavePolicy()
public SharedStoreSlavePolicy(boolean failoverOnServerShutdown, boolean restartBackup, boolean allowAutoFailBack, ScaleDownPolicy scaleDownPolicy)
@Deprecated public long getFailbackDelay()
@Deprecated public void setFailbackDelay(long failbackDelay)
public boolean isFailoverOnServerShutdown()
public void setFailoverOnServerShutdown(boolean failoverOnServerShutdown)
public SharedStoreMasterPolicy getSharedStoreMasterPolicy()
public void setSharedStoreMasterPolicy(SharedStoreMasterPolicy sharedStoreMasterPolicy)
public boolean isSharedStore()
public boolean canScaleDown()
public boolean isAllowAutoFailBack()
public void setAllowAutoFailBack(boolean allowAutoFailBack)
public void setIsWaitForActivation(boolean isWaitForActivation)
public Activation createActivation(ActiveMQServerImpl server, boolean wasLive, Map<String,Object> activationParams, IOCriticalErrorListener ioCriticalErrorListener)
public String getBackupGroupName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.