APISonar


org.apache.solr.util.stats.Timer.time

> org > apache > solr > util > stats > Timer > time
org APIs apache APIs solr APIs util APIs stats APIs Timer APIs time APIs

Example 1
private final Timer requestTimes;

  public void startRequest() {
    numRequests.incrementAndGet();
    currentTimer = requestTimes.time();
  }