com.atlassian.jira.web.filters
Class ThreadLocalQueryProfiler

java.lang.Object
  extended bycom.atlassian.jira.web.filters.ThreadLocalQueryProfiler

public class ThreadLocalQueryProfiler
extends Object


Field Summary
static String LUCENE_GROUP
           
(package private)  com.atlassian.jira.web.filters.ThreadLocalQueryProfiler.DataPointStore store
           
(package private) static ThreadLocal THREAD_LOCAL
           
 
Constructor Summary
ThreadLocalQueryProfiler()
           
 
Method Summary
static void end()
           
static org.apache.lucene.index.IndexReader getReader()
           
static org.apache.lucene.search.Searcher getSearcher()
           
static void resetSearcher()
           
static void start()
           
static void store(String group, String query, long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_LOCAL

static ThreadLocal THREAD_LOCAL

store

com.atlassian.jira.web.filters.ThreadLocalQueryProfiler.DataPointStore store

LUCENE_GROUP

public static final String LUCENE_GROUP
See Also:
Constant Field Values
Constructor Detail

ThreadLocalQueryProfiler

public ThreadLocalQueryProfiler()
Method Detail

start

public static void start()

store

public static void store(String group,
                         String query,
                         long time)

end

public static void end()
                throws IOException
Throws:
IOException

getSearcher

public static org.apache.lucene.search.Searcher getSearcher()
                                                     throws IOException
Throws:
IOException

getReader

public static org.apache.lucene.index.IndexReader getReader()
                                                     throws IOException
Throws:
IOException

resetSearcher

public static void resetSearcher()
                          throws IOException
Throws:
IOException


Copyright © 2002-2006 Atlassian. All Rights Reserved.