public void endExecuteFunctionSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    sendStats.incInt(executeFunctionSendInProgressId, -1);
    int endExecuteFunctionSendId;
    if (failed) {
      endExecuteFunctionSendId = executeFunctionSendFailedId;
    } else {
      endExecuteFunctionSendId = executeFunctionSendId;
    }
    sendStats.incInt(endExecuteFunctionSendId, 1);
    sendStats.incLong(executeFunctionSendDurationId, duration);
  }
Records that the send part of the executeFunction has completed

@param startTime the value returned by {@link #startExecuteFunction}.
@param failed true if the send of the executeFunction failed
geode-core/src/main/java/org/apache/geode/cache/client/internal/ConnectionStats.java