ConfigurableBarrier

The ConfigurableBarrier is a specialist Barrier implementation that supports updated configuration at runtime.

Properties

Link copied to clipboard
abstract val id: String

The unique identifier of this barrier. This String will be used to match up barriers scoped in the configuration JSON.

Link copied to clipboard

States whether or not this Barrier can be bypassed for "flush" events.

Functions

Link copied to clipboard
abstract fun onState(dispatcherId: String): Observable<BarrierState>

The flow of this barrier's current state.

Link copied to clipboard
open fun updateConfiguration(configuration: DataObject)

Method to notify this Barrier that updated configuration is available that may affect the Barrier's behavior.