org.htrace.wrappers
Class TraceRunnable
java.lang.Object
org.htrace.wrappers.TraceRunnable
- All Implemented Interfaces:
- Runnable
public class TraceRunnable
- extends Object
- implements Runnable
Wrap a Runnable with a Span that survives a change in threads.
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceRunnable
public TraceRunnable(Runnable runnable)
TraceRunnable
public TraceRunnable(Span parent,
Runnable runnable)
TraceRunnable
public TraceRunnable(Span parent,
Runnable runnable,
String description)
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2014. All Rights Reserved.