Search in sources :

Example 1 with ProcessedEventsRateString

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

the class ChannelPerformanceTest method printProgress.

private void printProgress(final String action, final Instant start, final int 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 2 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 3 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 4 with ProcessedEventsRateString

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

the class ADelegateDailyDownloadTableRequest 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 5 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