org.apache.zookeeper.server.util
Class Profiler

java.lang.Object
  extended by org.apache.zookeeper.server.util.Profiler

public class Profiler
extends java.lang.Object


Nested Class Summary
static interface Profiler.Operation<T>
           
 
Constructor Summary
Profiler()
           
 
Method Summary
static
<T> T
profile(Profiler.Operation<T> op, long timeout, java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiler

public Profiler()
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


Copyright © 2012 The Apache Software Foundation