Class FlowNodeConnectorInventoryTranslatorImpl
- java.lang.Object
-
- org.opendaylight.genius.fcapsapp.performancecounter.NodeConnectorEventListener<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
-
- org.opendaylight.genius.fcapsapp.performancecounter.FlowNodeConnectorInventoryTranslatorImpl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,FlowCapableNodeConnectorCommitter<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
@Singleton public class FlowNodeConnectorInventoryTranslatorImpl extends NodeConnectorEventListener<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
-
-
Constructor Summary
Constructors Constructor Description FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, EntityOwnershipUtils entityOwnershipUtils, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Method adds the DataObject which is identified by InstanceIdentifier to device.void
close()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
getWildCardPath()
void
nodeRemovedNotification(java.lang.String node)
void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Method removes DataObject which is identified by InstanceIdentifier from device.void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector original, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Method updates the original DataObject to the update DataObject in device.-
Methods inherited from class org.opendaylight.genius.fcapsapp.performancecounter.NodeConnectorEventListener
onDataTreeChanged
-
-
-
-
Constructor Detail
-
FlowNodeConnectorInventoryTranslatorImpl
@Inject public FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, EntityOwnershipUtils entityOwnershipUtils, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
-
-
Method Detail
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> getWildCardPath()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classNodeConnectorEventListener<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector>
-
remove
public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Description copied from interface:FlowCapableNodeConnectorCommitter
Method removes DataObject which is identified by InstanceIdentifier from device.- Parameters:
identifier
- - the whole path to DataObjectdel
- - DataObject for removingnodeConnIdent
- NodeConnector InstanceIdentifier
-
update
public void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector original, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Description copied from interface:FlowCapableNodeConnectorCommitter
Method updates the original DataObject to the update DataObject in device. Both are identified by same InstanceIdentifier- Parameters:
identifier
- - the whole path to DataObjectoriginal
- - original DataObject (for update)update
- - changed DataObject (contain updates)nodeConnIdent
- NodeConnector InstanceIdentifier
-
add
public void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector> nodeConnIdent)
Description copied from interface:FlowCapableNodeConnectorCommitter
Method adds the DataObject which is identified by InstanceIdentifier to device.- Parameters:
identifier
- - the whole path to new DataObjectadd
- - new DataObjectnodeConnIdent
- NodeConnector InstanceIdentifier
-
nodeRemovedNotification
public void nodeRemovedNotification(java.lang.String node)
-
-