パッケージ twitter4j.management
クラス InvocationStatisticsCalculator
java.lang.Object
twitter4j.management.InvocationStatisticsCalculator
- すべての実装されたインタフェース:
InvocationStatistics
Object that collects/aggregates statistics for the invocation of a given method.
-
コンストラクタの詳細
-
InvocationStatisticsCalculator
- パラメータ:
name
- the name of this API methodhistorySize
- the number of calls to track (for invocation time averaging)
-
-
メソッドの詳細
-
getName
インタフェースからコピーされた説明:InvocationStatistics
return name- 定義:
getName
インタフェース内InvocationStatistics
- 戻り値:
- name
-
getCallCount
public long getCallCount()インタフェースからコピーされた説明:InvocationStatistics
return call count- 定義:
getCallCount
インタフェース内InvocationStatistics
- 戻り値:
- call count
-
getErrorCount
public long getErrorCount()インタフェースからコピーされた説明:InvocationStatistics
return error count- 定義:
getErrorCount
インタフェース内InvocationStatistics
- 戻り値:
- error count
-
getTotalTime
public long getTotalTime()インタフェースからコピーされた説明:InvocationStatistics
returns total time- 定義:
getTotalTime
インタフェース内InvocationStatistics
- 戻り値:
- total time
-
getAverageTime
public long getAverageTime()インタフェースからコピーされた説明:InvocationStatistics
return average time- 定義:
getAverageTime
インタフェース内InvocationStatistics
- 戻り値:
- average time
-
reset
public void reset()インタフェースからコピーされた説明:InvocationStatistics
reset statistics- 定義:
reset
インタフェース内InvocationStatistics
-
toString
-