public class SharedStoreSlavePolicyConfiguration extends Object implements HAPolicyConfiguration
HAPolicyConfiguration.TYPE
Constructor and Description |
---|
SharedStoreSlavePolicyConfiguration() |
Modifier and Type | Method and Description |
---|---|
long |
getFailbackDelay()
Deprecated.
|
ScaleDownConfiguration |
getScaleDownConfiguration() |
HAPolicyConfiguration.TYPE |
getType() |
boolean |
isAllowFailBack() |
boolean |
isFailoverOnServerShutdown() |
boolean |
isRestartBackup() |
SharedStoreSlavePolicyConfiguration |
setAllowFailBack(boolean allowFailBack) |
SharedStoreSlavePolicyConfiguration |
setFailbackDelay(long failbackDelay)
Deprecated.
|
SharedStoreSlavePolicyConfiguration |
setFailoverOnServerShutdown(boolean failoverOnServerShutdown) |
SharedStoreSlavePolicyConfiguration |
setRestartBackup(boolean restartBackup) |
SharedStoreSlavePolicyConfiguration |
setScaleDownConfiguration(ScaleDownConfiguration scaleDownConfiguration) |
public HAPolicyConfiguration.TYPE getType()
getType
in interface HAPolicyConfiguration
public boolean isRestartBackup()
public SharedStoreSlavePolicyConfiguration setRestartBackup(boolean restartBackup)
public ScaleDownConfiguration getScaleDownConfiguration()
public SharedStoreSlavePolicyConfiguration setScaleDownConfiguration(ScaleDownConfiguration scaleDownConfiguration)
public boolean isAllowFailBack()
public SharedStoreSlavePolicyConfiguration setAllowFailBack(boolean allowFailBack)
public boolean isFailoverOnServerShutdown()
public SharedStoreSlavePolicyConfiguration setFailoverOnServerShutdown(boolean failoverOnServerShutdown)
@Deprecated public long getFailbackDelay()
@Deprecated public SharedStoreSlavePolicyConfiguration setFailbackDelay(long failbackDelay)
Copyright © 2017 JBoss by Red Hat. All rights reserved.