Package org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.monitoring.states
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-stateTo create instances of this class use
MonitoringStateBuilder
.- See Also:
MonitoringStateBuilder
,MonitoringStateKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32
getMonitorId()
java.lang.String
getMonitorKey()
org.opendaylight.yangtools.yang.common.Uint32
getRequestCount()
org.opendaylight.yangtools.yang.common.Uint32
getResponsePendingCount()
LivenessState
getState()
MonitorStatus
getStatus()
default java.lang.Class<MonitoringState>
implementedInterface()
MonitoringStateKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<MonitoringState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMonitorKey
java.lang.String getMonitorKey()
- Returns:
java.lang.String
monitorKey
, ornull
if not present
-
getMonitorId
org.opendaylight.yangtools.yang.common.Uint32 getMonitorId()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
monitorId
, ornull
if not present
-
getResponsePendingCount
org.opendaylight.yangtools.yang.common.Uint32 getResponsePendingCount()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
responsePendingCount
, ornull
if not present
-
getRequestCount
org.opendaylight.yangtools.yang.common.Uint32 getRequestCount()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
requestCount
, ornull
if not present
-
getState
LivenessState getState()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.LivenessState
state
, ornull
if not present
-
getStatus
MonitorStatus getStatus()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.MonitorStatus
status
, ornull
if not present
-
key
MonitoringStateKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<MonitoringStateKey>
-
-