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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return maxTime, or null if it is not present.
    Return minTime, or null if it is not present.
    Class<? extends MinMaxTime>
     
    default @NonNull Timeticks64
    Return maxTime, guaranteed to be non-null.
    default @NonNull Timeticks64
    Return minTime, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends MinMaxTime> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getMinTime

      Timeticks64 getMinTime()
      Return minTime, or null if 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:
      Timeticks64 minTime, or null if 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:
      Timeticks64 minTime, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if minTime is not present
    • getMaxTime

      Timeticks64 getMaxTime()
      Return maxTime, or null if 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:
      Timeticks64 maxTime, or null if 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:
      Timeticks64 maxTime, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maxTime is not present