public static class SqlMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlMetrics.Builder |
bufferGets(Long bufferGets)
Sum total number of buffer gets.
|
SqlMetrics |
build() |
SqlMetrics.Builder |
copy(SqlMetrics model) |
SqlMetrics.Builder |
cpuTime(Long cpuTime)
Total CPU time consumed by the Sql.
|
SqlMetrics.Builder |
directWrites(Long directWrites)
Sum total number of direct path writes.
|
SqlMetrics.Builder |
diskReads(Long diskReads)
Sum total number of disk reads.
|
SqlMetrics.Builder |
elapsedTime(Long elapsedTime)
Elapsed time of the Sql.
|
SqlMetrics.Builder |
executions(Long executions)
Total executions of this SQL statement.
|
public SqlMetrics.Builder cpuTime(Long cpuTime)
Total CPU time consumed by the Sql.
cpuTime
- the value to setpublic SqlMetrics.Builder elapsedTime(Long elapsedTime)
Elapsed time of the Sql.
elapsedTime
- the value to setpublic SqlMetrics.Builder bufferGets(Long bufferGets)
Sum total number of buffer gets.
bufferGets
- the value to setpublic SqlMetrics.Builder diskReads(Long diskReads)
Sum total number of disk reads.
diskReads
- the value to setpublic SqlMetrics.Builder directWrites(Long directWrites)
Sum total number of direct path writes.
directWrites
- the value to setpublic SqlMetrics.Builder executions(Long executions)
Total executions of this SQL statement.
executions
- the value to setpublic SqlMetrics build()
public SqlMetrics.Builder copy(SqlMetrics model)
Copyright © 2016–2024. All rights reserved.