Package twitter4j.management
Interface InvocationStatistics
- All Known Subinterfaces:
APIStatisticsMBean
- All Known Implementing Classes:
APIStatistics
,InvocationStatisticsCalculator
public interface InvocationStatistics
InvocationStatistics
-
Method Details
-
getName
String getName()return name- Returns:
- name
-
getCallCount
long getCallCount()return call count- Returns:
- call count
-
getErrorCount
long getErrorCount()return error count- Returns:
- error count
-
getTotalTime
long getTotalTime()returns total time- Returns:
- total time
-
getAverageTime
long getAverageTime()return average time- Returns:
- average time
-
reset
void reset()reset statistics
-