public class CommandExecutionResult extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
commandFqn |
protected long |
databaseTimeInMs |
protected Map<String,Long> |
dbDeletes |
protected Map<String,Long> |
dbInserts |
protected Map<String,Long> |
dbSelects |
protected Map<String,Long> |
dbUpdates |
protected long |
totalTimeInMs |
Constructor and Description |
---|
CommandExecutionResult() |
Modifier and Type | Method and Description |
---|---|
void |
addDatabaseTime(long time) |
void |
addDbDelete(String delete) |
void |
addDbInsert(String insert) |
void |
addDbSelect(String select) |
void |
addDbUpdate(String update) |
String |
getCommandFqn() |
long |
getDatabaseTimeInMs() |
Map<String,Long> |
getDbDeletes() |
Map<String,Long> |
getDbInserts() |
Map<String,Long> |
getDbSelects() |
Map<String,Long> |
getDbUpdates() |
long |
getTotalTimeInMs() |
void |
setCommandFqn(String commandFqn) |
void |
setDatabaseTimeInMs(long databaseTimeInMs) |
void |
setDbDeletes(Map<String,Long> dbDeletes) |
void |
setDbInserts(Map<String,Long> dbInserts) |
void |
setDbSelects(Map<String,Long> dbSelects) |
void |
setDbUpdates(Map<String,Long> dbUpdates) |
void |
setTotalTimeInMs(long totalTimeInMs) |
protected String commandFqn
protected long totalTimeInMs
protected long databaseTimeInMs
public String getCommandFqn()
public void setCommandFqn(String commandFqn)
public long getTotalTimeInMs()
public void setTotalTimeInMs(long totalTimeInMs)
public long getDatabaseTimeInMs()
public void setDatabaseTimeInMs(long databaseTimeInMs)
public void addDatabaseTime(long time)
public void addDbSelect(String select)
public void addDbInsert(String insert)
public void addDbUpdate(String update)
public void addDbDelete(String delete)
Copyright © 2017 Alfresco. All rights reserved.