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 size of the event group for running application code

Link copied to clipboard
var connectionGroupSize: Int

Specifies size of the event group for accepting connections

Link copied to clipboard
val parallelism: Int

Provides currently available parallelism, e.g. 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: ApplicationConfig)

Load engine's configuration suitable for all engines from deploymentConfig