Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgm3746 committed Dec 6, 2024
1 parent af966e8 commit 2ba3f2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@
*/
public class JvmDao {

/**
* Used for sorting logging events.
*/
private static final Comparator<LogEvent> COMPARE_BY_TIMESTAMP = comparing(LogEvent::getTimestamp);

/**
* Used for sorting safepoint statistics by total time, in reverse order.
*/
private static final Comparator<Map.Entry<Trigger, LongSummaryStatistics>> COMPARE_BY_SUM =
//
new Comparator<Map.Entry<Trigger, LongSummaryStatistics>>() {
Expand Down

0 comments on commit 2ba3f2d

Please sign in to comment.