org.htrace.wrappers
Class TraceProxy
java.lang.Object
org.htrace.wrappers.TraceProxy
public class TraceProxy
- extends Object
|
Method Summary |
static
|
trace(T instance)
Returns an object that will trace all calls to itself. |
static
|
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 |
TraceProxy
public TraceProxy()
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.