- 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 TypeMethodDescriptionlongNumber of calls accepted on the bulkhead.longNumber of calls rejected on the bulkhead.longNumber of concurrent executions at this time.longSize 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.
-