htrace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmcc...@apache.org
Subject svn commit: r1741132 [7/10] - in /incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core: ./ class-use/
Date Wed, 27 Apr 2016 00:33:09 GMT
Added: incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/Tracer.html
URL: http://svn.apache.org/viewvc/incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/Tracer.html?rev=1741132&view=auto
==============================================================================
--- incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/Tracer.html (added)
+++ incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/Tracer.html Wed Apr 27 00:33:09 2016
@@ -0,0 +1,612 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_10) on Tue Apr 26 16:57:36 PDT 2016 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Tracer (htrace-core4 4.1.0-incubating API)</title>
+<meta name="date" content="2016-04-26">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Tracer (htrace-core4 4.1.0-incubating API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Tracer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/TraceExecutorService.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/Tracer.Builder.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/Tracer.html" target="_top">Frames</a></li>
+<li><a href="Tracer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.htrace.core</div>
+<h2 title="Class Tracer" class="title">Class Tracer</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.htrace.core.Tracer</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://download.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">Tracer</span>
+extends <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
+implements <a href="http://download.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre>
+<div class="block">Use a Tracer instance inside a 'process' to collect and distribute its trace Spans.
+ Example processes are an HDFS DataNode or an HBase RegionServer. A Tracer instance is your
+ one-stop shop for all things tracing.
+ 
+ <p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.Builder.html" title="class in org.apache.htrace.core">Tracer.Builder</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#SAMPLER_CLASSES_KEY">SAMPLER_CLASSES_KEY</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#SPAN_RECEIVER_CLASSES_KEY">SPAN_RECEIVER_CLASSES_KEY</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#addSampler(org.apache.htrace.core.Sampler)">addSampler</a></strong>(<a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>&nbsp;sampler)</code>
+<div class="block">Add a new Sampler.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#close()">close</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/htrace/core/Tracer.html" title="class in org.apache.htrace.core">Tracer</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#curThreadTracer()">curThreadTracer</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</code>
+<div class="block">Compare two tracer objects.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/htrace/core/Span.html" title="interface in org.apache.htrace.core">Span</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#getCurrentSpan()">getCurrentSpan</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/htrace/core/SpanId.html" title="class in org.apache.htrace.core">SpanId</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#getCurrentSpanId()">getCurrentSpanId</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#getSamplers()">getSamplers</a></strong>()</code>
+<div class="block">Returns an array of all the current Samplers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#getTracerId()">getTracerId</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core">TracerPool</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#getTracerPool()">getTracerPool</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#hashCode()">hashCode</a></strong>()</code>
+<div class="block">Get the hash code of a Tracer object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#newNullScope()">newNullScope</a></strong>()</code>
+<div class="block">Return a null trace scope.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#newScope(java.lang.String)">newScope</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</code>
+<div class="block">Create a new trace scope.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#newScope(java.lang.String, org.apache.htrace.core.SpanId)">newScope</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description,
+        <a href="../../../../org/apache/htrace/core/SpanId.html" title="class in org.apache.htrace.core">SpanId</a>&nbsp;parentId)</code>
+<div class="block">Create a new trace scope.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/TraceExecutorService.html" title="class in org.apache.htrace.core">TraceExecutorService</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#newTraceExecutorService(java.util.concurrent.ExecutorService, java.lang.String)">newTraceExecutorService</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;impl,
+                       <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scopeName)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#removeSampler(org.apache.htrace.core.Sampler)">removeSampler</a></strong>(<a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>&nbsp;sampler)</code>
+<div class="block">Remove a SpanReceiver.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#toString()">toString</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#wrap(java.util.concurrent.Callable, java.lang.String)">wrap</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;&nbsp;callable,
+    <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</code>
+<div class="block">Wrap the callable in a TraceCallable, if tracing.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/Tracer.html#wrap(java.lang.Runnable, java.lang.String)">wrap</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>&nbsp;runnable,
+    <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</code>
+<div class="block">Wrap the runnable in a TraceRunnable, if tracing</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api
 /java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="SPAN_RECEIVER_CLASSES_KEY">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>SPAN_RECEIVER_CLASSES_KEY</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SPAN_RECEIVER_CLASSES_KEY</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.htrace.core.Tracer.SPAN_RECEIVER_CLASSES_KEY">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="SAMPLER_CLASSES_KEY">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>SAMPLER_CLASSES_KEY</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SAMPLER_CLASSES_KEY</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.htrace.core.Tracer.SAMPLER_CLASSES_KEY">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="curThreadTracer()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>curThreadTracer</h4>
