public class LightyControllerImpl extends AbstractLightyModule implements LightyController, LightyServices
| Constructor and Description |
|---|
LightyControllerImpl(ExecutorService executorService,
com.typesafe.config.Config actorSystemConfig,
ClassLoader actorSystemClassLoader,
org.opendaylight.mdsal.dom.broker.DOMNotificationRouter domNotificationRouter,
String restoreDirectoryPath,
int maxDataBrokerFutureCallbackQueueSize,
int maxDataBrokerFutureCallbackPoolSize,
boolean metricCaptureEnabled,
int mailboxCapacity,
Properties distributedEosProperties,
String moduleShardsConfig,
String modulesConfig,
org.opendaylight.controller.cluster.datastore.DatastoreContext configDatastoreContext,
org.opendaylight.controller.cluster.datastore.DatastoreContext operDatastoreContext,
Map<String,Object> datastoreProperties,
Set<org.opendaylight.yangtools.yang.binding.YangModuleInfo> modelSet) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.cluster.ActorSystemProvider |
getActorSystemProvider() |
org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory |
getBindingCodecTreeFactory() |
org.opendaylight.mdsal.binding.api.DataBroker |
getBindingDataBroker() |
org.opendaylight.mdsal.binding.api.MountPointService |
getBindingMountPointService() |
org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer |
getBindingNormalizedNodeSerializer() |
org.opendaylight.mdsal.binding.api.NotificationPublishService |
getBindingNotificationPublishService() |
org.opendaylight.mdsal.binding.api.DataBroker |
getBindingPingPongDataBroker() |
io.netty.channel.EventLoopGroup |
getBossGroup() |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.cluster.admin.rev151013.ClusterAdminService |
getClusterAdminRPCService() |
org.opendaylight.mdsal.dom.api.DOMDataBroker |
getClusteredDOMDataBroker() |
org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider |
getClusterSingletonServiceProvider() |
org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface |
getConfigDatastore() |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getControllerBindingDataBroker() |
org.opendaylight.controller.md.sal.binding.api.MountPointService |
getControllerBindingMountPointService() |
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService |
getControllerBindingNotificationPublishService() |
org.opendaylight.controller.md.sal.binding.api.NotificationService |
getControllerBindingNotificationService() |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getControllerBindingPingPongDataBroker() |
org.opendaylight.controller.md.sal.dom.api.DOMDataBroker |
getControllerClusteredDOMDataBroker() |
org.opendaylight.controller.md.sal.dom.api.DOMMountPointService |
getControllerDOMMountPointService() |
org.opendaylight.controller.md.sal.dom.api.DOMNotificationPublishService |
getControllerDOMNotificationPublishService() |
org.opendaylight.controller.md.sal.dom.api.DOMNotificationService |
getControllerDOMNotificationService() |
org.opendaylight.controller.md.sal.dom.spi.DOMNotificationSubscriptionListenerRegistry |
getControllerDOMNotificationSubscriptionListenerRegistry() |
org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService |
getControllerDOMRpcProviderService() |
org.opendaylight.controller.md.sal.dom.api.DOMRpcService |
getControllerDOMRpcService() |
org.opendaylight.controller.sal.binding.api.NotificationProviderService |
getControllerNotificationProviderService() |
org.opendaylight.controller.md.sal.dom.api.DOMDataBroker |
getControllerPingPongDataBroker() |
org.opendaylight.controller.sal.binding.api.RpcProviderRegistry |
getControllerRpcProviderRegistry() |
org.opendaylight.infrautils.diagstatus.DiagStatusService |
getDiagStatusService() |
org.opendaylight.controller.cluster.sharding.DistributedShardFactory |
getDistributedShardFactory() |
org.opendaylight.mdsal.dom.api.DOMDataTreeService |
getDOMDataTreeService() |
org.opendaylight.mdsal.dom.api.DOMDataTreeShardingService |
getDOMDataTreeShardingService() |
org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService |
getDOMEntityOwnershipService() |
org.opendaylight.mdsal.dom.api.DOMMountPointService |
getDOMMountPointService() |
org.opendaylight.mdsal.dom.api.DOMNotificationPublishService |
getDOMNotificationPublishService() |
org.opendaylight.mdsal.dom.api.DOMNotificationService |
getDOMNotificationService() |
org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry |
getDOMNotificationSubscriptionListenerRegistry() |
org.opendaylight.mdsal.dom.api.DOMRpcProviderService |
getDOMRpcProviderService() |
org.opendaylight.mdsal.dom.api.DOMRpcService |
getDOMRpcService() |
org.opendaylight.mdsal.dom.api.DOMSchemaService |
getDOMSchemaService() |
org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider |
getDOMYangTextSourceProvider() |
org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService |
getEntityOwnershipService() |
io.netty.util.concurrent.EventExecutor |
getEventExecutor() |
LightySystemReadyService |
getLightySystemReadyService() |
org.opendaylight.mdsal.binding.api.NotificationService |
getNotificationService() |
org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface |
getOperationalDatastore() |
org.opendaylight.mdsal.dom.api.DOMDataBroker |
getPingPongDataBroker() |
org.opendaylight.mdsal.binding.api.RpcProviderService |
getRpcProviderService() |
org.opendaylight.controller.config.threadpool.ScheduledThreadPool |
getScheduledThreaPool() |
org.opendaylight.yangtools.yang.model.api.SchemaContextProvider |
getSchemaContextProvider() |
LightyServices |
getServices()
Get important controller services.
|
org.opendaylight.infrautils.ready.SystemReadyMonitor |
getSystemReadyMonitor() |
org.opendaylight.controller.config.threadpool.ThreadPool |
getThreadPool() |
io.netty.util.Timer |
getTimer() |
io.netty.channel.EventLoopGroup |
getWorkerGroup() |
protected boolean |
initProcedure()
This method is called in
AbstractLightyModule.start() method. |
org.opendaylight.yangtools.concepts.ObjectRegistration<org.opendaylight.yangtools.yang.binding.YangModuleInfo> |
registerModuleInfo(org.opendaylight.yangtools.yang.binding.YangModuleInfo yangModuleInfo)
Register an instance of Yang module into global schema context.
|
protected boolean |
stopProcedure()
This method is called in
AbstractLightyModule.shutdown() method. |
shutdown, start, startBlocking, startBlockingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdown, start, startBlockingpublic LightyControllerImpl(ExecutorService executorService, com.typesafe.config.Config actorSystemConfig, ClassLoader actorSystemClassLoader, org.opendaylight.mdsal.dom.broker.DOMNotificationRouter domNotificationRouter, String restoreDirectoryPath, int maxDataBrokerFutureCallbackQueueSize, int maxDataBrokerFutureCallbackPoolSize, boolean metricCaptureEnabled, int mailboxCapacity, Properties distributedEosProperties, String moduleShardsConfig, String modulesConfig, org.opendaylight.controller.cluster.datastore.DatastoreContext configDatastoreContext, org.opendaylight.controller.cluster.datastore.DatastoreContext operDatastoreContext, Map<String,Object> datastoreProperties, Set<org.opendaylight.yangtools.yang.binding.YangModuleInfo> modelSet)
protected boolean initProcedure()
AbstractLightyModuleAbstractLightyModule.start() method.
Implementation of this method should initialize everything necessary.initProcedure in class AbstractLightyModuleprotected boolean stopProcedure()
AbstractLightyModuleAbstractLightyModule.shutdown() method.
Implementation of this method should do everything necessary to
shutdown correctly (e.g. stop initialized beans, release resources, ...).stopProcedure in class AbstractLightyModulepublic LightyServices getServices()
LightyControllergetServices in interface LightyControllerpublic org.opendaylight.infrautils.diagstatus.DiagStatusService getDiagStatusService()
getDiagStatusService in interface LightyServicespublic org.opendaylight.infrautils.ready.SystemReadyMonitor getSystemReadyMonitor()
getSystemReadyMonitor in interface LightyServicespublic LightySystemReadyService getLightySystemReadyService()
getLightySystemReadyService in interface LightyServicespublic org.opendaylight.controller.cluster.ActorSystemProvider getActorSystemProvider()
getActorSystemProvider in interface LightyServicespublic org.opendaylight.yangtools.yang.model.api.SchemaContextProvider getSchemaContextProvider()
getSchemaContextProvider in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMSchemaService getDOMSchemaService()
getDOMSchemaService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider getDOMYangTextSourceProvider()
getDOMYangTextSourceProvider in interface LightyServicespublic org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry getDOMNotificationSubscriptionListenerRegistry()
getDOMNotificationSubscriptionListenerRegistry in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.spi.DOMNotificationSubscriptionListenerRegistry getControllerDOMNotificationSubscriptionListenerRegistry()
getControllerDOMNotificationSubscriptionListenerRegistry in interface LightyServicespublic org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface getConfigDatastore()
getConfigDatastore in interface LightyServicespublic org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface getOperationalDatastore()
getOperationalDatastore in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMDataTreeShardingService getDOMDataTreeShardingService()
getDOMDataTreeShardingService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMDataTreeService getDOMDataTreeService()
getDOMDataTreeService in interface LightyServicespublic org.opendaylight.controller.cluster.sharding.DistributedShardFactory getDistributedShardFactory()
getDistributedShardFactory in interface LightyServicespublic org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer getBindingNormalizedNodeSerializer()
getBindingNormalizedNodeSerializer in interface LightyServicespublic org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory getBindingCodecTreeFactory()
getBindingCodecTreeFactory in interface LightyServicespublic org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService getDOMEntityOwnershipService()
getDOMEntityOwnershipService in interface LightyServicespublic org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService getEntityOwnershipService()
getEntityOwnershipService in interface LightyServicespublic org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.cluster.admin.rev151013.ClusterAdminService getClusterAdminRPCService()
getClusterAdminRPCService in interface LightyServicespublic org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider getClusterSingletonServiceProvider()
getClusterSingletonServiceProvider in interface LightyServicespublic io.netty.util.concurrent.EventExecutor getEventExecutor()
getEventExecutor in interface LightyServicespublic io.netty.channel.EventLoopGroup getBossGroup()
getBossGroup in interface LightyServicespublic io.netty.channel.EventLoopGroup getWorkerGroup()
getWorkerGroup in interface LightyServicespublic org.opendaylight.controller.config.threadpool.ThreadPool getThreadPool()
getThreadPool in interface LightyServicespublic org.opendaylight.controller.config.threadpool.ScheduledThreadPool getScheduledThreaPool()
getScheduledThreaPool in interface LightyServicespublic io.netty.util.Timer getTimer()
getTimer in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMMountPointService getDOMMountPointService()
getDOMMountPointService in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMMountPointService getControllerDOMMountPointService()
getControllerDOMMountPointService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMNotificationPublishService getDOMNotificationPublishService()
getDOMNotificationPublishService in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMNotificationPublishService getControllerDOMNotificationPublishService()
getControllerDOMNotificationPublishService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMNotificationService getDOMNotificationService()
getDOMNotificationService in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMNotificationService getControllerDOMNotificationService()
getControllerDOMNotificationService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMDataBroker getClusteredDOMDataBroker()
getClusteredDOMDataBroker in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMDataBroker getControllerClusteredDOMDataBroker()
getControllerClusteredDOMDataBroker in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMDataBroker getPingPongDataBroker()
getPingPongDataBroker in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMDataBroker getControllerPingPongDataBroker()
getControllerPingPongDataBroker in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMRpcService getDOMRpcService()
getDOMRpcService in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMRpcService getControllerDOMRpcService()
getControllerDOMRpcService in interface LightyServicespublic org.opendaylight.mdsal.dom.api.DOMRpcProviderService getDOMRpcProviderService()
getDOMRpcProviderService in interface LightyServicespublic org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService getControllerDOMRpcProviderService()
getControllerDOMRpcProviderService in interface LightyServicespublic org.opendaylight.mdsal.binding.api.RpcProviderService getRpcProviderService()
getRpcProviderService in interface LightyServicespublic org.opendaylight.controller.sal.binding.api.RpcProviderRegistry getControllerRpcProviderRegistry()
getControllerRpcProviderRegistry in interface LightyServicespublic org.opendaylight.mdsal.binding.api.MountPointService getBindingMountPointService()
getBindingMountPointService in interface LightyServicespublic org.opendaylight.controller.md.sal.binding.api.MountPointService getControllerBindingMountPointService()
getControllerBindingMountPointService in interface LightyServicespublic org.opendaylight.mdsal.binding.api.NotificationService getNotificationService()
getNotificationService in interface LightyServicespublic org.opendaylight.controller.md.sal.binding.api.NotificationService getControllerBindingNotificationService()
getControllerBindingNotificationService in interface LightyServicespublic org.opendaylight.mdsal.binding.api.NotificationPublishService getBindingNotificationPublishService()
getBindingNotificationPublishService in interface LightyServicespublic org.opendaylight.controller.md.sal.binding.api.NotificationPublishService getControllerBindingNotificationPublishService()
getControllerBindingNotificationPublishService in interface LightyServicespublic org.opendaylight.controller.sal.binding.api.NotificationProviderService getControllerNotificationProviderService()
getControllerNotificationProviderService in interface LightyServicespublic org.opendaylight.mdsal.binding.api.DataBroker getBindingDataBroker()
getBindingDataBroker in interface LightyServicespublic org.opendaylight.controller.md.sal.binding.api.DataBroker getControllerBindingDataBroker()
getControllerBindingDataBroker in interface LightyServicespublic org.opendaylight.mdsal.binding.api.DataBroker getBindingPingPongDataBroker()
getBindingPingPongDataBroker in interface LightyServicespublic org.opendaylight.yangtools.concepts.ObjectRegistration<org.opendaylight.yangtools.yang.binding.YangModuleInfo> registerModuleInfo(org.opendaylight.yangtools.yang.binding.YangModuleInfo yangModuleInfo)
LightyModuleRegistryServiceregisterModuleInfo in interface LightyModuleRegistryServicepublic org.opendaylight.controller.md.sal.binding.api.DataBroker getControllerBindingPingPongDataBroker()
getControllerBindingPingPongDataBroker in interface LightyServicesCopyright © 2019. All rights reserved.