Annotation Type FastLaneConfig
-
@Retention(RUNTIME) @Target(TYPE) @Documented public @interface FastLaneConfig
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringDEFAULT_CONTEXT_PATHDefault value for context path.static booleanDEFAULT_GRACEFUL_SHUTDOWNBy default a graceful shutdown is enabled.static intDEFAULT_GRACEFUL_SHUTDOWN_TIMEOUTDefault timeout for graceful shutdown.static intDEFAULT_HTTP_IO_IDLE_TIMEOUTDefault value for HTTP I/O timeout of the HTTP connector.static intDEFAULT_INITIAL_QUEUE_SIZEDefault value for initial queue size.static intDEFAULT_INPUT_BUFFER_SIZEDefault size of input buffer when JEAF Fast Lane reads data from incoming requestsstatic booleanDEFAULT_JMX_ENABLEDBy default JMX is disabled for security reasons.static booleanDEFAULT_MANAGAMENT_INTERFACE_ENABLEDBy default management interface is enabled.static java.lang.StringDEFAULT_MANAGEMENT_PATHDefault path for management interface.static intDEFAULT_MANAGEMENT_PORTDefault port that is used for the management interface.static intDEFAULT_MAX_MANAGEMENT_THREADSDefault value for maximum threads of management container.static intDEFAULT_MAX_QUEUE_SIZEMaximum 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 intDEFAULT_MIN_MANAGEMENT_THREADSDefault value for minimum threads of management container.static intDEFAULT_OUTPUT_BUFFER_SIZEDefault size of output buffer when JEAF Fast Lane writes data as response.static intDEFAULT_PORTDefault port that is used if nothing else is configured.static intDEFAULT_QUEUE_GROW_SIZEDefault value for grow size of queue.static booleanDEFAULT_REST_ENABLEDBy default REST services are enabled.static java.lang.StringDEFAULT_REST_PATHDefault value for REST root path.static booleanDEFAULT_SEND_SERVER_VERSIONBy default information about server version is not send in response header for security reasons.static booleanDEFAULT_SEND_X_POWERED_BYBy default information about server version is not send in response header for security reasons.static booleanDEFAULT_STOP_SERVER_ON_ERRORBy default JEAF Fast Lane server will be stopped in case that a java.lang.Error occurs.static booleanDEFAULT_STOP_SERVER_ON_RUNTIME_EXCEPTIONBy default an uncaught runtime exception will not cause the server to stop.static intDEFAULT_THREAD_IDLE_TIMEOUTDefault thread idle timeout.static booleanDEFAULT_TRACE_UNCAUGHT__RUNTIME_EXCEPTIONSBy default uncaught runtime exceptions will be traced.static booleanDEFAULT_TRACE_UNCAUGHT_ERRORSBy default java.lang.Error will be traced.static booleanDEFAULT_WEB_SERVLET_ENABLEDBy default Web Servlets are enabled.static intDEFAULT_WORKLOAD_MAX_THREADSDefault value for maximum threads of workload container.static intDEFAULT_WORKLOAD_MIN_THREADSDefault value for minimum threads of workload container.static java.lang.StringFAST_LANE_CONFIG_PATHPath under which the configuration file is stored.static java.lang.StringFAST_LANE_CONFIG_RESOURCE_NAMEName of the resource that contains the name of the class with the @ToolsConfig annotation.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcontextPathContext path of the workload container.booleanenableJMXDefines if JMX should be enabled or not.booleanenableManagementInterfaceEnables management interface.booleanenableRESTEnables the REST interface so that REST service can be used.booleanenableWebServletsEnables the servlet interface so that Web Servlets can be used.booleangracefulShutdownEnables graceful shutdown behavior.intgracefulShutdownTimeoutTimeout for graceful shutdown.inthttpIOIdleTimeoutHTTP I/O timeout of the HTTP connector.intinitialQueueSizeInitial size of queue that is used to store requests until they are really processed.intinputBufferSizeSize of input buffer that is used when request data is read.java.lang.StringmanagementPathContext path under which the management interface will be available.intmanagementPortPort under which the management interface is accessible.intmaxManagementThreadsMaximum amount of threads that are used for requests to the management interface.intmaxQueueSizeMaximum size of queue that is used to store requested until they are really processed.intmaxThreadsMaximum amount of threads that are used by the workload container.intminManagementThreadsMinimum amount of threads that are used for requests to the management interface.intminThreadsMinimum amount of threads that are used by the workload container.intoutputBufferSizeSize of output buffer that is used when response data is written.intportPort that is used to server requests by the so called workload container.intqueueGrowSizeSize of which the request queue should be increased until the maximum is reached.java.lang.StringrestPathRoot path under which REST resources will be available.booleansendServerVersionEnables sending the server version as a response header field.booleansendXPoweredByEnables sending the server version as a response header field.ServletMapping[]servletMappingsOptional additional URL mappings for servlets.booleanstopServerOnErrorDefines if JEAF Fast Lane server should be stopped when aErroroccurs.booleanstopServerOnRuntimeExceptionDefines if JEAF Fast Lane server should be stopped when aRuntimeExceptionoccurs.intthreadIdleTimeoutIdle time after which a thread will be stopped and removed from pool.booleantraceUncaughtErrorsDefines if uncaughtErrorshould be traced.booleantraceUncaughtRuntimeExceptionsDefines if uncaughtRuntimeExceptionshould be traced.
-
-
-
-
DEFAULT_MAX_QUEUE_SIZE
static final 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. It strong recommended to not use this as it might crash the whole server in case of high loads or DoS attacks.
-
-
-
maxQueueSize
int maxQueueSize
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. It strong recommended to not use this as it might crash the whole server in case of high loads or DoS attacks.
- Default:
- 0
-
-
-
servletMappings
ServletMapping[] servletMappings
Optional additional URL mappings for servlets. Servlet mappings are an addition to what is already configured in the @WebServlet annotation.- Default:
- {}
-
-