Interface MinMaxTime
- 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
- All Known Subinterfaces:
AvgMinMaxInstantStatsPct,AvgMinMaxInstantStatsPrecision1,AvgMinMaxInstantStatsPrecision1Celsius,AvgMinMaxInstantStatsPrecision2DB,AvgMinMaxInstantStatsPrecision2DBm,AvgMinMaxInstantStatsPrecision2MA,AvgMinMaxStatsPrecision1,HardwareInterrupt,Idle,Kernel,Nice,SoftwareInterrupt,Temperature,Total,User,Wait
@Generated("mdsal-binding-generator")
public interface MinMaxTime
extends org.opendaylight.yangtools.yang.binding.DataObject
Common grouping for recording the absolute time at which the minimum and
values occurred in the statistics
This class represents the following YANG schema fragment defined in module openconfig-types
grouping min-max-time {
leaf min-time {
type oc-types:timeticks64;
}
leaf max-time {
type oc-types:timeticks64;
}
}
-
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 TypeMethodDescriptionReturn maxTime, ornullif it is not present.Return minTime, ornullif it is not present.Class<? extends MinMaxTime>default @NonNull Timeticks64Return maxTime, guaranteed to be non-null.default @NonNull Timeticks64Return minTime, guaranteed to be non-null.
-
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 MinMaxTime> 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
-
getMinTime
Timeticks64 getMinTime()Return minTime, ornullif it is not present.The absolute time at which the minimum value occurred. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).- Returns:
Timeticks64minTime, ornullif it is not present.
-
requireMinTime
Return minTime, guaranteed to be non-null.The absolute time at which the minimum value occurred. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).- Returns:
Timeticks64minTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if minTime is not present
-
getMaxTime
Timeticks64 getMaxTime()Return maxTime, ornullif it is not present.The absolute time at which the maximum value occurred. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).- Returns:
Timeticks64maxTime, ornullif it is not present.
-
requireMaxTime
Return maxTime, guaranteed to be non-null.The absolute time at which the maximum value occurred. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).- Returns:
Timeticks64maxTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if maxTime is not present
-