示例#1
0
 @Nonnegative
 public double getRequestsPerSecond() {
   return _requestsPerSecond.getAsDouble();
 }
示例#2
0
 public void record(@Nonnull Duration requestDuration) {
   _requestsPerSecond.record();
   _averageRequestDuration.record((double) requestDuration.toMilliSeconds());
 }