Package org.onosproject.store.service
Class WorkQueueStats
- java.lang.Object
-
- org.onosproject.store.service.WorkQueueStats
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkQueueStats.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkQueueStats.Builder
builder()
Returns aWorkQueueStats
builder.String
toString()
long
totalCompleted()
Returns the total completed tasks.long
totalInProgress()
Returns the total in progress tasks.long
totalPending()
Returns the total pending tasks.
-
-
-
Method Detail
-
builder
public static WorkQueueStats.Builder builder()
Returns aWorkQueueStats
builder.- Returns:
- builder
-
totalPending
public long totalPending()
Returns the total pending tasks. These are the tasks that are added but not yet picked up.- Returns:
- total pending tasks.
-
totalInProgress
public long totalInProgress()
Returns the total in progress tasks. These are the tasks that are currently being worked on.- Returns:
- total in progress tasks.
-
totalCompleted
public long totalCompleted()
Returns the total completed tasks.- Returns:
- total completed tasks.
-
-