|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.statistics.util.StatisticsMapperWrapper com.atlassian.jira.issue.statistics.util.CachingStatisticsMapper
public class CachingStatisticsMapper
A statisticsMapper that caches the return value from getValueFromLuceneField(String)
in an internal
cache.
Constructor Summary | |
---|---|
CachingStatisticsMapper(StatisticsMapper statisticsMapper)
|
Method Summary | |
---|---|
java.lang.Object |
getValueFromLuceneField(java.lang.String documentValue)
As lookups may be expensive, we cache the String->Object values in a cache |
Methods inherited from class com.atlassian.jira.issue.statistics.util.StatisticsMapperWrapper |
---|
getComparator, getDocumentConstant, getSearchUrlSuffix, isFieldAlwaysPartOfAnIssue, isValidValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.issue.search.LuceneFieldSorter |
---|
equals, hashCode |
Constructor Detail |
---|
public CachingStatisticsMapper(StatisticsMapper statisticsMapper)
Method Detail |
---|
public java.lang.Object getValueFromLuceneField(java.lang.String documentValue)
getValueFromLuceneField
in interface LuceneFieldSorter
getValueFromLuceneField
in class StatisticsMapperWrapper
documentValue
- The value of the field in the lucene index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |