LifecycleSettings

@Serializable
data class LifecycleSettings(var timeouts: Timeouts = Timeouts(), var allowAutoStart: Boolean = true, var allowAutoStop: Boolean = true, var reconciliationBehavior: ReconcileBehavior = ON_STOP, var shutdownBehavior: ShutdownBehavior = ShutdownBehavior.STOP)

Lifecycle settings for a server

These are settings that are used to control the basic lifecycle of a server. This allows a user to override the default behavior of the server manager.

Constructors

Link copied to clipboard
constructor(timeouts: Timeouts = Timeouts(), allowAutoStart: Boolean = true, allowAutoStop: Boolean = true, reconciliationBehavior: ReconcileBehavior = ON_STOP, shutdownBehavior: ShutdownBehavior = ShutdownBehavior.STOP)

Properties

Link copied to clipboard

Whether the server should be allowed to start automatically

Link copied to clipboard

Whether the server should be allowed to stop automatically

Link copied to clipboard

The action to take when the server receives a shutdown signal. Either "STOP" or "REMOVE"

Link copied to clipboard

Various timeouts used for the server