org.htrace.wrappers
Class TraceProxy

java.lang.Object
  extended by org.htrace.wrappers.TraceProxy

public class TraceProxy
extends Object


Constructor Summary
TraceProxy()
           
 
Method Summary
static
<T> T
trace(T instance)
          Returns an object that will trace all calls to itself.
static
<T,V> T
trace(T instance, Sampler<V> sampler)
          Returns an object that will trace all calls to itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceProxy

public TraceProxy()
Method Detail

trace

public static <T> T trace(T instance)
Returns an object that will trace all calls to itself.

Parameters:
instance -
Returns:

trace

public static <T,V> T trace(T instance,
                            Sampler<V> sampler)
Returns an object that will trace all calls to itself.

Type Parameters:
V -
Parameters:
instance -
sampler -
Returns:


Copyright © 2014. All Rights Reserved.