+<pre>public static&nbsp;<a href="../../../../org/apache/htrace/core/Tracer.html" title="class in org.apache.htrace.core">Tracer</a>&nbsp;curThreadTracer()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>If the current thread is tracing, this function returns the Tracer that is
+ being used; otherwise, it returns null.</dd></dl>
+</li>
+</ul>
+<a name="getTracerId()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTracerId</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTracerId()</pre>
+</li>
+</ul>
+<a name="newScope(java.lang.String, org.apache.htrace.core.SpanId)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newScope</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a>&nbsp;newScope(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description,
+                  <a href="../../../../org/apache/htrace/core/SpanId.html" title="class in org.apache.htrace.core">SpanId</a>&nbsp;parentId)</pre>
+<div class="block">Create a new trace scope.
+
+ If there are no scopes above the current scope, we will apply our
+ configured samplers. Otherwise, we will create a trace Span only if this thread
+ is already tracing, or if the passed parentID was valid.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>description</code> - The description of the new span to create.</dd><dd><code>parentId</code> - If this is a valid span ID, it will be added to
+                              the parents of the new span we create.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The new trace scope.</dd></dl>
+</li>
+</ul>
+<a name="newScope(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newScope</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a>&nbsp;newScope(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
+<div class="block">Create a new trace scope.
+
+ If there are no scopes above the current scope, we will apply our
+ configured samplers. Otherwise, we will create a trace Span only if this thread
+ is already tracing.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>description</code> - The description of the new span to create.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The new trace scope.</dd></dl>
+</li>
+</ul>
+<a name="newNullScope()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newNullScope</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/TraceScope.html" title="class in org.apache.htrace.core">TraceScope</a>&nbsp;newNullScope()</pre>
+<div class="block">Return a null trace scope.</div>
+</li>
+</ul>
+<a name="wrap(java.util.concurrent.Callable, java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>wrap</h4>
+<pre>public&nbsp;&lt;V&gt;&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;&nbsp;wrap(<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;&nbsp;callable,
+                   <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
+<div class="block">Wrap the callable in a TraceCallable, if tracing.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The callable provided, wrapped if tracing, 'callable' if not.</dd></dl>
+</li>
+</ul>
+<a name="wrap(java.lang.Runnable, java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>wrap</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>&nbsp;wrap(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>&nbsp;runnable,
+            <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
+<div class="block">Wrap the runnable in a TraceRunnable, if tracing</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The runnable provided, wrapped if tracing, 'runnable' if not.</dd></dl>
+</li>
+</ul>
+<a name="newTraceExecutorService(java.util.concurrent.ExecutorService, java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newTraceExecutorService</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/TraceExecutorService.html" title="class in org.apache.htrace.core">TraceExecutorService</a>&nbsp;newTraceExecutorService(<a href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;impl,
+                                           <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scopeName)</pre>
+</li>
+</ul>
+<a name="getTracerPool()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTracerPool</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core">TracerPool</a>&nbsp;getTracerPool()</pre>
+</li>
+</ul>
+<a name="getSamplers()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSamplers</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>[]&nbsp;getSamplers()</pre>
+<div class="block">Returns an array of all the current Samplers.
+
+ Note that if the current Samplers change, those changes will not be
+ reflected in this array.  In other words, this array may be stale.</div>
+</li>
+</ul>
+<a name="addSampler(org.apache.htrace.core.Sampler)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addSampler</h4>
+<pre>public&nbsp;boolean&nbsp;addSampler(<a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>&nbsp;sampler)</pre>
+<div class="block">Add a new Sampler.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sampler</code> - The new sampler to add.
+                      You cannot add a particular Sampler object more
+                        than once.  You may add multiple Sampler objects
+                        of the same type, although this is not recommended.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>True if the sampler was added; false if it already had
+                        been added earlier.</dd></dl>
+</li>
+</ul>
+<a name="removeSampler(org.apache.htrace.core.Sampler)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>removeSampler</h4>
+<pre>public&nbsp;boolean&nbsp;removeSampler(<a href="../../../../org/apache/htrace/core/Sampler.html" title="class in org.apache.htrace.core">Sampler</a>&nbsp;sampler)</pre>
+<div class="block">Remove a SpanReceiver.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sampler</code> - The sampler to remove.</dd></dl>
+</li>
+</ul>
+<a name="getCurrentSpan()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentSpan</h4>
+<pre>public static&nbsp;<a href="../../../../org/apache/htrace/core/Span.html" title="interface in org.apache.htrace.core">Span</a>&nbsp;getCurrentSpan()</pre>
+</li>
+</ul>
+<a name="getCurrentSpanId()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentSpanId</h4>
+<pre>public static&nbsp;<a href="../../../../org/apache/htrace/core/SpanId.html" title="class in org.apache.htrace.core">SpanId</a>&nbsp;getCurrentSpanId()</pre>
+</li>
+</ul>
+<a name="close()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>close</h4>
+<pre>public&nbsp;void&nbsp;close()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="hashCode()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hashCode</h4>
+<pre>public&nbsp;int&nbsp;hashCode()</pre>
+<div class="block">Get the hash code of a Tracer object.
+
+ This hash code is based on object identity.
+ This is used in TracerPool to create a hash table of Tracers.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="equals(java.lang.Object)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>equals</h4>
+<pre>public&nbsp;boolean&nbsp;equals(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</pre>
+<div class="block">Compare two tracer objects.
+
+ Tracer objects are always compared by object equality.
+ This is used in TracerPool to create a hash table of Tracers.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="toString()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Tracer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/TraceExecutorService.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/Tracer.Builder.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/Tracer.html" target="_top">Frames</a></li>
+<li><a href="Tracer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerId.html
URL: http://svn.apache.org/viewvc/incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerId.html?rev=1741132&view=auto
==============================================================================
--- incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerId.html (added)
+++ incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerId.html Wed Apr 27 00:33:09 2016
@@ -0,0 +1,319 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_10) on Tue Apr 26 16:57:36 PDT 2016 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>TracerId (htrace-core4 4.1.0-incubating API)</title>
+<meta name="date" content="2016-04-26">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="TracerId (htrace-core4 4.1.0-incubating API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TracerId.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/Tracer.Builder.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/TracerId.html" target="_top">Frames</a></li>
+<li><a href="TracerId.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.htrace.core</div>
+<h2 title="Class TracerId" class="title">Class TracerId</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.htrace.core.TracerId</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <span class="strong">TracerId</span>
+extends <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">The HTrace tracer ID.<p/>
+
+ HTrace tracer IDs are created from format strings.
+ Format strings contain variables which the TracerId class will
+ replace with the correct values at runtime.<p/>
+
+ <ul>
+ <li>%{tname}: the tracer name supplied when creating the Tracer.</li>
+ <li>%{pname}: the process name obtained from the JVM.</li>
+ <li>%{ip}: will be replaced with an ip address.</li>
+ <li>%{pid}: the numerical process ID from the operating system.</li>
+ </ul><p/>
+
+ For example, the string "%{pname}/%{ip}" will be replaced with something
+ like: DataNode/192.168.0.1, assuming that the process' name is DataNode
+ and its IP address is 192.168.0.1.<p/>
+
+  ID strings can contain backslashes as escapes.
+ For example, "\a" will map to "a".  "\%{ip}" will map to the literal
+ string "%{ip}", not the IP address.  A backslash itself can be escaped by a
+ preceding backslash.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerId.html#TRACER_ID_KEY">TRACER_ID_KEY</a></strong></code>
+<div class="block">The configuration key to use for process id</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../org/apache/htrace/core/TracerId.html#TracerId(org.apache.htrace.core.HTraceConfiguration, java.lang.String)">TracerId</a></strong>(<a href="../../../../org/apache/htrace/core/HTraceConfiguration.html" title="class in org.apache.htrace.core">HTraceConfiguration</a>&nbsp;conf,
+        <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tracerName)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerId.html#get()">get</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com
 /javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="TRACER_ID_KEY">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TRACER_ID_KEY</h4>
