public interface WLDFScalingActionBean extends WLDFNotificationBean
Base interface that defines the common attributes for all scaling event actions that can be assigned to a WLDF policy. Each scaling action type can be configured to scale a target cluster up or down a number of instances, indicated by the scaling factor attribute.
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Indicates the name of the cluster to perform the scaling action on.
|
int |
getScalingSize()
Indicates the number of instances to scale by when the action is invoked.
|
void |
setClusterName(String name)
Set cluster name
|
void |
setScalingSize(int factor)
Sets the scaling factor which is the number of instances to scale by when the action is invoked.
|
getTimeout, isEnabled, setEnabled, setTimeout
String getClusterName()
void setClusterName(String name)
name
- Name of the cluster on which to perform scaling actionint getScalingSize()
void setScalingSize(int factor)
factor
- Scaling factor