public abstract class AbstractFixedThreadPoolModule extends org.opendaylight.controller.config.spi.AbstractModule<AbstractFixedThreadPoolModule> implements FixedThreadPoolModuleMXBean, org.opendaylight.controller.config.yang.threadpool.ThreadPoolServiceInterface
| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.controller.config.api.JmxAttribute |
maxThreadCountJmxAttribute |
static org.opendaylight.controller.config.api.JmxAttribute |
threadFactoryJmxAttribute |
| Constructor and Description |
|---|
AbstractFixedThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) |
AbstractFixedThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
AbstractFixedThreadPoolModule oldModule,
AutoCloseable oldInstance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReuseInstance(AbstractFixedThreadPoolModule oldModule) |
protected void |
customValidation() |
boolean |
equals(Object o) |
org.slf4j.Logger |
getLogger() |
Integer |
getMaxThreadCount() |
ObjectName |
getThreadFactory() |
protected ThreadFactory |
getThreadFactoryDependency() |
int |
hashCode() |
boolean |
isSame(AbstractFixedThreadPoolModule other) |
protected void |
resolveDependencies() |
AutoCloseable |
reuseInstance(AutoCloseable oldInstance) |
void |
setMaxThreadCount(Integer maxThreadCount) |
void |
setThreadFactory(ObjectName threadFactory) |
void |
validate() |
public static final org.opendaylight.controller.config.api.JmxAttribute threadFactoryJmxAttribute
public static final org.opendaylight.controller.config.api.JmxAttribute maxThreadCountJmxAttribute
public AbstractFixedThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver)
public AbstractFixedThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
AbstractFixedThreadPoolModule oldModule,
AutoCloseable oldInstance)
public void validate()
validate in interface org.opendaylight.controller.config.spi.Moduleprotected void customValidation()
protected final ThreadFactory getThreadFactoryDependency()
protected final void resolveDependencies()
resolveDependencies in class org.opendaylight.controller.config.spi.AbstractModule<AbstractFixedThreadPoolModule>public boolean canReuseInstance(AbstractFixedThreadPoolModule oldModule)
canReuseInstance in class org.opendaylight.controller.config.spi.AbstractModule<AbstractFixedThreadPoolModule>public AutoCloseable reuseInstance(AutoCloseable oldInstance)
reuseInstance in class org.opendaylight.controller.config.spi.AbstractModule<AbstractFixedThreadPoolModule>public boolean isSame(AbstractFixedThreadPoolModule other)
public ObjectName getThreadFactory()
getThreadFactory in interface FixedThreadPoolModuleMXBeanpublic void setThreadFactory(ObjectName threadFactory)
setThreadFactory in interface FixedThreadPoolModuleMXBeanpublic Integer getMaxThreadCount()
getMaxThreadCount in interface FixedThreadPoolModuleMXBeanpublic void setMaxThreadCount(Integer maxThreadCount)
setMaxThreadCount in interface FixedThreadPoolModuleMXBeanpublic org.slf4j.Logger getLogger()
Copyright © 2016 OpenDaylight. All rights reserved.