+<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TRACER_ID_KEY</pre>
+<div class="block">The configuration key to use for process id</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.htrace.core.TracerId.TRACER_ID_KEY">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="TracerId(org.apache.htrace.core.HTraceConfiguration, java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TracerId</h4>
+<pre>public&nbsp;TracerId(<a href="../../../../org/apache/htrace/core/HTraceConfiguration.html" title="class in org.apache.htrace.core">HTraceConfiguration</a>&nbsp;conf,
+        <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tracerName)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="get()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;get()</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TracerId.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/Tracer.Builder.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/TracerId.html" target="_top">Frames</a></li>
+<li><a href="TracerId.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerPool.html
URL: http://svn.apache.org/viewvc/incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerPool.html?rev=1741132&view=auto
==============================================================================
--- incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerPool.html (added)
+++ incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/TracerPool.html Wed Apr 27 00:33:09 2016
@@ -0,0 +1,420 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_10) on Tue Apr 26 16:57:36 PDT 2016 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>TracerPool (htrace-core4 4.1.0-incubating API)</title>
+<meta name="date" content="2016-04-26">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="TracerPool (htrace-core4 4.1.0-incubating API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TracerPool.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/TracerId.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/TraceRunnable.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/TracerPool.html" target="_top">Frames</a></li>
+<li><a href="TracerPool.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.htrace.core</div>
+<h2 title="Class TracerPool" class="title">Class TracerPool</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.htrace.core.TracerPool</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">TracerPool</span>
+extends <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">A pool of Tracer objects.
+
+ There may be more than one <a href="../../../../org/apache/htrace/core/Tracer.html" title="class in org.apache.htrace.core"><code>Tracer</code></a> running inside a single 'process'; for example,
+ unit tests may spin up a DataNode, a NameNode, and HDFS clients all running in a single JVM
+ instance, each with its own Tracer. TracerPool is where all Tracer instances register
+ on creation so Tracers can coordinate around shared resources such as <a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core"><code>SpanReceiver</code></a>
+ instances. TracerPool takes care of properly cleaning up registered Tracer instances on shutdown.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#TracerPool(java.lang.String)">TracerPool</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#addReceiver(org.apache.htrace.core.SpanReceiver)">addReceiver</a></strong>(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</code>
+<div class="block">Add a new span receiver.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core">TracerPool</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#getGlobalTracerPool()">getGlobalTracerPool</a></strong>()</code>
+<div class="block">Get the global tracer pool.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#getName()">getName</a></strong>()</code>
+<div class="block">Return the name of this TracerPool.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#getReceivers()">getReceivers</a></strong>()</code>
+<div class="block">Returns an array of all the current span receivers.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/Tracer.html" title="class in org.apache.htrace.core">Tracer</a>[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#getTracers()">getTracers</a></strong>()</code>
+<div class="block">Returns an array of all the current Tracers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#loadReceiverType(java.lang.String, org.apache.htrace.core.HTraceConfiguration, java.lang.ClassLoader)">loadReceiverType</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
+                <a href="../../../../org/apache/htrace/core/HTraceConfiguration.html" title="class in org.apache.htrace.core">HTraceConfiguration</a>&nbsp;conf,
+                <a href="http://download.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</code>
+<div class="block">Given a SpanReceiver class name, return the existing instance of that span
+ receiver, if possible; otherwise, invoke the callable to create a new
+ instance.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#removeAndCloseReceiver(org.apache.htrace.core.SpanReceiver)">removeAndCloseReceiver</a></strong>(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</code>
+<div class="block">Remove and close a span receiver.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#removeReceiver(org.apache.htrace.core.SpanReceiver)">removeReceiver</a></strong>(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</code>
+<div class="block">Remove a span receiver.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/htrace/core/TracerPool.html#toString()">toString</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com
 /javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="TracerPool(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TracerPool</h4>
