org.apache.jackrabbit.stats
Interface QueryStatCore

All Superinterfaces:
org.apache.jackrabbit.api.stats.QueryStat
All Known Implementing Classes:
QueryStatImpl

public interface QueryStatCore
extends org.apache.jackrabbit.api.stats.QueryStat

Extends external facing QueryStat with some internal operations


Method Summary
 void logQuery(String language, 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(String language,
              String statement,
              long durationMs)
Logs the call of each query ran on the repository.

Parameters:
language - the query language, see org.apache.jackrabbit.spi.commons.name.NameConstants#JCR_LANGUAGE
statement - the query
durationMs - time in ms


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.