Interface MonitoringState

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MonitoringState>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MonitoringStates>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<MonitoringStateKey>

    public interface MonitoringState
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MonitoringStates>, org.opendaylight.yangtools.yang.binding.Augmentable<MonitoringState>, org.opendaylight.yangtools.yang.binding.Identifiable<MonitoringStateKey>

    This class represents the following YANG schema fragment defined in module aliveness-monitor

     list monitoring-state {
       key monitor-key;
       leaf monitor-key {
         type string;
       }
       leaf monitor-id {
         type uint32;
       }
       leaf response-pending-count {
         type uint32;
       }
       leaf request-count {
         type uint32;
       }
       leaf state {
         type liveness-state;
       }
       leaf status {
         type monitor-status;
       }
     }
     
    The schema path to identify an instance is aliveness-monitor/monitoring-states/monitoring-state

    To create instances of this class use MonitoringStateBuilder.

    See Also:
    MonitoringStateBuilder, MonitoringStateKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<MonitoringState> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMonitorKey

        @Nullable java.lang.String getMonitorKey()
        Returns:
        java.lang.String monitorKey, or null if not present
      • getMonitorId

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMonitorId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 monitorId, or null if not present
      • getResponsePendingCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getResponsePendingCount()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 responsePendingCount, or null if not present
      • getRequestCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getRequestCount()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 requestCount, or null if not present
      • getState

        @Nullable LivenessState getState()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.LivenessState state, or null if not present
      • getStatus

        @Nullable MonitorStatus getStatus()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorStatus status, or null if not present