Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFScalingActionBean

All Superinterfaces:
WLDFBean, WLDFNotificationBean
All Known Subinterfaces:
WLDFScaleDownActionBean, WLDFScaleUpActionBean

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.


Method Summary
abstract  String getClusterName()
          Indicates the name of the cluster to perform the scaling action on.
abstract  int getScalingSize()
          Indicates the number of instances to scale by when the action is invoked.
abstract  void setClusterName(String name)
          Set cluster name
abstract  void setScalingSize(int factor)
          Sets the scaling factor which is the number of instances to scale by when the action is invoked.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFNotificationBean
getTimeout, isEnabled, setEnabled, setTimeout

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

getClusterName

String getClusterName()
Indicates the name of the cluster to perform the scaling action on.
Returns:
Cluster name

setClusterName

void setClusterName(String name)
Set cluster name
Parameters:
name - Name of the cluster on which to perform scaling action

getScalingSize

int getScalingSize()
Indicates the number of instances to scale by when the action is invoked.
Returns:
Scaling factor

setScalingSize

void setScalingSize(int factor)
Sets the scaling factor which is the number of instances to scale by when the action is invoked.
Parameters:
factor - Scaling factor

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09