Package org.apache.druid.server.metrics
Interface QueryCountStatsProvider
-
- All Known Implementing Classes:
BrokerQueryResource,QueryResource
public interface QueryCountStatsProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFailedQueryCount()Returns the number of failed queries during the emission period.longgetInterruptedQueryCount()Returns the number of queries interrupted due to cancellation during the emission period.longgetSuccessfulQueryCount()Returns the number of successful queries processed during the emission period.longgetTimedOutQueryCount()Returns the number of timed out queries during the emission period.
-
-
-
Method Detail
-
getSuccessfulQueryCount
long getSuccessfulQueryCount()
Returns the number of successful queries processed during the emission period.
-
getFailedQueryCount
long getFailedQueryCount()
Returns the number of failed queries during the emission period.
-
getInterruptedQueryCount
long getInterruptedQueryCount()
Returns the number of queries interrupted due to cancellation during the emission period.
-
getTimedOutQueryCount
long getTimedOutQueryCount()
Returns the number of timed out queries during the emission period.
-
-