@ManagedAttribute @Description("Average processing time (ms)")
    public Long getDurationAverage() {
        long processedDurationTotalMillis = getDurationTotal();
        long processedCount = getOutputCount();
        return (processedCount != 0) ? processedDurationTotalMillis/processedCount : null;
    }