StatsManager.OperationStats

public static class StatsManager.OperationStats extends Object

Object used to log events, operations, and actions

Nested Class Summary

interface StatsManager.OperationStats.Event Counter for single operation to wrap Stopwatch  

Public Method Summary

void
clear()
<T extends Enum<?>> StatsManager.OperationStats.Event
event(T operation)
StatsManager.OperationStats.Event
event(String operation)
int
getLogResultCounter(String operation, String result)
int
getSuccessCount(String operation)
void
logResult(String operation, String result)
void
register(String operation)

Inherited Method Summary

Public Methods

public void clear ()

public StatsManager.OperationStats.Event event (T operation)

Parameters
operation

public StatsManager.OperationStats.Event event (String operation)

Parameters
operation

public int getLogResultCounter (String operation, String result)

Parameters
operation
result

public int getSuccessCount (String operation)

Parameters
operation

public void logResult (String operation, String result)

Parameters
operation
result

public void register (String operation)

Parameters
operation