Interface Counter

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    ReconcileCounter

    @Generated("mdsal-binding-generator")
    public interface Counter
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module reconciliation

     grouping counter {
       leaf success-count {
         type uint32;
         default 0;
       }
       leaf failure-count {
         type uint32;
         default 0;
       }
       leaf last-request-time {
         type yang:date-and-time;
       }
     }
     
    • Field Summary

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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yangtools.yang.common.Uint32 getFailureCount()
      Return failureCount, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getLastRequestTime()
      Return lastRequestTime, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint32 getSuccessCount()
      Return successCount, or null if it is not present.
      Class<? extends Counter> implementedInterface()  
      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireFailureCount()
      Return failureCount, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime requireLastRequestTime()
      Return lastRequestTime, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSuccessCount()
      Return successCount, guaranteed to be non-null.
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        org.opendaylight.yangtools.yang.common.Uint32 getSuccessCount()
        Return successCount, or null if it is not present.
        Returns:
        Uint32 successCount, or null if it is not present.
      • requireSuccessCount

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSuccessCount()
        Return successCount, guaranteed to be non-null.
        Returns:
        Uint32 successCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if successCount is not present
      • getFailureCount

        org.opendaylight.yangtools.yang.common.Uint32 getFailureCount()
        Return failureCount, or null if it is not present.
        Returns:
        Uint32 failureCount, or null if it is not present.
      • requireFailureCount

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireFailureCount()
        Return failureCount, guaranteed to be non-null.
        Returns:
        Uint32 failureCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if failureCount is not present
      • getLastRequestTime

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getLastRequestTime()
        Return lastRequestTime, or null if it is not present.
             
                 Timestamp when reconciliation was last requested
             
         
        Returns:
        DateAndTime lastRequestTime, or null if it is not present.
      • requireLastRequestTime

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime requireLastRequestTime()
        Return lastRequestTime, guaranteed to be non-null.
             
                 Timestamp when reconciliation was last requested
             
         
        Returns:
        DateAndTime lastRequestTime, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if lastRequestTime is not present