public class DefaultExecutorsProviderFactory extends Object implements ExecutorsProviderFactory
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
Constructor and Description |
---|
DefaultExecutorsProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ExecutorsProvider |
create(KeycloakSession session) |
protected ExecutorService |
createPoolEmbedded(String taskType,
KeycloakSession session) |
protected ThreadFactory |
createThreadFactory(String taskType,
KeycloakSession session) |
protected void |
detectManaged() |
protected ExecutorService |
getExecutor(String taskType,
KeycloakSession session) |
String |
getId() |
protected ExecutorService |
getPoolManaged(String taskType,
KeycloakSession session) |
void |
init(Config.Scope config) |
void |
postInit(KeycloakSessionFactory factory) |
protected ExecutorService |
retrievePool(String taskType,
KeycloakSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public ExecutorsProvider create(KeycloakSession session)
create
in interface ProviderFactory<ExecutorsProvider>
public void init(Config.Scope config)
init
in interface ProviderFactory<ExecutorsProvider>
public void postInit(KeycloakSessionFactory factory)
postInit
in interface ProviderFactory<ExecutorsProvider>
public void close()
close
in interface ProviderFactory<ExecutorsProvider>
public String getId()
getId
in interface ProviderFactory<ExecutorsProvider>
protected ExecutorService getExecutor(String taskType, KeycloakSession session)
protected ExecutorService retrievePool(String taskType, KeycloakSession session)
protected void detectManaged()
protected ExecutorService getPoolManaged(String taskType, KeycloakSession session)
protected ExecutorService createPoolEmbedded(String taskType, KeycloakSession session)
protected ThreadFactory createThreadFactory(String taskType, KeycloakSession session)
Copyright © 2019 JBoss by Red Hat. All rights reserved.