Interface Bulkhead.Metrics

  • Enclosing interface:
    Bulkhead

    public static interface Bulkhead.Metrics
    • Method Detail

      • 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