public class NoOperationTime extends OperationTime
Constructor and Description |
---|
NoOperationTime() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels recording active time.
|
void |
pause()
Stops recording the currently active time until
OperationTime.resume() is invoked. |
void |
resume()
Starts recording the active time that was paused.
|
void |
startExecuteTime()
Starts recording execute time.
|
void |
startPrepareTime()
Starts recording prepare time.
|
void |
startReadTime()
Starts recording read time.
|
void |
startWriteTime()
Starts recording write time.
|
void |
stop()
Stops recording the active time that was started with one of the start methods.
|
void |
updateSource(java.lang.StackTraceElement stackTraceElement)
Records stack trace information and count where timing is initiated.
|
format, getDescription, getExecuteTime, getPrepareTime, getReadTime, getTimingId, getTotalTime, getWriteTime, logTimings, setDescription, start
public void startPrepareTime()
OperationTime
OperationTime.stop()
to stop recording.startPrepareTime
in class OperationTime
public void startWriteTime()
OperationTime
OperationTime.stop()
to stop recording.startWriteTime
in class OperationTime
public void startExecuteTime()
OperationTime
OperationTime.stop()
to stop recording.startExecuteTime
in class OperationTime
public void startReadTime()
OperationTime
OperationTime.stop()
to stop recording.startReadTime
in class OperationTime
public void stop()
OperationTime
stop
in class OperationTime
public void cancel()
OperationTime
cancel
in class OperationTime
public void pause()
OperationTime
OperationTime.resume()
is invoked. Zero
or more pause/resume pairs may be invoked.pause
in class OperationTime
public void resume()
OperationTime
resume
in class OperationTime
public void updateSource(java.lang.StackTraceElement stackTraceElement)
OperationTime
updateSource
in class OperationTime
stackTraceElement
- the location on the stack where operation was initiated