public class GrizzlyServerContainer extends ServerContainerFactory
ServerContainerFactory and ServerContainer.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SELECTOR_THREAD_POOL_CONFIG
Server-side property to set custom selector
ThreadPoolConfig. |
static java.lang.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(java.util.Map<java.lang.String,java.lang.Object> properties)
Create container delegate method.
|
createServerContainer, createServerContainerpublic static final java.lang.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 java.lang.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(java.util.Map<java.lang.String,java.lang.Object> properties)
ServerContainerFactory
Has to be implemented by ServerContainerFactory implementations.
createContainer in class ServerContainerFactoryproperties - configuration passed to created server container.ServerContainer.Copyright © 2012–2025 Oracle Corporation. All rights reserved.