public class GrizzlyServerContainer extends ServerContainerFactory
ServerContainerFactory and ServerContainer.| Modifier and Type | Field and Description |
|---|---|
static String |
SELECTOR_THREAD_POOL_CONFIG
Server-side property to set custom selector
ThreadPoolConfig. |
static String |
WORKER_THREAD_POOL_CONFIG
Server-side property to set custom worker
ThreadPoolConfig. |
| Constructor and Description |
|---|
GrizzlyServerContainer() |
| Modifier and Type | Method and Description |
|---|---|
ServerContainer |
createContainer(Map<String,Object> properties)
Create container delegate method.
|
createServerContainer, createServerContainerpublic static final String WORKER_THREAD_POOL_CONFIG
ThreadPoolConfig.
Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).public static final String SELECTOR_THREAD_POOL_CONFIG
ThreadPoolConfig.
Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).public ServerContainer createContainer(Map<String,Object> properties)
ServerContainerFactoryServerContainerFactory implementations.createContainer in class ServerContainerFactoryproperties - configuration passed to created server container.ServerContainer.Copyright © 2012–2019 Oracle Corporation. All rights reserved.