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 classWorkQueueStats.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkQueueStats.Builderbuilder()Returns aWorkQueueStatsbuilder.StringtoString()longtotalCompleted()Returns the total completed tasks.longtotalInProgress()Returns the total in progress tasks.longtotalPending()Returns the total pending tasks.
-
-
-
Method Detail
-
builder
public static WorkQueueStats.Builder builder()
Returns aWorkQueueStatsbuilder.- 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.
-
-