Package io.temporal.api.taskqueue.v1
Interface TaskQueueStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskQueueStats,TaskQueueStats.Builder
@Generated(value="protoc", comments="annotations:TaskQueueStatsOrBuilder.java.pb.meta") public interface TaskQueueStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DurationgetApproximateBacklogAge()Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.com.google.protobuf.DurationOrBuildergetApproximateBacklogAgeOrBuilder()Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.longgetApproximateBacklogCount()The approximate number of tasks backlogged in this task queue.floatgetTasksAddRate()Approximate tasks per second added to the task queue based on activity within a fixed window.floatgetTasksDispatchRate()Approximate tasks per second dispatched to workers based on activity within a fixed window.booleanhasApproximateBacklogAge()Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getApproximateBacklogCount
long getApproximateBacklogCount()
The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually converges to the right value.
int64 approximate_backlog_count = 1;- Returns:
- The approximateBacklogCount.
-
hasApproximateBacklogAge
boolean hasApproximateBacklogAge()
Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.
.google.protobuf.Duration approximate_backlog_age = 2;- Returns:
- Whether the approximateBacklogAge field is set.
-
getApproximateBacklogAge
com.google.protobuf.Duration getApproximateBacklogAge()
Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.
.google.protobuf.Duration approximate_backlog_age = 2;- Returns:
- The approximateBacklogAge.
-
getApproximateBacklogAgeOrBuilder
com.google.protobuf.DurationOrBuilder getApproximateBacklogAgeOrBuilder()
Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.
.google.protobuf.Duration approximate_backlog_age = 2;
-
getTasksAddRate
float getTasksAddRate()
Approximate tasks per second added to the task queue based on activity within a fixed window. This includes both backlogged and sync-matched tasks.
float tasks_add_rate = 3;- Returns:
- The tasksAddRate.
-
getTasksDispatchRate
float getTasksDispatchRate()
Approximate tasks per second dispatched to workers based on activity within a fixed window. This includes both backlogged and sync-matched tasks.
float tasks_dispatch_rate = 4;- Returns:
- The tasksDispatchRate.
-
-