Class ThreadPoolFactoryServiceConfigurator
- java.lang.Object
-
- org.jboss.as.clustering.jgroups.subsystem.ThreadPoolServiceNameProvider
-
- org.jboss.as.clustering.jgroups.subsystem.ThreadPoolFactoryServiceConfigurator
-
- All Implemented Interfaces:
ResourceServiceConfigurator,ThreadPoolConfiguration,ServiceConfigurator,ServiceNameProvider
public class ThreadPoolFactoryServiceConfigurator extends ThreadPoolServiceNameProvider implements ResourceServiceConfigurator, ThreadPoolConfiguration
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolFactoryServiceConfigurator(ThreadPoolDefinition definition, org.jboss.as.controller.PathAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)longgetKeepAliveTime()intgetMaxThreads()intgetMinThreads()-
Methods inherited from class org.jboss.as.clustering.jgroups.subsystem.ThreadPoolServiceNameProvider
getServiceName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
ThreadPoolFactoryServiceConfigurator
public ThreadPoolFactoryServiceConfigurator(ThreadPoolDefinition definition, org.jboss.as.controller.PathAddress address)
-
-
Method Detail
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
- Specified by:
configurein interfaceResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceServiceConfigurator
-
getMinThreads
public int getMinThreads()
- Specified by:
getMinThreadsin interfaceThreadPoolConfiguration
-
getMaxThreads
public int getMaxThreads()
- Specified by:
getMaxThreadsin interfaceThreadPoolConfiguration
-
getKeepAliveTime
public long getKeepAliveTime()
- Specified by:
getKeepAliveTimein interfaceThreadPoolConfiguration
-
-