/** * Complete execution time of {@link HystrixCommand#execute()} or {@link HystrixCommand#queue()} * (queue is considered complete once the work is finished and {@link Future#get} is capable of * retrieving the value. * * <p>This differs from {@link #addCommandExecutionTime} in that this covers all of the threading * and scheduling overhead, not just the execution of the {@link HystrixCommand#run()} method. */ /* package */ void addUserThreadExecutionTime(long duration) { percentileTotal.addValue((int) duration); }
/** Execution time of {@link HystrixCommand#run()}. */ /* package */ void addCommandExecutionTime(long duration) { percentileExecution.addValue((int) duration); }