public class StatementHistory extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
logMinDurationMillis
Minimum milliseconds a statement needs to execute before being logged.
0 to disable. |
| Constructor and Description |
|---|
StatementHistory(StatementWrapper statement)
Creates a statement execution history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Sets the execution end.
|
Duration |
getDuration()
Gets the duration.
|
long |
getExecutionStart()
Gets the start of execution in epochal milliseconds.
|
Map<Integer,Object> |
getParameters()
Gets the parameter map.
|
String |
getSql()
Gets the sql string.
|
String |
getTxName()
Gets the transaction name.
|
String |
toString() |
public static long logMinDurationMillis
For analysis and debugging purposes only.
public StatementHistory(StatementWrapper statement)
statement - the executed statementpublic void end()
public long getExecutionStart()
public Duration getDuration()
public String getTxName()
public Map<Integer,Object> getParameters()
public String getSql()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.