java.lang.AutoCloseablepublic interface TimedOperation
extends java.lang.AutoCloseable
AutoCloseable, for ease of use.| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Stops tracking if not already stopped.
|
void |
close(int extraDataCounter) |
Stops tracking if not already stopped.
|
void close()
close in interface java.lang.AutoCloseablevoid close(int extraDataCounter)
extraDataCounter - An optional additional data counter to track along the measurements.
Users are free to track any extra value they want (ie: number of analyzed nodes,
iterations in a loop, etc.)Copyright © 2002–2018 PMD. All rights reserved.