Package org.jboss.as.threads
Class ThreadsServices
- java.lang.Object
-
- org.jboss.as.threads.ThreadsServices
-
public final class ThreadsServices extends Object
Utilities related to threa management services.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameEXECUTORstatic org.jboss.msc.service.ServiceNameFACTORYstatic HandoffExecutorResolverSTANDARD_HANDOFF_EXECUTOR_RESOLVERStandard implementation ofHandoffExecutorResolver-- aHandoffExecutorResolver.SimpleResolverwith a base service name ofEXECUTOR.static ThreadFactoryResolverSTANDARD_THREAD_FACTORY_RESOLVERStandard implementation ofThreadFactoryResolver-- aThreadFactoryResolver.SimpleResolverwith a base service name ofEXECUTOR.static org.jboss.msc.service.ServiceNameTHREAD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeCapability<Void>createCapability(String type, Class<?> serviceValueType)static org.jboss.msc.service.ServiceNameexecutorName(String name)static StringgetCapabilityBaseName(String type)static HandoffExecutorResolvergetHandoffExecutorResolver(String type)static ThreadFactoryResolvergetThreadFactoryResolver(String type)static org.jboss.msc.service.ServiceNamethreadFactoryName(String name)
-
-
-
Field Detail
-
THREAD
public static final org.jboss.msc.service.ServiceName THREAD
-
FACTORY
public static final org.jboss.msc.service.ServiceName FACTORY
-
EXECUTOR
public static final org.jboss.msc.service.ServiceName EXECUTOR
-
STANDARD_HANDOFF_EXECUTOR_RESOLVER
public static final HandoffExecutorResolver STANDARD_HANDOFF_EXECUTOR_RESOLVER
Standard implementation ofHandoffExecutorResolver-- aHandoffExecutorResolver.SimpleResolverwith a base service name ofEXECUTOR.
-
STANDARD_THREAD_FACTORY_RESOLVER
public static final ThreadFactoryResolver STANDARD_THREAD_FACTORY_RESOLVER
Standard implementation ofThreadFactoryResolver-- aThreadFactoryResolver.SimpleResolverwith a base service name ofEXECUTOR.
-
-
Method Detail
-
getThreadFactoryResolver
public static ThreadFactoryResolver getThreadFactoryResolver(String type)
-
getHandoffExecutorResolver
public static HandoffExecutorResolver getHandoffExecutorResolver(String type)
-
threadFactoryName
public static org.jboss.msc.service.ServiceName threadFactoryName(String name)
-
executorName
public static org.jboss.msc.service.ServiceName executorName(String name)
-
createCapability
public static RuntimeCapability<Void> createCapability(String type, Class<?> serviceValueType)
-
-