Bulkhead

object Bulkhead
Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

sealed trait BulkheadError[+E]
case class BulkheadException[E](error: BulkheadError[E]) extends Exception
case object BulkheadRejection extends BulkheadError[Nothing]
final case class Metrics(inFlight: Int, inQueue: Int)
final case class WrappedError[E](e: E) extends BulkheadError[E]

Value members

Concrete methods

def make(maxInFlightCalls: Int, maxQueueing: Int): ZManaged[Any, Nothing, Bulkhead]

Create a Bulkhead with the given parameters

Create a Bulkhead with the given parameters

Value parameters:
maxInFlightCalls

Maxmimum of concurrent executing calls

maxQueueing

Maximum queueing calls