Class AbstractStatisticsPrinter<T>
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.AbstractStatisticsPrinter<T>
-
- Direct Known Subclasses:
ActivityItemProcessingStatisticsPrinter
,ActivityProgressPrinter
,CachePerformanceInformationPrinter
,OperationsPerformanceInformationPrinter
,ProvisioningStatisticsPrinter
,RepositoryPerformanceInformationPrinter
,SynchronizationInformationPrinter
,TaskWorkBucketManagementPerformanceInformationPrinter
public abstract class AbstractStatisticsPrinter<T> extends Object
Prints statistics in selected format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractStatisticsPrinter.Format
static class
AbstractStatisticsPrinter.Options
static class
AbstractStatisticsPrinter.SortBy
-
Constructor Summary
Constructors Constructor Description AbstractStatisticsPrinter(T information, AbstractStatisticsPrinter.Options options, Integer iterations, Integer seconds)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Number
avg(Number total, Integer countObject)
protected Number
div(Number total, Integer countObject)
Data
getData()
Formatting
getFormatting()
protected Number
percent(Long value, Long baseObject)
abstract void
prepare()
String
print()
-
-
-
Constructor Detail
-
AbstractStatisticsPrinter
public AbstractStatisticsPrinter(@NotNull T information, AbstractStatisticsPrinter.Options options, Integer iterations, Integer seconds)
-
-
Method Detail
-
print
public String print()
-
prepare
public abstract void prepare()
-
getData
public Data getData()
-
getFormatting
public Formatting getFormatting()
-
-