@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface FastLaneConfig
| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT_CONTEXT_PATH
Default value for context path.
|
static boolean |
DEFAULT_GRACEFUL_SHUTDOWN
By default a graceful shutdown is enabled.
|
static int |
DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
Default timeout for graceful shutdown.
|
static int |
DEFAULT_HTTP_IO_IDLE_TIMEOUT
Default value for HTTP I/O timeout of the HTTP connector.
|
static int |
DEFAULT_INITIAL_QUEUE_SIZE
Default value for initial queue size.
|
static int |
DEFAULT_INPUT_BUFFER_SIZE
Default size of input buffer when JEAF Fast Lane reads data from incoming requests
|
static boolean |
DEFAULT_JMX_ENABLED
By default JMX is disabled for security reasons.
|
static boolean |
DEFAULT_MANAGAMENT_INTERFACE_ENABLED
By default management interface is enabled.
|
static String |
DEFAULT_MANAGEMENT_PATH
Default path for management interface.
|
static int |
DEFAULT_MANAGEMENT_PORT
Default port that is used for the management interface.
|
static int |
DEFAULT_MAX_MANAGEMENT_THREADS
Default value for maximum threads of management container.
|
static int |
DEFAULT_MAX_QUEUE_SIZE
Maximum size of queue that is used to store requested until they are really processed. 0 means that the initial
size is also the maximum. -1 means that queue is unlimited.
|
static int |
DEFAULT_MIN_MANAGEMENT_THREADS
Default value for minimum threads of management container.
|
static int |
DEFAULT_OUTPUT_BUFFER_SIZE
Default size of output buffer when JEAF Fast Lane writes data as response.
|
static int |
DEFAULT_PORT
Default port that is used if nothing else is configured.
|
static int |
DEFAULT_QUEUE_GROW_SIZE
Default value for grow size of queue.
|
static boolean |
DEFAULT_REST_ENABLED
By default REST services are enabled.
|
static String |
DEFAULT_REST_PATH
Default value for REST root path.
|
static boolean |
DEFAULT_SEND_SERVER_VERSION
By default information about server version is not send in response header for security reasons.
|
static boolean |
DEFAULT_SEND_X_POWERED_BY
By default information about server version is not send in response header for security reasons.
|
static boolean |
DEFAULT_STOP_SERVER_ON_ERROR
By default JEAF Fast Lane server will be stopped in case that a java.lang.Error occurs.
|
static boolean |
DEFAULT_STOP_SERVER_ON_RUNTIME_EXCEPTION
By default an uncaught runtime exception will not cause the server to stop.
|
static int |
DEFAULT_THREAD_IDLE_TIMEOUT
Default thread idle timeout.
|
static boolean |
DEFAULT_TRACE_UNCAUGHT__RUNTIME_EXCEPTIONS
By default uncaught runtime exceptions will be traced.
|
static boolean |
DEFAULT_TRACE_UNCAUGHT_ERRORS
By default java.lang.Error will be traced.
|
static boolean |
DEFAULT_WEB_SERVLET_ENABLED
By default Web Servlets are enabled.
|
static int |
DEFAULT_WORKLOAD_MAX_THREADS
Default value for maximum threads of workload container.
|
static int |
DEFAULT_WORKLOAD_MIN_THREADS
Default value for minimum threads of workload container.
|
static String |
FAST_LANE_CONFIG_PATH
Path under which the configuration file is stored.
|
static String |
FAST_LANE_CONFIG_RESOURCE_NAME
Name of the resource that contains the name of the class with the @ToolsConfig annotation.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
contextPath
Context path of the workload container.
|
boolean |
enableJMX
Defines if JMX should be enabled or not.
|
boolean |
enableManagementInterface
Enables management interface.
|
boolean |
enableREST
Enables the REST interface so that REST service can be used.
|
boolean |
enableWebServlets
Enables the servlet interface so that Web Servlets can be used.
|
boolean |
gracefulShutdown
Enables graceful shutdown behavior.
|
int |
gracefulShutdownTimeout
Timeout for graceful shutdown.
|
int |
httpIOIdleTimeout
HTTP I/O timeout of the HTTP connector.
|
int |
initialQueueSize
Initial size of queue that is used to store requests until they are really processed.
|
int |
inputBufferSize
Size of input buffer that is used when request data is read.
|
String |
managementPath
Context path under which the management interface will be available.
|
int |
managementPort
Port under which the management interface is accessible.
|
int |
maxManagementThreads
Maximum amount of threads that are used for requests to the management interface.
|
int |
maxQueueSize
Maximum size of queue that is used to store requested until they are really processed.
|
int |
maxThreads
Maximum amount of threads that are used by the workload container.
|
int |
minManagementThreads
Minimum amount of threads that are used for requests to the management interface.
|
int |
minThreads
Minimum amount of threads that are used by the workload container.
|
int |
outputBufferSize
Size of output buffer that is used when response data is written.
|
int |
port
Port that is used to server requests by the so called workload container.
|
int |
queueGrowSize
Size of which the request queue should be increased until the maximum is reached.
|
String |
restPath
Root path under which REST resources will be available.
|
boolean |
sendServerVersion
Enables sending the server version as a response header field.
|
boolean |
sendXPoweredBy
Enables sending the server version as a response header field.
|
ServletMapping[] |
servletMappings
Optional additional URL mappings for servlets.
|
boolean |
stopServerOnError
Defines if JEAF Fast Lane server should be stopped when a
Error occurs. |
boolean |
stopServerOnRuntimeException
Defines if JEAF Fast Lane server should be stopped when a
RuntimeException occurs. |
int |
threadIdleTimeout
Idle time after which a thread will be stopped and removed from pool.
|
boolean |
traceUncaughtErrors
Defines if uncaught
Error should be traced. |
boolean |
traceUncaughtRuntimeExceptions
Defines if uncaught
RuntimeException should be traced. |
public static final String FAST_LANE_CONFIG_RESOURCE_NAME
public static final String FAST_LANE_CONFIG_PATH
public static final int DEFAULT_PORT
public static final int DEFAULT_THREAD_IDLE_TIMEOUT
public static final int DEFAULT_WORKLOAD_MIN_THREADS
public static final int DEFAULT_WORKLOAD_MAX_THREADS
public static final int DEFAULT_MANAGEMENT_PORT
public static final int DEFAULT_MIN_MANAGEMENT_THREADS
public static final int DEFAULT_MAX_MANAGEMENT_THREADS
public static final int DEFAULT_INITIAL_QUEUE_SIZE
public static final int DEFAULT_MAX_QUEUE_SIZE
public static final int DEFAULT_QUEUE_GROW_SIZE
public static final int DEFAULT_INPUT_BUFFER_SIZE
public static final int DEFAULT_OUTPUT_BUFFER_SIZE
public static final String DEFAULT_CONTEXT_PATH
public static final String DEFAULT_REST_PATH
public static final boolean DEFAULT_REST_ENABLED
public static final boolean DEFAULT_WEB_SERVLET_ENABLED
public static final String DEFAULT_MANAGEMENT_PATH
public static final boolean DEFAULT_MANAGAMENT_INTERFACE_ENABLED
public static final int DEFAULT_HTTP_IO_IDLE_TIMEOUT
public static final boolean DEFAULT_SEND_SERVER_VERSION
public static final boolean DEFAULT_SEND_X_POWERED_BY
public static final boolean DEFAULT_GRACEFUL_SHUTDOWN
public static final int DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT
public static final boolean DEFAULT_STOP_SERVER_ON_ERROR
public static final boolean DEFAULT_TRACE_UNCAUGHT_ERRORS
public static final boolean DEFAULT_STOP_SERVER_ON_RUNTIME_EXCEPTION
public static final boolean DEFAULT_TRACE_UNCAUGHT__RUNTIME_EXCEPTIONS
public static final boolean DEFAULT_JMX_ENABLED
public abstract int port
public abstract int minThreads
public abstract int maxThreads
public abstract boolean enableREST
public abstract boolean enableWebServlets
public abstract boolean enableManagementInterface
public abstract int managementPort
public abstract int minManagementThreads
public abstract int maxManagementThreads
public abstract int threadIdleTimeout
public abstract int initialQueueSize
public abstract int maxQueueSize
public abstract int queueGrowSize
public abstract int inputBufferSize
public abstract int outputBufferSize
public abstract String contextPath
public abstract String restPath
public abstract String managementPath
public abstract int httpIOIdleTimeout
public abstract boolean sendServerVersion
public abstract boolean sendXPoweredBy
public abstract boolean gracefulShutdown
public abstract int gracefulShutdownTimeout
public abstract boolean stopServerOnError
Error occurs.public abstract boolean traceUncaughtErrors
Error should be traced.public abstract boolean stopServerOnRuntimeException
RuntimeException occurs.public abstract boolean traceUncaughtRuntimeExceptions
RuntimeException should be traced.public abstract boolean enableJMX
public abstract ServletMapping[] servletMappings
Copyright © 2021. All rights reserved.