Interface AvgMinMaxInstantStatsPct
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,MinMaxTime,StatIntervalState
- All Known Subinterfaces:
HardwareInterrupt,Idle,Kernel,Nice,SoftwareInterrupt,Total,User,Wait
@Generated("mdsal-binding-generator")
public interface AvgMinMaxInstantStatsPct
extends org.opendaylight.yangtools.yang.binding.DataObject, StatIntervalState, MinMaxTime
Common grouping for percentage statistics. Values include the instantaneous,
average, minimum, and maximum statistics. Statistics are computed and reported
based on a moving time interval (e.g., the last 30s). If supported by the
device, the time interval over which the statistics are computed, and the times
at which the minimum and maximum values occurred, are also reported.
This class represents the following YANG schema fragment defined in module openconfig-types
grouping avg-min-max-instant-stats-pct {
leaf instant {
type oc-types:percentage;
}
leaf avg {
type oc-types:percentage;
}
leaf min {
type oc-types:percentage;
}
leaf max {
type oc-types:percentage;
}
uses stat-interval-state;
uses min-max-time;
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetAvg()Return avg, ornullif it is not present.Return instant, ornullif it is not present.getMax()Return max, ornullif it is not present.getMin()Return min, ornullif it is not present.Class<? extends AvgMinMaxInstantStatsPct>default @NonNull PercentageReturn avg, guaranteed to be non-null.default @NonNull PercentageReturn instant, guaranteed to be non-null.default @NonNull PercentageReturn max, guaranteed to be non-null.default @NonNull PercentageReturn min, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.MinMaxTime
getMaxTime, getMinTime, requireMaxTime, requireMinTimeMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.StatIntervalState
getInterval, requireInterval
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends AvgMinMaxInstantStatsPct> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceMinMaxTime- Specified by:
implementedInterfacein interfaceStatIntervalState
-
getInstant
Percentage getInstant()Return instant, ornullif it is not present.The instantaneous percentage value.- Returns:
Percentageinstant, ornullif it is not present.
-
requireInstant
Return instant, guaranteed to be non-null.The instantaneous percentage value.- Returns:
Percentageinstant, guaranteed to be non-null.- Throws:
NoSuchElementException- if instant is not present
-
getAvg
Percentage getAvg()Return avg, ornullif it is not present.The arithmetic mean value of the percentage measure of the statistic over the time interval.- Returns:
Percentageavg, ornullif it is not present.
-
requireAvg
Return avg, guaranteed to be non-null.The arithmetic mean value of the percentage measure of the statistic over the time interval.- Returns:
Percentageavg, guaranteed to be non-null.- Throws:
NoSuchElementException- if avg is not present
-
getMin
Percentage getMin()Return min, ornullif it is not present.The minimum value of the percentage measure of the statistic over the time interval.- Returns:
Percentagemin, ornullif it is not present.
-
requireMin
Return min, guaranteed to be non-null.The minimum value of the percentage measure of the statistic over the time interval.- Returns:
Percentagemin, guaranteed to be non-null.- Throws:
NoSuchElementException- if min is not present
-
getMax
Percentage getMax()Return max, ornullif it is not present.The maximum value of the percentage measure of the statistic over the time interval.- Returns:
Percentagemax, ornullif it is not present.
-
requireMax
Return max, guaranteed to be non-null.The maximum value of the percentage measure of the statistic over the time interval.- Returns:
Percentagemax, guaranteed to be non-null.- Throws:
NoSuchElementException- if max is not present
-