public class Nio2ServiceFactoryFactory extends AbstractIoServiceFactoryFactory
log
Constructor and Description |
---|
Nio2ServiceFactoryFactory() |
Nio2ServiceFactoryFactory(Factory<CloseableExecutorService> executors) |
Modifier and Type | Method and Description |
---|---|
IoServiceFactory |
create(FactoryManager manager) |
getExecutorServiceFactory, newExecutor, setExecutorServiceFactory
public Nio2ServiceFactoryFactory()
public Nio2ServiceFactoryFactory(Factory<CloseableExecutorService> executors)
executors
- The CloseableExecutorService
to use for spawning threads. If null
then an
internal service is allocated - in which case it is automatically shutdownpublic IoServiceFactory create(FactoryManager manager)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.