Configuration

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Specifies the minimum size of a thread pool used to process application calls.

Link copied to clipboard

Specifies how many threads are used to accept new connections and start call processing.

Link copied to clipboard

List of connectors describing where and how the server should listen.

Link copied to clipboard

Returns the current parallelism level (e.g. the number of available processors).

Link copied to clipboard

Specifies the maximum amount of time in milliseconds for activity to cool down

Link copied to clipboard

Specifies the maximum amount of time in milliseconds to wait until server stops gracefully

Link copied to clipboard

Specifies size of the event group for processing connections, parsing messages and doing engine's internal work

Functions

Link copied to clipboard

Adds a non-secure connector to this engine environment

Link copied to clipboard

Loads common engine configuration parameters applicable to all engine types from the specified ApplicationConfig.

Link copied to clipboard
inline fun ApplicationEngine.Configuration.sslConnector(keyStore: KeyStore, keyAlias: String, noinline keyStorePassword: () -> CharArray, noinline privateKeyPassword: () -> CharArray, builder: EngineSSLConnectorBuilder.() -> Unit)

Adds a secure connector to this engine environment

Link copied to clipboard

Uses other configuration and overrides this with its values.