-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
callsAccepted()
Number of calls accepted on the bulkhead.long
callsRejected()
Number of calls rejected on the bulkhead.long
concurrentExecutions()
Number of concurrent executions at this time.long
waitingQueueSize()
Size of waiting queue at this time.
-
-
-
Method Detail
-
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.
-
-