ca.jimr.gae.profiler
Class MiniProfiler.Step
java.lang.Object
ca.jimr.gae.profiler.MiniProfiler.Step
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- MiniProfiler
public static class MiniProfiler.Step
- extends Object
- implements Closeable
Used to control the starting and stopping of profiling steps.
Implements Closeable, so can theoretically be used in a Java 7
try-with-resources statement for less code.
|
Method Summary |
void |
close()
Stop the profiling step. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiniProfiler.Step
public MiniProfiler.Step(ca.jimr.gae.profiler.MiniProfiler.Root root,
MiniProfiler.Profile data)
- Create a step object.
- Parameters:
root - The profile root.data - The current step data.
close
public void close()
- Stop the profiling step.
- Specified by:
close in interface Closeable
Copyright © 2011-2013. All Rights Reserved.