Interface Bulkhead.Metrics

Enclosing interface:
Bulkhead

public static interface Bulkhead.Metrics
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of parallel executions this bulkhead can support at this point in time.
    int
    Returns the configured max amount of concurrent calls allowed for this bulkhead, basically it's a top inclusive bound for the value returned from getAvailableConcurrentCalls().
  • Method Details

    • getAvailableConcurrentCalls

      int getAvailableConcurrentCalls()
      Returns the number of parallel executions this bulkhead can support at this point in time.
      Returns:
      remaining bulkhead depth
    • getMaxAllowedConcurrentCalls

      int getMaxAllowedConcurrentCalls()
      Returns the configured max amount of concurrent calls allowed for this bulkhead, basically it's a top inclusive bound for the value returned from getAvailableConcurrentCalls().
      Returns:
      max allowed concurrent calls