Package org.apache.zookeeper.server.util
Class Profiler
- java.lang.Object
-
- org.apache.zookeeper.server.util.Profiler
-
public class Profiler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Profiler.Operation<T>
-
Constructor Summary
Constructors Constructor Description Profiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
profile(Profiler.Operation<T> op, long timeout, java.lang.String message)
-
-
-
Method Detail
-
profile
public static <T> T profile(Profiler.Operation<T> op, long timeout, java.lang.String message) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-