com.amazonaws.util

## クラス TimingInfo

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

-     public class TimingInfo
      extends java.lang.Object

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

    コンストラクタ
    コンストラクタと説明
    `TimingInfo()`
    `TimingInfo(long startTime)`
    `TimingInfo(long startTime, long endTime)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `void` | `addSubMeasurement(java.lang.String subMeasurementName, TimingInfo timingInfo)`
    `java.util.Map<java.lang.String,java.lang.Number>` | `getAllCounters()`
    `java.util.List<TimingInfo>` | `getAllSubMeasurements(java.lang.String subMeasurementName)`
    `java.lang.Number` | `getCounter(java.lang.String key)`
    `long` | `getEndTime()`
    `TimingInfo` | `getLastSubMeasurement(java.lang.String subMeasurementName)`
    `long` | `getStartTime()` Returns the time, in epoch milliseconds, at which this timing period started.
    `TimingInfo` | `getSubMeasurement(java.lang.String subMeasurementName)`
    `TimingInfo` | `getSubMeasurement(java.lang.String subMesurementName, int index)`
    `java.util.Map<java.lang.String,java.util.List<TimingInfo>>` | `getSubMeasurementsByName()`
    `double` | `getTimeTakenMillis()` Returns the difference between endTime and startTime in milli-seconds
    `void` | `incrementCounter(java.lang.String key)`
    `void` | `setCounter(java.lang.String key, long count)`
    `void` | `setEndTime(long endTime)`
    `java.lang.String` | `toString()`

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

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

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

    - #### TimingInfo

          public TimingInfo()

    - #### TimingInfo

          public TimingInfo(long startTime)

    - #### TimingInfo

          public TimingInfo(long startTime,
                    long endTime)

  - ### メソッドの詳細

    - #### getStartTime

          public long getStartTime()

      Returns the time, in epoch milliseconds, at which this timing period started.
      戻り値:
        the time, in epoch milliseconds, at which this timing period started.

    - #### getEndTime

          public long getEndTime()

    - #### getTimeTakenMillis

          public double getTimeTakenMillis()

      Returns the difference between endTime and startTime in milli-seconds

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`

    - #### setEndTime

          public void setEndTime(long endTime)

    - #### addSubMeasurement

          public void addSubMeasurement(java.lang.String subMeasurementName,
                               TimingInfo timingInfo)

    - #### getSubMeasurement

          public TimingInfo getSubMeasurement(java.lang.String subMeasurementName)

    - #### getSubMeasurement

          public TimingInfo getSubMeasurement(java.lang.String subMesurementName,
                                     int index)

    - #### getLastSubMeasurement

          public TimingInfo getLastSubMeasurement(java.lang.String subMeasurementName)

    - #### getAllSubMeasurements

          public java.util.List<TimingInfo> getAllSubMeasurements(java.lang.String subMeasurementName)

    - #### getSubMeasurementsByName

          public java.util.Map<java.lang.String,java.util.List<TimingInfo>> getSubMeasurementsByName()

    - #### getCounter

          public java.lang.Number getCounter(java.lang.String key)

    - #### getAllCounters

          public java.util.Map<java.lang.String,java.lang.Number> getAllCounters()

    - #### setCounter

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

    - #### incrementCounter

          public void incrementCounter(java.lang.String key)