public class DefaultIoServiceFactoryFactory extends AbstractIoServiceFactoryFactory
Modifier and Type | Class and Description |
---|---|
private static class |
DefaultIoServiceFactoryFactory.LazyDefaultIoServiceFactoryFactoryHolder |
Modifier and Type | Field and Description |
---|---|
private IoServiceFactoryFactory |
factory |
private static org.slf4j.Logger |
LOGGER |
log
Modifier | Constructor and Description |
---|---|
protected |
DefaultIoServiceFactoryFactory() |
protected |
DefaultIoServiceFactoryFactory(Factory<CloseableExecutorService> factory) |
Modifier and Type | Method and Description |
---|---|
IoServiceFactory |
create(FactoryManager manager) |
static DefaultIoServiceFactoryFactory |
getDefaultIoServiceFactoryFactoryInstance() |
IoServiceFactoryFactory |
getIoServiceProvider() |
static <T extends IoServiceFactoryFactory> |
newInstance(java.lang.Class<T> clazz) |
static <T extends IoServiceFactoryFactory> |
newInstance(java.lang.Class<T> clazz,
java.lang.String factory) |
static <T extends IoServiceFactoryFactory> |
tryLoad(java.lang.String propName,
java.util.ServiceLoader<T> loader) |
getExecutorServiceFactory, newExecutor, setExecutorServiceFactory
private static final org.slf4j.Logger LOGGER
private IoServiceFactoryFactory factory
protected DefaultIoServiceFactoryFactory()
protected DefaultIoServiceFactoryFactory(Factory<CloseableExecutorService> factory)
public IoServiceFactory create(FactoryManager manager)
public IoServiceFactoryFactory getIoServiceProvider()
IoServiceFactoryFactory
being delegatedpublic static <T extends IoServiceFactoryFactory> T newInstance(java.lang.Class<T> clazz)
public static <T extends IoServiceFactoryFactory> T tryLoad(java.lang.String propName, java.util.ServiceLoader<T> loader)
public static <T extends IoServiceFactoryFactory> T newInstance(java.lang.Class<T> clazz, java.lang.String factory)
public static DefaultIoServiceFactoryFactory getDefaultIoServiceFactoryFactoryInstance()