public class ReversePriorityStatisticsMapper extends PriorityStatisticsMapper implements StatisticsMapper<IssueConstant>
This class needs to minimise its outgoing references so as not to cause memory leaks.
See comments in PriorityStatisticsMapper.
constantsManager| Constructor and Description |
|---|
ReversePriorityStatisticsMapper(ConstantsManager constantsManager) |
| Modifier and Type | Method and Description |
|---|---|
Comparator<IssueConstant> |
getComparator()
A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String). |
getConstantType, getDocumentConstant, getIssueFieldConstant, getSearchRequestAppender, isFieldAlwaysPartOfAnIssueequals, getSearchUrlSuffix, getValueFromLuceneField, hashCode, isValidValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSearchUrlSuffix, isFieldAlwaysPartOfAnIssue, isValidValueequals, getDocumentConstant, getValueFromLuceneField, hashCodepublic ReversePriorityStatisticsMapper(ConstantsManager constantsManager)
public Comparator<IssueConstant> getComparator()
LuceneFieldSorterLuceneFieldSorter.getValueFromLuceneField(String).
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
getComparator in interface LuceneFieldSorter<IssueConstant>getComparator in class AbstractConstantStatisticsMapperCopyright © 2002-2018 Atlassian. All Rights Reserved.