public void logPhase(final Phase phase,
                             final DurationTimer durationTimer,
                             final long affectedItemCount) {
            final Duration duration = durationTimer.get();
            final PhaseDetails phaseDetails = phaseDetailsMap
                    .computeIfAbsent(phase, k -> new PhaseDetails(phase));

            phaseDetails.increment(affectedItemCount, duration);
        }
Log the duration of a phase with {@code phase} affected items.

@param phase             The phase to log against.
@param durationTimer     The duration of the phase.
@param affectedItemCount The number of items affected in the phase.
stroom-processor/stroom-processor-impl/src/main/java/stroom/processor/impl/ProgressMonitor.java