Class NodeConnectorStatsImpl
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
- org.opendaylight.genius.interfacemanager.pmcounters.NodeConnectorStatsImpl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
@Singleton public class NodeConnectorStatsImpl extends AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase
AsyncClusteredDataTreeChangeListenerBase.DataTreeChangeHandler
-
-
Field Summary
-
Fields inherited from class org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase
clazz
-
-
Constructor Summary
Constructors Constructor Description NodeConnectorStatsImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService opendaylightDirectStatisticsService, EntityOwnershipUtils entityOwnershipUtils, PortNameCache portNameCache, InterfaceChildCache interfaceChildCache, IfmConfig ifmConfigObj, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node)
void
close()
protected NodeConnectorStatsImpl
getDataTreeChangeListener()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node original, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node update)
-
Methods inherited from class org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase
addAfterListener, addBeforeListener, deregisterListener, onDataTreeChanged, registerListener
-
-
-
-
Constructor Detail
-
NodeConnectorStatsImpl
@Inject public NodeConnectorStatsImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService opendaylightDirectStatisticsService, EntityOwnershipUtils entityOwnershipUtils, PortNameCache portNameCache, InterfaceChildCache interfaceChildCache, IfmConfig ifmConfigObj, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
-
-
Method Detail
-
getWildCardPath
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> getWildCardPath()
- Specified by:
getWildCardPath
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
getDataTreeChangeListener
protected NodeConnectorStatsImpl getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node)
- Specified by:
remove
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node original, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node update)
- Specified by:
update
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node)
- Specified by:
add
in classAsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,NodeConnectorStatsImpl>
-
-