APISonar


com.amazonaws.util.AWSRequestMetrics.log

> com > amazonaws > util > AWSRequestMetrics > log
com APIs amazonaws APIs util APIs AWSRequestMetrics APIs log APIs

Example 1
protected final void endClientExecution(
            AWSRequestMetrics awsRequestMetrics, Request<?> request,
            Response<?> response, boolean loggingAwsRequestMetrics) {
        if (request != null) {
            awsRequestMetrics.endEvent(Field.ClientExecuteTime);
            awsRequestMetrics.getTimingInfo().endTiming();
            final RequestMetricCollector c = findRequestMetricCollector(request);
            c.collectMetrics(request, response);
        }
        if (loggingAwsRequestMetrics) {
            awsRequestMetrics.log();
        }
    }