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, isFieldAlwaysPartOfAnIssue
equals, getSearchUrlSuffix, getValueFromLuceneField, hashCode, isValidValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSearchUrlSuffix, isFieldAlwaysPartOfAnIssue, isValidValue
equals, getDocumentConstant, getValueFromLuceneField, hashCode
public ReversePriorityStatisticsMapper(ConstantsManager constantsManager)
public Comparator<IssueConstant> getComparator()
LuceneFieldSorter
LuceneFieldSorter.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 AbstractConstantStatisticsMapper
Copyright © 2002-2015 Atlassian. All Rights Reserved.