You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@htrace.apache.org by cm...@apache.org on 2014/12/17 03:40:39 UTC
incubator-htrace git commit: HTRACE-6. TraceRunnable should expose
the underlying Runnable (Billie Rinaldi via Colin P. McCabe)
Repository: incubator-htrace
Updated Branches:
refs/heads/master 16eca8ee0 -> 36bec4580
HTRACE-6. TraceRunnable should expose the underlying Runnable (Billie Rinaldi via Colin P. McCabe)
Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/36bec458
Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/36bec458
Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/36bec458
Branch: refs/heads/master
Commit: 36bec458023cdc16c2b1f5ba308ed8bc1ca01fcd
Parents: 16eca8e
Author: Colin P. Mccabe <cm...@apache.org>
Authored: Tue Dec 16 18:39:43 2014 -0800
Committer: Colin P. Mccabe <cm...@apache.org>
Committed: Tue Dec 16 18:39:43 2014 -0800
----------------------------------------------------------------------
.../src/main/java/org/apache/htrace/wrappers/TraceRunnable.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/36bec458/htrace-core/src/main/java/org/apache/htrace/wrappers/TraceRunnable.java
----------------------------------------------------------------------
diff --git a/htrace-core/src/main/java/org/apache/htrace/wrappers/TraceRunnable.java b/htrace-core/src/main/java/org/apache/htrace/wrappers/TraceRunnable.java
index 64fada7..6d370c8 100644
--- a/htrace-core/src/main/java/org/apache/htrace/wrappers/TraceRunnable.java
+++ b/htrace-core/src/main/java/org/apache/htrace/wrappers/TraceRunnable.java
@@ -61,4 +61,8 @@ public class TraceRunnable implements Runnable {
private String getDescription() {
return this.description == null ? Thread.currentThread().getName() : description;
}
+
+ public Runnable getRunnable() {
+ return runnable;
+ }
}