Package org.apache.druid.server.metrics
Interface QueryCountStatsProvider
- All Known Implementing Classes:
BrokerQueryResource,QueryResource
public interface QueryCountStatsProvider
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of failed queries during the emission period.longReturns the number of queries interrupted due to cancellation during the emission period.longReturns the number of successful queries processed during the emission period.longReturns the number of timed out queries during the emission period.
-
Method Details
-
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.
-