Search in sources :

Example 11 with ProcessedEventsRateString

use of de.invesdwin.util.lang.ProcessedEventsRateString in project invesdwin-context-persistence by subes.

the class ADelegateDailyDownloadRangeTableRequest method printProgress.

protected void printProgress(final String action, final Instant start, final int count) {
    final Duration duration = start.toDuration();
    log.info("%s: %s %s during %s", action, count, new ProcessedEventsRateString(count, duration), duration);
}
Also used : ProcessedEventsRateString(de.invesdwin.util.lang.ProcessedEventsRateString) Duration(de.invesdwin.util.time.duration.Duration)

Example 12 with ProcessedEventsRateString

use of de.invesdwin.util.lang.ProcessedEventsRateString in project invesdwin-context-persistence by subes.

the class ADatabasePerformanceTest method printProgress.

protected void printProgress(final String action, final Instant start, final long count, final int maxCount) {
    final Duration duration = start.toDuration();
    log.info("%s: %s/%s (%s) %s during %s", action, count, maxCount, new Percent(count, maxCount).toString(PercentScale.PERCENT), new ProcessedEventsRateString(count, duration), duration);
}
Also used : ProcessedEventsRateString(de.invesdwin.util.lang.ProcessedEventsRateString) Percent(de.invesdwin.util.math.decimal.scaled.Percent) Duration(de.invesdwin.util.time.duration.Duration)

Example 13 with ProcessedEventsRateString

use of de.invesdwin.util.lang.ProcessedEventsRateString in project invesdwin-context-persistence by subes.

the class ADatabasePerformanceTest method printProgress.

protected void printProgress(final String action, final Instant start, final long count, final int maxCount) {
    final Duration duration = start.toDuration();
    log.info("%s: %s/%s (%s) %s during %s", action, count, maxCount, new Percent(count, maxCount).toString(PercentScale.PERCENT), new ProcessedEventsRateString(count, duration), duration);
}
Also used : ProcessedEventsRateString(de.invesdwin.util.lang.ProcessedEventsRateString) Percent(de.invesdwin.util.math.decimal.scaled.Percent) Duration(de.invesdwin.util.time.duration.Duration)

Example 14 with ProcessedEventsRateString

use of de.invesdwin.util.lang.ProcessedEventsRateString in project invesdwin-context-persistence by subes.

the class ADatabasePerformanceTest method printProgress.

protected void printProgress(final String action, final Instant start, final long count, final int maxCount) {
    final Duration duration = start.toDuration();
    log.info("%s: %s/%s (%s) %s during %s", action, count, maxCount, new Percent(count, maxCount).toString(PercentScale.PERCENT), new ProcessedEventsRateString(count, duration), duration);
}
Also used : ProcessedEventsRateString(de.invesdwin.util.lang.ProcessedEventsRateString) Percent(de.invesdwin.util.math.decimal.scaled.Percent) Duration(de.invesdwin.util.time.duration.Duration)

Example 15 with ProcessedEventsRateString

use of de.invesdwin.util.lang.ProcessedEventsRateString in project invesdwin-context-persistence by subes.

the class ADatabasePerformanceTest method printProgress.

protected void printProgress(final String action, final Instant start, final long count, final int maxCount) {
    final Duration duration = start.toDuration();
    log.info("%s: %s/%s (%s) %s during %s", action, count, maxCount, new Percent(count, maxCount).toString(PercentScale.PERCENT), new ProcessedEventsRateString(count, duration), duration);
}
Also used : ProcessedEventsRateString(de.invesdwin.util.lang.ProcessedEventsRateString) Percent(de.invesdwin.util.math.decimal.scaled.Percent) Duration(de.invesdwin.util.time.duration.Duration)

Aggregations

ProcessedEventsRateString (de.invesdwin.util.lang.ProcessedEventsRateString)16 Duration (de.invesdwin.util.time.duration.Duration)16 Percent (de.invesdwin.util.math.decimal.scaled.Percent)13 Instant (de.invesdwin.util.time.Instant)2 FDate (de.invesdwin.util.time.fdate.FDate)1