Interface StatIntervalState
-
- 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 StatIntervalState extends org.opendaylight.yangtools.yang.binding.DataObject
Reusable leaf definition for stats computation intervalThis class represents the following YANG schema fragment defined in module openconfig-types
grouping stat-interval-state { leaf interval { type oc-types:stat-interval; } }The schema path to identify an instance is openconfig-typesstat-interval-state
-
-
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 StatIntervalgetInterval()Return interval, ornullif it is not present.Class<? extends StatIntervalState>implementedInterface()default @NonNull StatIntervalrequireInterval()Return interval, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends StatIntervalState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterval
StatInterval getInterval()
Return interval, ornullif it is not present.If supported by the system, this reports the time interval over which the min/max/average statistics are computed by the system.- Returns:
StatIntervalinterval, ornullif it is not present.
-
requireInterval
default @NonNull StatInterval requireInterval()
Return interval, guaranteed to be non-null.If supported by the system, this reports the time interval over which the min/max/average statistics are computed by the system.- Returns:
StatIntervalinterval, guaranteed to be non-null.- Throws:
NoSuchElementException- if interval is not present
-
-