public class ActionStatistics extends Object
Constructor and Description |
---|
ActionStatistics(String actionName) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(RunningAction action)
Accumulate statistics from action.
|
String |
getActionName() |
long |
getAverageTime() |
long |
getErrorCount() |
long |
getInvocationCount() |
public ActionStatistics(String actionName)
actionName
- The name of the action this object will provide statistics for.public void addAction(RunningAction action)
public String getActionName()
public long getInvocationCount()
public long getErrorCount()
public long getAverageTime()
Copyright © 2005–2017 Alfresco Software. All rights reserved.