Package org.apache.druid.server.metrics
Interface TaskCountStatsProvider
-
public interface TaskCountStatsProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<String,Long>getFailedTaskCount()Deprecated.Map<String,Long>getPendingTaskCount()Deprecated.Map<String,Long>getRunningTaskCount()Deprecated.CoordinatorRunStatsgetStats()Collects all task level stats.Map<String,Long>getSuccessfulTaskCount()Deprecated.Map<String,Long>getWaitingTaskCount()Deprecated.
-
-
-
Method Detail
-
getSuccessfulTaskCount
@Deprecated Map<String,Long> getSuccessfulTaskCount()
Deprecated.Return the number of successful tasks for each datasource during emission period.
-
getFailedTaskCount
@Deprecated Map<String,Long> getFailedTaskCount()
Deprecated.Return the number of failed tasks for each datasource during emission period.
-
getRunningTaskCount
@Deprecated Map<String,Long> getRunningTaskCount()
Deprecated.Return the number of current running tasks for each datasource.
-
getPendingTaskCount
@Deprecated Map<String,Long> getPendingTaskCount()
Deprecated.Return the number of current pending tasks for each datasource.
-
getWaitingTaskCount
@Deprecated Map<String,Long> getWaitingTaskCount()
Deprecated.Return the number of current waiting tasks for each datasource.
-
getStats
CoordinatorRunStats getStats()
Collects all task level stats. This method deprecates the other task stats methods such asgetPendingTaskCount(),getWaitingTaskCount()and will replace them in a future release.- Returns:
- All task stats collected since the previous invocation of this method.
-
-