public abstract class BackupPolicy extends Object implements HAPolicy<Activation>
Modifier and Type | Field and Description |
---|---|
protected boolean |
restartBackup |
protected ScaleDownPolicy |
scaleDownPolicy |
Constructor and Description |
---|
BackupPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
getScaleDownClustername() |
String |
getScaleDownGroupName() |
ScaleDownPolicy |
getScaleDownPolicy() |
boolean |
isBackup() |
boolean |
isRestartBackup() |
void |
setRestartBackup(boolean restartBackup) |
void |
setScaleDownPolicy(ScaleDownPolicy scaleDownPolicy) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canScaleDown, createActivation, getBackupGroupName, isSharedStore, isWaitForActivation
protected ScaleDownPolicy scaleDownPolicy
protected boolean restartBackup
public ScaleDownPolicy getScaleDownPolicy()
public void setScaleDownPolicy(ScaleDownPolicy scaleDownPolicy)
public boolean isBackup()
isBackup
in interface HAPolicy<Activation>
public String getScaleDownClustername()
getScaleDownClustername
in interface HAPolicy<Activation>
public String getScaleDownGroupName()
getScaleDownGroupName
in interface HAPolicy<Activation>
public boolean isRestartBackup()
public void setRestartBackup(boolean restartBackup)
Copyright © 2017 JBoss by Red Hat. All rights reserved.