- Enclosing interface:
Bulkhead
public static interface Bulkhead.Stats
Provides statistics during the lifetime of a bulkhead, such as
concurrent executions, accepted/rejected calls and queue size.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Number of calls accepted on the bulkhead.long
Number of calls rejected on the bulkhead.long
Number of concurrent executions at this time.long
Size of waiting queue at this time.
-
Method Details
-
concurrentExecutions
long concurrentExecutions()Number of concurrent executions at this time.- Returns:
- concurrent executions.
-
callsAccepted
long callsAccepted()Number of calls accepted on the bulkhead.- Returns:
- calls accepted.
-
callsRejected
long callsRejected()Number of calls rejected on the bulkhead.- Returns:
- calls rejected.
-
waitingQueueSize
long waitingQueueSize()Size of waiting queue at this time.- Returns:
- size of waiting queue.
-