public static class HandoffExecutorResolver.SimpleResolver extends HandoffExecutorResolver.AbstractThreadFactoryResolver
HandoffExecutorResolver.AbstractThreadFactoryResolver to deal with named thread factories by appending their
simple name to a provided base name.HandoffExecutorResolver.AbstractThreadFactoryResolver, HandoffExecutorResolver.SimpleResolverSTANDARD_RESOLVER| Constructor and Description |
|---|
SimpleResolver(org.jboss.msc.service.ServiceName handoffExecutorServiceNameBase) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceName |
resolveNamedHandoffExecutor(String handoffExecutorName,
String threadPoolName,
org.jboss.msc.service.ServiceName threadPoolServiceName)
Create a service name to use for the thread factory in the case where a simple name for the factory was provided.
|
releaseDefaultHandoffExecutor, releaseHandoffExecutor, releaseNamedHandoffExecutor, resolveDefaultHandoffExecutor, resolveHandoffExecutorpublic SimpleResolver(org.jboss.msc.service.ServiceName handoffExecutorServiceNameBase)
public org.jboss.msc.service.ServiceName resolveNamedHandoffExecutor(String handoffExecutorName, String threadPoolName, org.jboss.msc.service.ServiceName threadPoolServiceName)
HandoffExecutorResolver.AbstractThreadFactoryResolverresolveNamedHandoffExecutor in class HandoffExecutorResolver.AbstractThreadFactoryResolverhandoffExecutorName - the simple name of the thread factory. Will not be nullthreadPoolName - the simple name of the related thread poolthreadPoolServiceName - the full service name of the thread poolServiceName of the ThreadFactoryService the thread pool should use. Cannot be
nullCopyright © 2019 JBoss by Red Hat. All rights reserved.