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 -
Method Summary
Modifier and TypeMethodDescriptionintgetMax()Gets the maximum threshold value for the resource.intgetMin()Gets the minimum threshold value for the resource.Gets the resource name for which the threshold is being defined.voidsetMax(int max) Sets the maximum threshold value. the maximum permissible valuevoidsetMin(int min) Sets the minimum threshold value.voidsetResourceName(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, removePropertyChangeListenerMethods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
-
Field Details
-
CPU
- See Also:
-
MEMORY
- See Also:
-
STREAMCOUNT
- See Also:
-
-
Method Details
-
getResourceName
String getResourceName()Gets the resource name for which the threshold is being defined.- Returns:
- resource name
-
setResourceName
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
-