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, createServerContainer
public 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 ServerContainerFactory
properties
- configuration passed to created server container.ServerContainer
.Copyright © 2012–2020 Oracle Corporation. All rights reserved.