Package biz.gabrys.maven.plugin.util.timer
Contains types responsible for counting the execution time.
Example:
public class ExampleMojo extends AbstractMojo { public void execute() {Timer
timer =SystemTimer
.getStartedTimer(); // logic ... getLog().info("Finished in " + timer.stop()); } }
-
Interface Summary Interface Description Timer Represents timer responsible for counting the execution time. -
Class Summary Class Description SystemTimer Default implementation of theTimer
which based on theSystem.currentTimeMillis()
method.TimeSpan Represents a time span counted by an instance of theTimer
.