Package org.apache.jackrabbit.stats
Class QueryStatDtoOccurrenceComparator
- java.lang.Object
-
- org.apache.jackrabbit.stats.QueryStatDtoOccurrenceComparator
-
- All Implemented Interfaces:
java.util.Comparator<QueryStatDtoImpl>
public class QueryStatDtoOccurrenceComparator extends java.lang.Object implements java.util.Comparator<QueryStatDtoImpl>
QueryStatDto comparator by occurrence count used by the popular queries queue
-
-
Constructor Summary
Constructors Constructor Description QueryStatDtoOccurrenceComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(QueryStatDtoImpl o1, QueryStatDtoImpl o2)
-
-
-
Method Detail
-
compare
public int compare(QueryStatDtoImpl o1, QueryStatDtoImpl o2)
- Specified by:
compare
in interfacejava.util.Comparator<QueryStatDtoImpl>
-
-