ServiceLoadMetricWeight Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. ServiceLoadMetricWeight
- com.
- com.
public final class ServiceLoadMetricWeight
extends ExpandableStringEnum<ServiceLoadMetricWeight>
Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Service |
HIGH
Static value High for Service |
static final
Service |
LOW
Static value Low for Service |
static final
Service |
MEDIUM
Static value Medium for Service |
static final
Service |
ZERO
Static value Zero for Service |
Constructor Summary
Constructor | Description |
---|---|
ServiceLoadMetricWeight() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromString(String name)
Creates or finds a Service |
static
Collection<Service |
values()
Gets known Service |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HIGH
public static final ServiceLoadMetricWeight HIGH
Static value High for ServiceLoadMetricWeight.
LOW
public static final ServiceLoadMetricWeight LOW
Static value Low for ServiceLoadMetricWeight.
MEDIUM
public static final ServiceLoadMetricWeight MEDIUM
Static value Medium for ServiceLoadMetricWeight.
ZERO
public static final ServiceLoadMetricWeight ZERO
Static value Zero for ServiceLoadMetricWeight.
Constructor Details
ServiceLoadMetricWeight
@Deprecated
public ServiceLoadMetricWeight()
Deprecated
Creates a new instance of ServiceLoadMetricWeight value.
Method Details
fromString
public static ServiceLoadMetricWeight fromString(String name)
Creates or finds a ServiceLoadMetricWeight from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServiceLoadMetricWeight values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for