Interface MinMaxTime
-
- All Superinterfaces:
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 statisticsThis 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; } }The schema path to identify an instance is openconfig-typesmin-max-time
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Timeticks64getMaxTime()Return maxTime, ornullif it is not present.Timeticks64getMinTime()Return minTime, ornullif it is not present.Class<? extends MinMaxTime>implementedInterface()default @NonNull Timeticks64requireMaxTime()Return maxTime, guaranteed to be non-null.default @NonNull Timeticks64requireMinTime()Return minTime, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends MinMaxTime> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull Timeticks64 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
default @NonNull Timeticks64 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
-
-