org.apache.accumulo.cloudtrace.instrument
Class TraceRunnable
java.lang.Object
org.apache.accumulo.cloudtrace.instrument.TraceRunnable
- All Implemented Interfaces:
- Comparable<TraceRunnable>, Runnable
public class TraceRunnable
- extends Object
- implements Runnable, Comparable<TraceRunnable>
Wrap a Runnable with a Span that survives a change in threads.
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)
run
public void run()
- Specified by:
run
in interface Runnable
compareTo
public int compareTo(TraceRunnable o)
- Specified by:
compareTo
in interface Comparable<TraceRunnable>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.