Class CachingStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.util.StatisticsMapperWrapper
com.atlassian.jira.issue.statistics.util.CachingStatisticsMapper
- All Implemented Interfaces:
LuceneFieldSorter
,StatisticsMapper
Deprecated.
A statisticsMapper that caches the return value from
getValueFromLuceneField(String)
in an internal
cache.
As the cache is not bounded, this object should not be stored for longer than a request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueFromLuceneField
(String documentValue) Deprecated.As lookups may be expensive, we cache the String->Object values in a cacheMethods 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 Details
-
CachingStatisticsMapper
Deprecated.
-
-
Method Details
-
getValueFromLuceneField
Deprecated.As lookups may be expensive, we cache the String->Object values in a cache- Specified by:
getValueFromLuceneField
in interfaceLuceneFieldSorter
- Overrides:
getValueFromLuceneField
in classStatisticsMapperWrapper
- Parameters:
documentValue
- The value of the field in the lucene index- Returns:
- The value that will be passed to the display
-
CachingBytesRefMapper
instead. Since v7.5.