org.htrace.wrappers
Class TraceCallable<V>
java.lang.Object
org.htrace.wrappers.TraceCallable<V>
- All Implemented Interfaces:
- Callable<V>
public class TraceCallable<V>
- extends Object
- implements Callable<V>
Wrap a Callable 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 |
TraceCallable
public TraceCallable(Callable<V> impl)
TraceCallable
public TraceCallable(Span parent,
Callable<V> impl)
TraceCallable
public TraceCallable(Span parent,
Callable<V> impl,
String description)
call
public V call()
throws Exception
- Specified by:
call in interface Callable<V>
- Throws:
Exception
getImpl
public Callable<V> getImpl()
Copyright © 2014. All Rights Reserved.