@Deprecated public final class NettyThreadgroupModule extends AbstractNettyThreadgroupModule
threadCountJmxAttribute
dependencyResolver, identifier
Constructor and Description |
---|
NettyThreadgroupModule(ModuleIdentifier name,
DependencyResolver dependencyResolver)
Deprecated.
|
NettyThreadgroupModule(ModuleIdentifier name,
DependencyResolver dependencyResolver,
NettyThreadgroupModule oldModule,
AutoCloseable oldInstance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AutoCloseable |
createInstance()
Deprecated.
Create instance.
|
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Deprecated.
|
void |
validate()
Deprecated.
This method will be called as first phase in two phase commit.
|
canReuseInstance, customValidation, equals, getLogger, getThreadCount, hashCode, isSame, resolveDependencies, reuseInstance, setThreadCount
canReuse, getIdentifier, getInstance, setCanReuseInstance
public NettyThreadgroupModule(ModuleIdentifier name, DependencyResolver dependencyResolver)
public NettyThreadgroupModule(ModuleIdentifier name, DependencyResolver dependencyResolver, NettyThreadgroupModule oldModule, AutoCloseable oldInstance)
public void validate()
Module
Module.getInstance()
on
dependent Module
because it would destroy separation between
validation and commit phase.validate
in interface Module
validate
in class AbstractNettyThreadgroupModule
public AutoCloseable createInstance()
AbstractModule
createInstance
in class AbstractModule<AbstractNettyThreadgroupModule>
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Copyright © 2019 OpenDaylight. All rights reserved.