Package com.atlassian.jira.index.stats
Class NoOpIndexSearcherStats
java.lang.Object
com.atlassian.jira.index.stats.NoOpIndexSearcherStats
- All Implemented Interfaces:
IndexSearcherStats
Empty implementation for not supported indexes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonDoc(long millis) voidonGetHitCount(long millis) Collect stats for get hit count operation.voidonGetNewSearcher(long millis) voidonGetSearcherTotal(long millis) voidonSearch(long millis) voidonSearchStream(long millis) Collect stats for the search stream operation
-
Constructor Details
-
NoOpIndexSearcherStats
public NoOpIndexSearcherStats()
-
-
Method Details
-
onSearch
public void onSearch(long millis) - Specified by:
onSearchin interfaceIndexSearcherStats
-
onDoc
public void onDoc(long millis) - Specified by:
onDocin interfaceIndexSearcherStats
-
onGetSearcherTotal
public void onGetSearcherTotal(long millis) - Specified by:
onGetSearcherTotalin interfaceIndexSearcherStats
-
onGetNewSearcher
public void onGetNewSearcher(long millis) - Specified by:
onGetNewSearcherin interfaceIndexSearcherStats
-
onSearchStream
public void onSearchStream(long millis) Description copied from interface:IndexSearcherStatsCollect stats for the search stream operation- Specified by:
onSearchStreamin interfaceIndexSearcherStats- Parameters:
millis- the time taken for the operation to produce the stream
-
onGetHitCount
public void onGetHitCount(long millis) Description copied from interface:IndexSearcherStatsCollect stats for get hit count operation.- Specified by:
onGetHitCountin interfaceIndexSearcherStats- Parameters:
millis- the time taken to perform the get hit count operation
-