public class ExecutionTimeInfo extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Long |
_commandAfterTimeMillis |
protected Long |
_commandBeforeTimeMillis |
protected Long |
_sqlAfterTimeMillis |
protected Long |
_sqlBeforeTimeMillis |
| コンストラクタと説明 |
|---|
ExecutionTimeInfo(Long commandBeforeTimeMillis,
Long commandAfterTimeMillis,
Long sqlBeforeTimeMillis,
Long sqlAfterTimeMillis) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
convertToPerformanceView(long after_minus_before)
Convert to performance view.
|
Long |
getCommandAfterTimeMillis()
Get the time as millisecond after command invoking (after mapping to entity).
|
Long |
getCommandBeforeTimeMillis()
Get the time as millisecond before command invoking (before building SQL clause).
|
Long |
getSqlAfterTimeMillis()
Get the time as millisecond after SQL fire (before mapping to entity).
|
Long |
getSqlBeforeTimeMillis()
Get the time as millisecond before SQL fire (after building SQL clause).
|
boolean |
hasCommandTimeMillis()
Does it have the time of behavior command.
|
boolean |
hasSqlTimeMillis()
Does it have the time of SQL fire.
|
String |
toCommandPerformanceView()
The performance view of command invoking. e.g. 01m40s012ms
|
String |
toSqlPerformanceView()
The performance view of SQL fire. e.g. 01m40s012ms
(before building SQL clause after mapping to entity). |
String |
toString() |
protected final Long _commandBeforeTimeMillis
protected final Long _commandAfterTimeMillis
protected final Long _sqlBeforeTimeMillis
protected final Long _sqlAfterTimeMillis
public String toCommandPerformanceView()
public String toSqlPerformanceView()
protected String convertToPerformanceView(long after_minus_before)
after_minus_before - The difference between before time and after time.public boolean hasCommandTimeMillis()
public boolean hasSqlTimeMillis()
public Long getCommandBeforeTimeMillis()
public Long getCommandAfterTimeMillis()
public Long getSqlBeforeTimeMillis()
public Long getSqlAfterTimeMillis()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.