HardStop

class HardStop(val window: String, val resetsAtEpochMillis: Long) : BudgetEvent(source)

A hard window is full for its current period; it refuses until resetsAtEpochMillis. Raised once per window and period.

Stable Core.

Parameters

window

the window's name; not blank.

resetsAtEpochMillis

the epoch millisecond the period ends.

Throws

Constructors

Link copied to clipboard
constructor(window: String, resetsAtEpochMillis: Long)

Properties

Link copied to clipboard

The epoch millisecond the period ends.

Link copied to clipboard

The window's name.

Functions

Link copied to clipboard
open override fun toString(): String

A diagnostic string for logs: window and resetsAtEpochMillis. Its format is not part of the API and may change.