com.amazonaws.util

## クラス AWSRequestMetrics

- java.lang.Object
- - com.amazonaws.util.AWSRequestMetrics

-     public class AWSRequestMetrics
      extends java.lang.Object

- - ### ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ | クラスと説明
    --- | ---
    `static class` | `AWSRequestMetrics.Field` Set of predefined Metrics.

  - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `AWSRequestMetrics()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `void` | `addProperty(java.lang.String propertyName, java.lang.Object value)` Add a property.
    `void` | `endEvent(java.lang.String eventName)` End an event which was previously started.
    `TimingInfo` | `getTimingInfo()`
    `void` | `incrementCounter(java.lang.String event)` Add 1 to an existing count for a given event.
    `void` | `log()`
    `void` | `setCounter(java.lang.String counterName, long count)`
    `void` | `startEvent(java.lang.String eventName)` Start an event which will be timed.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### AWSRequestMetrics

          public AWSRequestMetrics()

  - ### メソッドの詳細

    - #### startEvent

          public void startEvent(java.lang.String eventName)

      Start an event which will be timed. The startTime and endTime are added to timingInfo only after endEvent is called. For every startEvent there should be a corresponding endEvent. If you start the same event without ending it, this will overwrite the old event. i.e. There is no support for recursive events yet. Having said that, if you start and end an event in that sequence multiple times, all events are logged in timingInfo in that order. This feature is enabled only if the system property "com.amazonaws.sdk.enableRuntimeProfiling" is set.
      パラメータ:
        `eventName` - - The name of the event to start

    - #### endEvent

          public void endEvent(java.lang.String eventName)

      End an event which was previously started. Once ended, log how much time the event took. It is illegal to end an Event that was not started. It is good practice to endEvent in a finally block. See Also startEvent. This feature is enabled only if the system property "com.amazonaws.sdk.enableRuntimeProfiling" is set.
      パラメータ:
        `eventName` - - The name of the event to start

    - #### incrementCounter

          public void incrementCounter(java.lang.String event)

      Add 1 to an existing count for a given event. If the count for that event does not exist, then it creates one and initializes it to 1. This feature is enabled only if the system property "com.amazonaws.sdk.enableRuntimeProfiling" is set.
      パラメータ:
        `event` - - The name of the event to count

    - #### setCounter

          public void setCounter(java.lang.String counterName,
                        long count)

    - #### addProperty

          public void addProperty(java.lang.String propertyName,
                         java.lang.Object value)

      Add a property. If you add the same property more than once, it stores all values a list.
      パラメータ:
        `propertyName` - The name of the property
        `value` - The property value

    - #### log

          public void log()

    - #### getTimingInfo

          public TimingInfo getTimingInfo()