public abstract class AbstractScheduledThreadPoolModule extends org.opendaylight.controller.config.spi.AbstractModule<AbstractScheduledThreadPoolModule> implements ScheduledThreadPoolModuleMXBean, org.opendaylight.controller.config.yang.threadpool.ScheduledThreadPoolServiceInterface
| 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 |
|---|
AbstractScheduledThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) |
AbstractScheduledThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
AbstractScheduledThreadPoolModule oldModule,
AutoCloseable oldInstance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReuseInstance(AbstractScheduledThreadPoolModule oldModule) |
protected void |
customValidation() |
boolean |
equals(Object o) |
org.slf4j.Logger |
getLogger() |
Integer |
getMaxThreadCount() |
ObjectName |
getThreadFactory() |
protected ThreadFactory |
getThreadFactoryDependency() |
int |
hashCode() |
boolean |
isSame(AbstractScheduledThreadPoolModule 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 AbstractScheduledThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver)
public AbstractScheduledThreadPoolModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
AbstractScheduledThreadPoolModule 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<AbstractScheduledThreadPoolModule>public boolean canReuseInstance(AbstractScheduledThreadPoolModule oldModule)
canReuseInstance in class org.opendaylight.controller.config.spi.AbstractModule<AbstractScheduledThreadPoolModule>public AutoCloseable reuseInstance(AutoCloseable oldInstance)
reuseInstance in class org.opendaylight.controller.config.spi.AbstractModule<AbstractScheduledThreadPoolModule>public boolean isSame(AbstractScheduledThreadPoolModule other)
public ObjectName getThreadFactory()
getThreadFactory in interface ScheduledThreadPoolModuleMXBeanpublic void setThreadFactory(ObjectName threadFactory)
setThreadFactory in interface ScheduledThreadPoolModuleMXBeanpublic Integer getMaxThreadCount()
getMaxThreadCount in interface ScheduledThreadPoolModuleMXBeanpublic void setMaxThreadCount(Integer maxThreadCount)
setMaxThreadCount in interface ScheduledThreadPoolModuleMXBeanpublic org.slf4j.Logger getLogger()
Copyright © 2016 OpenDaylight. All rights reserved.