Configuration

open class Configuration : ApplicationEngine.Configuration

Configuration for the BaseApplicationEngine

Constructors

Link copied to clipboard
fun Configuration()

Properties

Link copied to clipboard
var callGroupSize: Int

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

Link copied to clipboard
var connectionGroupSize: Int

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

Link copied to clipboard
val parallelism: Int

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

Link copied to clipboard
var workerGroupSize: Int

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

Extensions

Link copied to clipboard
fun BaseApplicationEngine.Configuration.loadCommonConfiguration(deploymentConfig: <ERROR CLASS>)

Load engine's configuration suitable for all engines from deploymentConfig