Protects against bursts of schema updates (for example when a client issues a sequence of DDL queries), by coalescing them into a single update.
- Value parameters:
- maxEvents
The maximum number of refreshes that can accumulate. If this count is reached, a refresh is done immediately and the window is reset.
- window
How long the driver waits to apply a refresh. If another refresh is requested within that time, the window is reset and a single refresh will be triggered when it ends. Debouncing may be disabled by setting the window to 0 or max-events to 1 (this is highly discouraged for schema refreshes).
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any