Class StatsCollectorUtil
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.util.StatsCollectorUtil
-
public class StatsCollectorUtil extends Object
Statistics Util class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TriStatsConsumer
getCreateStatsConsumer()
static BiStatsConsumer
getJournalStatsConsumer()
static BiStatsConsumer
getStatsConsumer()
static BiPredicate<Collection<? extends Document>,Integer>
isNodesCollectionUpdated()
static void
perfLog(Logger perfLog, int perfLogThreshold, long timeTakenNanos, String logMsgPrefix, Object... arguments)
-
-
-
Method Detail
-
perfLog
public static void perfLog(Logger perfLog, int perfLogThreshold, long timeTakenNanos, String logMsgPrefix, Object... arguments)
-
getStatsConsumer
public static BiStatsConsumer getStatsConsumer()
-
getJournalStatsConsumer
public static BiStatsConsumer getJournalStatsConsumer()
-
getCreateStatsConsumer
public static TriStatsConsumer getCreateStatsConsumer()
-
isNodesCollectionUpdated
public static BiPredicate<Collection<? extends Document>,Integer> isNodesCollectionUpdated()
-
-