public interface OpInstrument extends Instrument
It is up to the implementation to decide what is exposed via Instrument.getValue()
but it is expected to be a synonym of one of these methods
| Modifier and Type | Method and Description |
|---|---|
long |
getCpuMaxTime(TimeUnit unit) |
long |
getCpuMinTime(TimeUnit unit) |
long |
getCpuTime()
Deprecated.
since 1.9.0, use
getCpuTotalTime(java.util.concurrent.TimeUnit) using nanoseconds |
long |
getCpuTotalTime(TimeUnit unit) |
long |
getElapsedMaxTime(TimeUnit unit) |
long |
getElapsedMinTime(TimeUnit unit) |
long |
getElapsedTotalTime(TimeUnit unit) |
long |
getInvocationCount() |
long |
getMillisecondsTaken()
Deprecated.
since 1.9.0, use
getElapsedTotalTime(java.util.concurrent.TimeUnit) using milliseconds |
long |
getResultSetSize() |
getName, getValuecompareTolong getInvocationCount()
@Deprecated long getMillisecondsTaken()
getElapsedTotalTime(java.util.concurrent.TimeUnit) using millisecondslong getElapsedTotalTime(TimeUnit unit)
unit - the unit to express the time withlong getElapsedMinTime(TimeUnit unit)
unit - the unit to express the time withlong getElapsedMaxTime(TimeUnit unit)
unit - the unit to express the time with@Deprecated long getCpuTime()
getCpuTotalTime(java.util.concurrent.TimeUnit) using nanosecondslong getCpuTotalTime(TimeUnit unit)
unit - the unit to express the time withlong getCpuMinTime(TimeUnit unit)
unit - the unit to express the time withlong getCpuMaxTime(TimeUnit unit)
unit - the unit to express the time withlong getResultSetSize()
Copyright © 2016 Atlassian. All rights reserved.