public final class InstructionDeployerImpl extends Object implements IntructionDeployer, org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<OdlProgramming>, AutoCloseable
Constructor and Description |
---|
InstructionDeployerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataProvider,
org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcProviderRegistry,
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notifs,
io.netty.util.Timer timer,
org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider cssp,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<OdlProgramming>> changes) |
void |
removeConfiguration(String instructionId)
Remove instruction configuration on DS
|
void |
writeConfiguration(String instructionId)
Write instruction configuration on DS
|
public InstructionDeployerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataProvider, org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcProviderRegistry, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notifs, io.netty.util.Timer timer, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider cssp, org.osgi.framework.BundleContext bundleContext)
public void writeConfiguration(String instructionId)
IntructionDeployer
writeConfiguration
in interface IntructionDeployer
instructionId
- Instruction Scheduler Idpublic void removeConfiguration(String instructionId)
IntructionDeployer
removeConfiguration
in interface IntructionDeployer
instructionId
- Instruction Scheduler Idpublic void close() throws Exception
close
in interface AutoCloseable
Exception
public void onDataTreeChanged(@Nonnull Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<OdlProgramming>> changes)
onDataTreeChanged
in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<OdlProgramming>
Copyright © 2018 OpenDaylight. All rights reserved.