stop

open fun stop(
    gracePeriod: Long,
    timeout: Long,
    timeUnit: TimeUnit
): Unit

Deprecated: Binary compatibility.

Stops this ApplicationEngine

Parameters

gracePeriod - the maximum amount of time for activity to cool down

timeout - the maximum amount of time to wait until server stops gracefully

timeUnit - the java.util.concurrent.TimeUnit for gracePeriod and timeout

abstract fun stop(
    gracePeriodMillis: Long,
    timeoutMillis: Long
): Unit

Stops this ApplicationEngine

Parameters

gracePeriodMillis - the maximum amount of time for activity to cool down

timeoutMillis - the maximum amount of time to wait until server stops gracefully