Interface ResourceThresholdBean

All Superinterfaces:
weblogic.descriptor.DescriptorBean, weblogic.descriptor.SettableBean

public interface ResourceThresholdBean extends weblogic.descriptor.DescriptorBean
ResourceThresholdBean Represents a resource threshold policy for CPU, memory, etc.

Represents a resource threshold policy for system resources such as CPU or memory. The bean provides the configuration parameters for specifying resource type, and its allowed minimum and maximum thresholds.

Author:
Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved. /**
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the maximum threshold value for the resource.
    int
    Gets the minimum threshold value for the resource.
    Gets the resource name for which the threshold is being defined.
    void
    setMax(int max)
    Sets the maximum threshold value. the maximum permissible value
    void
    setMin(int min)
    Sets the minimum threshold value.
    void
    setResourceName(String resourceName)
    Sets the resource name for this threshold policy. the name of the monitored resource (e.g., "CPU", "Memory")

    Methods inherited from interface weblogic.descriptor.DescriptorBean

    addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener

    Methods inherited from interface weblogic.descriptor.SettableBean

    isSet, unSet
  • Field Details

  • Method Details

    • getResourceName

      String getResourceName()
      Gets the resource name for which the threshold is being defined.
      Returns:
      resource name
    • setResourceName

      void setResourceName(String resourceName)
      Sets the resource name for this threshold policy. the name of the monitored resource (e.g., "CPU", "Memory")
    • getMin

      int getMin()
      Gets the minimum threshold value for the resource.
      Returns:
      minimum threshold value
    • setMin

      void setMin(int min)
      Sets the minimum threshold value.
    • getMax

      int getMax()
      Gets the maximum threshold value for the resource.
      Returns:
      maximum threshold value
    • setMax

      void setMax(int max)
      Sets the maximum threshold value. the maximum permissible value