Class TopologyDataChangeCounterDeployer
java.lang.Object
org.opendaylight.protocol.data.change.counter.TopologyDataChangeCounterDeployer
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<DataChangeCounterConfig>
@Singleton
public class TopologyDataChangeCounterDeployer
extends Object
implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<DataChangeCounterConfig>, AutoCloseable
-
Constructor Summary
ConstructorDescriptionTopologyDataChangeCounterDeployer
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<DataChangeCounterConfig>> changes) void
register()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
TopologyDataChangeCounterDeployer
@Inject public TopologyDataChangeCounterDeployer(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
-
-
Method Details
-
register
@PostConstruct public void register() -
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<DataChangeCounterConfig>> changes) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<DataChangeCounterConfig>
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-