Package org.apache.jackrabbit.stats
Interface QueryStatCore
-
- All Superinterfaces:
QueryStat
- All Known Implementing Classes:
QueryStatImpl
public interface QueryStatCore extends QueryStat
Extends external facingQueryStat
with some internal operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
logQuery(java.lang.String language, java.lang.String statement, long durationMs)
Logs the call of each query ran on the repository.-
Methods inherited from interface org.apache.jackrabbit.api.stats.QueryStat
clearPopularQueriesQueue, clearSlowQueriesQueue, getPopularQueries, getPopularQueriesQueueSize, getSlowQueries, getSlowQueriesQueueSize, isEnabled, reset, setEnabled, setPopularQueriesQueueSize, setSlowQueriesQueueSize
-
-
-
-
Method Detail
-
logQuery
void logQuery(java.lang.String language, java.lang.String statement, long durationMs)
Logs the call of each query ran on the repository.- Parameters:
language
- the query language, seeQueryManager.getSupportedQueryLanguages()
statement
- the querydurationMs
- time in ms
-
-