パッケージ 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
インタフェースからコピーされた説明:InvocationStatisticsreturn name- 定義:
getNameインタフェース内InvocationStatistics- 戻り値:
- name
-
getCallCount
public long getCallCount()インタフェースからコピーされた説明:InvocationStatisticsreturn call count- 定義:
getCallCountインタフェース内InvocationStatistics- 戻り値:
- call count
-
getErrorCount
public long getErrorCount()インタフェースからコピーされた説明:InvocationStatisticsreturn error count- 定義:
getErrorCountインタフェース内InvocationStatistics- 戻り値:
- error count
-
getTotalTime
public long getTotalTime()インタフェースからコピーされた説明:InvocationStatisticsreturns total time- 定義:
getTotalTimeインタフェース内InvocationStatistics- 戻り値:
- total time
-
getAverageTime
public long getAverageTime()インタフェースからコピーされた説明:InvocationStatisticsreturn average time- 定義:
getAverageTimeインタフェース内InvocationStatistics- 戻り値:
- average time
-
reset
public void reset()インタフェースからコピーされた説明:InvocationStatisticsreset statistics- 定義:
resetインタフェース内InvocationStatistics
-
toString
-