Class DefaultInstructionSchedulerFactory
java.lang.Object
org.opendaylight.bgpcep.programming.impl.DefaultInstructionSchedulerFactory
- All Implemented Interfaces:
 AutoCloseable,InstructionSchedulerFactory
@Singleton
public final class DefaultInstructionSchedulerFactory
extends Object
implements InstructionSchedulerFactory, AutoCloseable
- 
Constructor Summary
ConstructorsConstructorDescriptionDefaultInstructionSchedulerFactory(org.opendaylight.mdsal.binding.api.DataBroker dataProvider, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notifs, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider cssp)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createInstructionScheduler(String instructionId) Creates a unique InstructionScheduler. 
- 
Constructor Details
- 
DefaultInstructionSchedulerFactory
@Inject public DefaultInstructionSchedulerFactory(org.opendaylight.mdsal.binding.api.DataBroker dataProvider, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notifs, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider cssp)  
 - 
 - 
Method Details
- 
createInstructionScheduler
Description copied from interface:InstructionSchedulerFactoryCreates a unique InstructionScheduler.- Specified by:
 createInstructionSchedulerin interfaceInstructionSchedulerFactory- Parameters:
 instructionId- Unique Identifier, also to be used as part of Cluster Singleton Service Group Identifier as "instructionId"-service-group- Returns:
 - InstructionScheduler
 
 - 
close
@PreDestroy public void close()- Specified by:
 closein interfaceAutoCloseable
 
 -