public class CommandStats extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Long> |
commandExecutionTimings |
protected List<Long> |
databaseTimings |
protected Map<String,Long> |
dbDeletes |
protected Map<String,Long> |
dbInserts |
protected Map<String,Long> |
dbSelects |
protected Map<String,Long> |
dbUpdates |
protected long |
getTotalCommandTime |
Constructor and Description |
---|
CommandStats(List<CommandExecutionResult> executions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToDbOperation(Map<String,Long> executionMap,
Map<String,Long> globalMap) |
double |
getAverageDatabaseExecutionTime() |
double |
getAverageDatabaseExecutionTimePercentage() |
double |
getAverageExecutionTime() |
long |
getCount() |
Map<String,Long> |
getDbDeletes() |
Map<String,Long> |
getDbInserts() |
Map<String,Long> |
getDbSelects() |
Map<String,Long> |
getDbUpdates() |
long |
getGetTotalCommandTime() |
void |
setDbDeletes(Map<String,Long> dbDeletes) |
void |
setDbInserts(Map<String,Long> dbInserts) |
void |
setDbSelects(Map<String,Long> dbSelects) |
void |
setDbUpdates(Map<String,Long> dbUpdates) |
public CommandStats(List<CommandExecutionResult> executions)
protected void addToDbOperation(Map<String,Long> executionMap, Map<String,Long> globalMap)
public long getCount()
public long getGetTotalCommandTime()
public double getAverageExecutionTime()
public double getAverageDatabaseExecutionTimePercentage()
public double getAverageDatabaseExecutionTime()
Copyright © 2017 Alfresco. All rights reserved.