Package io.ebean.meta
Class SortMetric
- java.lang.Object
-
- io.ebean.meta.SortMetric
-
public class SortMetric extends Object
Comparator for timed metrics sorted by name and then count.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SortMetric.Count
Sort by count desc.static class
SortMetric.CountName
Sort MetaCountMetric's by name.static class
SortMetric.Max
Sort by max desc.static class
SortMetric.Mean
Sort by mean desc.static class
SortMetric.Name
Sort by name.static class
SortMetric.Total
Sort by total time desc.
-
Field Summary
Fields Modifier and Type Field Description static Comparator<MetaTimedMetric>
COUNT
static Comparator<MetaCountMetric>
COUNT_NAME
static Comparator<MetaTimedMetric>
MAX
static Comparator<MetaTimedMetric>
MEAN
static Comparator<MetaTimedMetric>
NAME
static Comparator<MetaTimedMetric>
TOTAL
-
Constructor Summary
Constructors Constructor Description SortMetric()
-
-
-
Field Detail
-
COUNT_NAME
public static final Comparator<MetaCountMetric> COUNT_NAME
-
NAME
public static final Comparator<MetaTimedMetric> NAME
-
COUNT
public static final Comparator<MetaTimedMetric> COUNT
-
TOTAL
public static final Comparator<MetaTimedMetric> TOTAL
-
MEAN
public static final Comparator<MetaTimedMetric> MEAN
-
MAX
public static final Comparator<MetaTimedMetric> MAX
-
-
Constructor Detail
-
SortMetric
public SortMetric()
-
-