BulkheadRegistry

Registry for managing named bulkhead instances.

Types

Link copied to clipboard
object Companion

Factory for BulkheadRegistry.

Functions

Link copied to clipboard
suspend fun get(name: String): Bulkhead?

Gets an existing bulkhead by name.

Link copied to clipboard

Returns statistics for all registered bulkheads, keyed by name.

Link copied to clipboard
suspend fun getNames(): Set<String>

Returns the names of all registered bulkheads.

Link copied to clipboard
suspend fun getOrCreate(name: String, configure: BulkheadConfigBuilder.() -> Unit = {}): Bulkhead

Gets or creates a bulkhead with the given name.

Link copied to clipboard
suspend fun remove(name: String): Bulkhead?

Removes a bulkhead from the registry.

Link copied to clipboard
suspend fun resetAllStatistics()

Resets statistics for all registered bulkheads.