Class NullStats
- java.lang.Object
-
- com.linkedin.alpini.base.pool.impl.NullStats
-
- All Implemented Interfaces:
CallTracker.CallStats
public class NullStats extends java.lang.Object implements CallTracker.CallStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAverageConcurrency15min()
double
getAverageConcurrency1min()
double
getAverageConcurrency5min()
long
getCallCountTotal()
long
getCallStartCountTotal()
LongStats
getCallTimeStats()
Returns the call time stats in nanoseconds.int
getConcurrency()
long
getErrorCountTotal()
int
getErrorFrequency15min()
int
getErrorFrequency1min()
int
getErrorFrequency5min()
static CallTracker.CallStats
getInstance()
int
getMaxConcurrency15min()
int
getMaxConcurrency1min()
int
getMaxConcurrency5min()
int
getOutstandingCount()
long
getOutstandingStartTimeAvg()
int
getStartFrequency15min()
int
getStartFrequency1min()
int
getStartFrequency5min()
-
-
-
Method Detail
-
getInstance
public static CallTracker.CallStats getInstance()
-
getCallCountTotal
public long getCallCountTotal()
- Specified by:
getCallCountTotal
in interfaceCallTracker.CallStats
-
getCallStartCountTotal
public long getCallStartCountTotal()
- Specified by:
getCallStartCountTotal
in interfaceCallTracker.CallStats
-
getErrorCountTotal
public long getErrorCountTotal()
- Specified by:
getErrorCountTotal
in interfaceCallTracker.CallStats
-
getConcurrency
public int getConcurrency()
- Specified by:
getConcurrency
in interfaceCallTracker.CallStats
-
getAverageConcurrency1min
public double getAverageConcurrency1min()
- Specified by:
getAverageConcurrency1min
in interfaceCallTracker.CallStats
-
getAverageConcurrency5min
public double getAverageConcurrency5min()
- Specified by:
getAverageConcurrency5min
in interfaceCallTracker.CallStats
-
getAverageConcurrency15min
public double getAverageConcurrency15min()
- Specified by:
getAverageConcurrency15min
in interfaceCallTracker.CallStats
-
getMaxConcurrency1min
public int getMaxConcurrency1min()
- Specified by:
getMaxConcurrency1min
in interfaceCallTracker.CallStats
-
getMaxConcurrency5min
public int getMaxConcurrency5min()
- Specified by:
getMaxConcurrency5min
in interfaceCallTracker.CallStats
-
getMaxConcurrency15min
public int getMaxConcurrency15min()
- Specified by:
getMaxConcurrency15min
in interfaceCallTracker.CallStats
-
getStartFrequency1min
public int getStartFrequency1min()
- Specified by:
getStartFrequency1min
in interfaceCallTracker.CallStats
-
getStartFrequency5min
public int getStartFrequency5min()
- Specified by:
getStartFrequency5min
in interfaceCallTracker.CallStats
-
getStartFrequency15min
public int getStartFrequency15min()
- Specified by:
getStartFrequency15min
in interfaceCallTracker.CallStats
-
getErrorFrequency1min
public int getErrorFrequency1min()
- Specified by:
getErrorFrequency1min
in interfaceCallTracker.CallStats
-
getErrorFrequency5min
public int getErrorFrequency5min()
- Specified by:
getErrorFrequency5min
in interfaceCallTracker.CallStats
-
getErrorFrequency15min
public int getErrorFrequency15min()
- Specified by:
getErrorFrequency15min
in interfaceCallTracker.CallStats
-
getOutstandingStartTimeAvg
public long getOutstandingStartTimeAvg()
- Specified by:
getOutstandingStartTimeAvg
in interfaceCallTracker.CallStats
-
getOutstandingCount
public int getOutstandingCount()
- Specified by:
getOutstandingCount
in interfaceCallTracker.CallStats
-
getCallTimeStats
public LongStats getCallTimeStats()
Description copied from interface:CallTracker.CallStats
Returns the call time stats in nanoseconds.- Specified by:
getCallTimeStats
in interfaceCallTracker.CallStats
- Returns:
- LongStats object.
-
-