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;
       }
     }
     
    The schema path to identify an instance is reconciliation/counter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • 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:
        org.opendaylight.yangtools.yang.common.Uint32 successCount, or null if it is not present.
      • getFailureCount

        org.opendaylight.yangtools.yang.common.Uint32 getFailureCount()
        Return failureCount, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 failureCount, or null if it 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:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime lastRequestTime, or null if it is not present.