コード例 #1
0
 /**
  * The mean (average) execution time (in milliseconds) for {@link HystrixCommand#execute()} or
  * {@link HystrixCommand#queue()}.
  *
  * <p>This uses the same backing data as {@link #getTotalTimePercentile};
  *
  * @return int time in milliseconds
  */
 public int getTotalTimeMean() {
   return percentileTotal.getMean();
 }
コード例 #2
0
 /**
  * The mean (average) execution time (in milliseconds) for the {@link HystrixCommand#run()}.
  *
  * <p>This uses the same backing data as {@link #getExecutionTimePercentile};
  *
  * @return int time in milliseconds
  */
 public int getExecutionTimeMean() {
   return percentileExecution.getMean();
 }