+<pre>public&nbsp;TracerPool(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getGlobalTracerPool()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getGlobalTracerPool</h4>
+<pre>public static&nbsp;<a href="../../../../org/apache/htrace/core/TracerPool.html" title="class in org.apache.htrace.core">TracerPool</a>&nbsp;getGlobalTracerPool()</pre>
+<div class="block">Get the global tracer pool.</div>
+</li>
+</ul>
+<a name="getName()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getName</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
+<div class="block">Return the name of this TracerPool.</div>
+</li>
+</ul>
+<a name="getReceivers()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReceivers</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>[]&nbsp;getReceivers()</pre>
+<div class="block">Returns an array of all the current span receivers.
+
+ Note that if the current span receivers change, those changes will not be
+ reflected in this array.  In other words, this array may be stale.</div>
+</li>
+</ul>
+<a name="addReceiver(org.apache.htrace.core.SpanReceiver)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addReceiver</h4>
+<pre>public&nbsp;boolean&nbsp;addReceiver(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</pre>
+<div class="block">Add a new span receiver.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>receiver</code> - The new receiver to add.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>True if the new receiver was added; false if it
+                          already was there.</dd></dl>
+</li>
+</ul>
+<a name="removeReceiver(org.apache.htrace.core.SpanReceiver)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>removeReceiver</h4>
+<pre>public&nbsp;boolean&nbsp;removeReceiver(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</pre>
+<div class="block">Remove a span receiver.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>receiver</code> - The receiver to remove.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>True if the receiver was removed; false if it
+                          did not exist in this pool.</dd></dl>
+</li>
+</ul>
+<a name="removeAndCloseReceiver(org.apache.htrace.core.SpanReceiver)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>removeAndCloseReceiver</h4>
+<pre>public&nbsp;boolean&nbsp;removeAndCloseReceiver(<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;receiver)</pre>
+<div class="block">Remove and close a span receiver.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>receiver</code> - The receiver to remove.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>True if the receiver was removed; false if it
+                          did not exist in this pool.</dd></dl>
+</li>
+</ul>
+<a name="loadReceiverType(java.lang.String, org.apache.htrace.core.HTraceConfiguration, java.lang.ClassLoader)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>loadReceiverType</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/SpanReceiver.html" title="class in org.apache.htrace.core">SpanReceiver</a>&nbsp;loadReceiverType(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
+                            <a href="../../../../org/apache/htrace/core/HTraceConfiguration.html" title="class in org.apache.htrace.core">HTraceConfiguration</a>&nbsp;conf,
+                            <a href="http://download.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</pre>
+<div class="block">Given a SpanReceiver class name, return the existing instance of that span
+ receiver, if possible; otherwise, invoke the callable to create a new
+ instance.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - The span receiver class name.</dd><dd><code>conf</code> - The HTrace configuration.</dd><dd><code>classLoader</code> - The class loader to use.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The SpanReceiver.</dd></dl>
+</li>
+</ul>
+<a name="getTracers()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTracers</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/htrace/core/Tracer.html" title="class in org.apache.htrace.core">Tracer</a>[]&nbsp;getTracers()</pre>
+<div class="block">Returns an array of all the current Tracers.
+
+ Note that if the current Tracers change, those changes will not be
+ reflected in this array.  In other words, this array may be stale.</div>
+</li>
+</ul>
+<a name="toString()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TracerPool.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/htrace/core/TracerId.html" title="class in org.apache.htrace.core"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/htrace/core/TraceRunnable.html" title="class in org.apache.htrace.core"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/htrace/core/TracerPool.html" target="_top">Frames</a></li>
+<li><a href="TracerPool.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/AlwaysSampler.html
URL: http://svn.apache.org/viewvc/incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/AlwaysSampler.html?rev=1741132&view=auto
==============================================================================
--- incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/AlwaysSampler.html (added)
+++ incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/AlwaysSampler.html Wed Apr 27 00:33:09 2016
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_10) on Tue Apr 26 16:57:36 PDT 2016 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.htrace.core.AlwaysSampler (htrace-core4 4.1.0-incubating API)</title>
+<meta name="date" content="2016-04-26">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.htrace.core.AlwaysSampler (htrace-core4 4.1.0-incubating API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/htrace/core/AlwaysSampler.html" title="class in org.apache.htrace.core">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/htrace/core/class-use/AlwaysSampler.html" target="_top">Frames</a></li>
+<li><a href="AlwaysSampler.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.htrace.core.AlwaysSampler" class="title">Uses of Class<br>org.apache.htrace.core.AlwaysSampler</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.htrace.core">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../../org/apache/htrace/core/AlwaysSampler.html" title="class in org.apache.htrace.core">AlwaysSampler</a> in <a href="../../../../../org/apache/htrace/core/package-summary.html">org.apache.htrace.core</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
+<caption><span>Fields in <a href="../../../../../org/apache/htrace/core/package-summary.html">org.apache.htrace.core</a> declared as <a href="../../../../../org/apache/htrace/core/AlwaysSampler.html" title="class in org.apache.htrace.core">AlwaysSampler</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/htrace/core/AlwaysSampler.html" title="class in org.apache.htrace.core">AlwaysSampler</a></code></td>
+<td class="colLast"><span class="strong">AlwaysSampler.</span><code><strong><a href="../../../../../org/apache/htrace/core/AlwaysSampler.html#INSTANCE">INSTANCE</a></strong></code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/htrace/core/AlwaysSampler.html" title="class in org.apache.htrace.core">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/htrace/core/class-use/AlwaysSampler.html" target="_top">Frames</a></li>
+<li><a href="AlwaysSampler.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>

Added: incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/CountSampler.html
URL: http://svn.apache.org/viewvc/incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/CountSampler.html?rev=1741132&view=auto
==============================================================================
--- incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/CountSampler.html (added)
+++ incubator/htrace/site/publish/javadoc/4.1/htrace-core/org/apache/htrace/core/class-use/CountSampler.html Wed Apr 27 00:33:09 2016
@@ -0,0 +1,115 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_10) on Tue Apr 26 16:57:36 PDT 2016 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.htrace.core.CountSampler (htrace-core4 4.1.0-incubating API)</title>
+<meta name="date" content="2016-04-26">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.htrace.core.CountSampler (htrace-core4 4.1.0-incubating API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/htrace/core/CountSampler.html" title="class in org.apache.htrace.core">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/htrace/core/class-use/CountSampler.html" target="_top">Frames</a></li>
+<li><a href="CountSampler.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.htrace.core.CountSampler" class="title">Uses of Class<br>org.apache.htrace.core.CountSampler</h2>
+</div>
+<div class="classUseContainer">No usage of org.apache.htrace.core.CountSampler</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../org/apache/htrace/core/package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/htrace/core/CountSampler.html" title="class in org.apache.htrace.core">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/htrace/core/class-use/CountSampler.html" target="_top">Frames</a></li>
+<li><a href="CountSampler.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>



Mime
View raw message