Package io.higson.runtime.profiler
Class AbstractProfiler<T,S extends AbstractProfilerStat<T>>
java.lang.Object
io.higson.runtime.profiler.AbstractProfiler<T,S>
- Direct Known Subclasses:
AttributeProfiler,CommonProfiler
- Author:
- Maciej Główka on 04.12.2018
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()abstract Comparator<S>abstract TReturns complete statistics entry from given [key].Returns a snapshot of statisticsprintSummary(String title) printSummary(List<S> statistics, String title)
-
Constructor Details
-
AbstractProfiler
protected AbstractProfiler(int bucketCount)
-
-
Method Details
-
addTime
-
addTime
-
clear
public void clear() -
getStat
Returns complete statistics entry from given [key]. Includes data from all buckets. -
printSummary
-
printSummary
-
printSummary
-
getStatistics
Returns a snapshot of statistics- Returns:
- returns a snapshot of statistics
-
sort
-
getComparator
-
getNullKey
-
getStatsSupplier
-
getKeyStatsSupplier
-