public void endHandlingNetsearch(long start, boolean success) {
    long ts = getTime();
    if (success) {
      stats.incLong(handlingNetsearchesCompletedId, 1);
      stats.incLong(handlingNetsearchesTimeId, ts - start);
    } else {
      stats.incLong(handlingNetsearchesFailedId, 1);
      stats.incLong(handlingNetsearchesFailedTimeId, ts - start);
    }
    stats.incLong(handlingNetsearchesInProgressId, -1);
  }
@param start the timestamp taken when the operation started
@param success true if handling the netsearch was successful
geode-core/src/main/java/org/apache/geode/internal/cache/CachePerfStats.java