public interface QueryStatCore extends QueryStat
QueryStat
with some internal operations.Modifier and Type | Method and Description |
---|---|
void |
logQuery(String language,
String statement,
long durationMs)
Logs the call of each query ran on the repository.
|
clearPopularQueriesQueue, clearSlowQueriesQueue, getPopularQueries, getPopularQueriesQueueSize, getSlowQueries, getSlowQueriesQueueSize, isEnabled, reset, setEnabled, setPopularQueriesQueueSize, setSlowQueriesQueueSize
void logQuery(String language, String statement, long durationMs)
language
- the query language, see
QueryManager.getSupportedQueryLanguages()
statement
- the querydurationMs
- time in msCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.