blob: caee1a81fd57362f21915fb800672d6aacadbe5b [file] [log] [blame]
<!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 (1.8.0_40) on Thu Jul 20 13:15:50 PDT 2017 -->
<title>RootMetricContext (gobblin-metrics-base 0.11.0 API)</title>
<meta name="date" content="2017-07-20">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RootMetricContext (gobblin-metrics-base 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":9,"i3":9,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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="../../gobblin/metrics/MetricReport.Builder.html" title="class in gobblin.metrics"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/metrics/Tag.html" title="class in gobblin.metrics"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/metrics/RootMetricContext.html" target="_top">Frames</a></li>
<li><a href="RootMetricContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;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.classes.inherited.from.class.gobblin.metrics.MetricContext">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">gobblin.metrics</div>
<h2 title="Class RootMetricContext" class="title">Class RootMetricContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.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>com.codahale.metrics.MetricRegistry</li>
<li>
<ul class="inheritance">
<li><a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">gobblin.metrics.MetricContext</a></li>
<li>
<ul class="inheritance">
<li>gobblin.metrics.RootMetricContext</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.codahale.metrics.Metric, com.codahale.metrics.MetricSet, <a href="../../gobblin/metrics/context/ReportableContext.html" title="interface in gobblin.metrics.context">ReportableContext</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.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="typeNameLabel">RootMetricContext</span>
extends <a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a></pre>
<div class="block">Special singleton <a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics"><code>MetricContext</code></a> used as the root of the <a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics"><code>MetricContext</code></a> tree. This is the only
<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics"><code>MetricContext</code></a> that is allowed to not have a parent. Any <a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics"><code>MetricContext</code></a> that does not explicitly
have a parent will automatically become a child of the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</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>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.gobblin.metrics.MetricContext">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;gobblin.metrics.<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a></h3>
<code><a href="../../gobblin/metrics/MetricContext.Builder.html" title="class in gobblin.metrics">MetricContext.Builder</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" 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="https://docs.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><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#ROOT_METRIC_CONTEXT">ROOT_METRIC_CONTEXT</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.gobblin.metrics.MetricContext">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;gobblin.metrics.<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a></h3>
<code><a href="../../gobblin/metrics/MetricContext.html#closer">closer</a>, <a href="../../gobblin/metrics/MetricContext.html#GOBBLIN_METRICS_NOTIFICATIONS_TIMER_NAME">GOBBLIN_METRICS_NOTIFICATIONS_TIMER_NAME</a>, <a href="../../gobblin/metrics/MetricContext.html#METRIC_CONTEXT_ID_TAG_NAME">METRIC_CONTEXT_ID_TAG_NAME</a>, <a href="../../gobblin/metrics/MetricContext.html#METRIC_CONTEXT_NAME_TAG_NAME">METRIC_CONTEXT_NAME_TAG_NAME</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#addMetricContext-gobblin.metrics.MetricContext-">addMetricContext</a></span>(<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#addNewReporter-gobblin.metrics.reporter.ContextAwareReporter-">addNewReporter</a></span>(<a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter">ContextAwareReporter</a>&nbsp;reporter)</code>
<div class="block">Add a new <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> to the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a> for it to manage.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics">RootMetricContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#get--">get</a></span>()</code>
<div class="block">Get the singleton <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics">RootMetricContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#get-java.util.List-">get</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../gobblin/metrics/Tag.html" title="class in gobblin.metrics">Tag</a>&lt;?&gt;&gt;&nbsp;tags)</code>
<div class="block">Get the singleton <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>, adding the specified tags if and only if this is the first call.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#removeReporter-gobblin.metrics.reporter.ContextAwareReporter-">removeReporter</a></span>(<a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter">ContextAwareReporter</a>&nbsp;reporter)</code>
<div class="block">Remove <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> from the set of managed reporters.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#startReporting--">startReporting</a></span>()</code>
<div class="block">Start all <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a>s managed by the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/metrics/RootMetricContext.html#stopReporting--">stopReporting</a></span>()</code>
<div class="block">Stop all <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a>s managed by the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.metrics.MetricContext">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.metrics.<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a></h3>
<code><a href="../../gobblin/metrics/MetricContext.html#addNotificationTarget-com.google.common.base.Function-">addNotificationTarget</a>, <a href="../../gobblin/metrics/MetricContext.html#builder-java.lang.String-">builder</a>, <a href="../../gobblin/metrics/MetricContext.html#childBuilder-java.lang.String-">childBuilder</a>, <a href="../../gobblin/metrics/MetricContext.html#close--">close</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareCounter-java.lang.String-">contextAwareCounter</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareCounter-java.lang.String-gobblin.metrics.ContextAwareMetricFactory-">contextAwareCounter</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareHistogram-java.lang.String-">contextAwareHistogram</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareHistogram-java.lang.String-gobblin.metrics.ContextAwareMetricFactory-">contextAwareHistogram</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareMeter-java.lang.String-">contextAwareMeter</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareMeter-java.lang.String-gobblin.metrics.ContextAwareMetricFactory-">contextAwareMeter</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareTimer-java.lang.String-">contextAwareTimer</a>, <a href="../../gobblin/metrics/MetricContext.html#contextAwareTimer-java.lang.String-gobblin.metrics.ContextAwareMetricFactory-">contextAwareTimer</a>, <a href="../../gobblin/metrics/MetricContext.html#counter-java.lang.String-">counter</a>, <a href="../../gobblin/metrics/MetricContext.html#getChildContextsAsMap--">getChildContextsAsMap</a>, <a href="../../gobblin/metrics/MetricContext.html#getCounters--">getCounters</a>, <a href="../../gobblin/metrics/MetricContext.html#getCounters-com.codahale.metrics.MetricFilter-">getCounters</a>, <a href="../../gobblin/metrics/MetricContext.html#getGauges--">getGauges</a>, <a href="../../gobblin/metrics/MetricContext.html#getGauges-com.codahale.metrics.MetricFilter-">getGauges</a>, <a href="../../gobblin/metrics/MetricContext.html#getHistograms--">getHistograms</a>, <a href="../../gobblin/metrics/MetricContext.html#getHistograms-com.codahale.metrics.MetricFilter-">getHistograms</a>, <a href="../../gobblin/metrics/MetricContext.html#getMeters--">getMeters</a>, <a href="../../gobblin/metrics/MetricContext.html#getMeters-com.codahale.metrics.MetricFilter-">getMeters</a>, <a href="../../gobblin/metrics/MetricContext.html#getMetrics--">getMetrics</a>, <a href="../../gobblin/metrics/MetricContext.html#getName--">getName</a>, <a href="../../gobblin/metrics/MetricContext.html#getNames--">getNames</a>, <a href="../../gobblin/metrics/MetricContext.html#getParent--">getParent</a>, <a href="../../gobblin/metrics/MetricContext.html#getTagMap--">getTagMap</a>, <a href="../../gobblin/metrics/MetricContext.html#getTags--">getTags</a>, <a href="../../gobblin/metrics/MetricContext.html#getTimers--">getTimers</a>, <a href="../../gobblin/metrics/MetricContext.html#getTimers-com.codahale.metrics.MetricFilter-">getTimers</a>, <a href="../../gobblin/metrics/MetricContext.html#histogram-java.lang.String-">histogram</a>, <a href="../../gobblin/metrics/MetricContext.html#meter-java.lang.String-">meter</a>, <a href="../../gobblin/metrics/MetricContext.html#newContextAwareGauge-java.lang.String-com.codahale.metrics.Gauge-">newContextAwareGauge</a>, <a href="../../gobblin/metrics/MetricContext.html#register-java.lang.String-T-">register</a>, <a href="../../gobblin/metrics/MetricContext.html#register-T-">register</a>, <a href="../../gobblin/metrics/MetricContext.html#remove-java.lang.String-">remove</a>, <a href="../../gobblin/metrics/MetricContext.html#removeMatching-com.codahale.metrics.MetricFilter-">removeMatching</a>, <a href="../../gobblin/metrics/MetricContext.html#removeNotificationTarget-java.util.UUID-">removeNotificationTarget</a>, <a href="../../gobblin/metrics/MetricContext.html#sendNotification-gobblin.metrics.notification.Notification-">sendNotification</a>, <a href="../../gobblin/metrics/MetricContext.html#submitEvent-gobblin.metrics.GobblinTrackingEvent-">submitEvent</a>, <a href="../../gobblin/metrics/MetricContext.html#timer-java.lang.String-">timer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.codahale.metrics.MetricRegistry">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.codahale.metrics.MetricRegistry</h3>
<code>addListener, buildMap, name, name, registerAll, removeListener</code></li>
</ul>
<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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="https://docs.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="ROOT_METRIC_CONTEXT">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ROOT_METRIC_CONTEXT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ROOT_METRIC_CONTEXT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#gobblin.metrics.RootMetricContext.ROOT_METRIC_CONTEXT">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="get--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics">RootMetricContext</a>&nbsp;get()</pre>
<div class="block">Get the singleton <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>singleton instance of <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</dd>
</dl>
</li>
</ul>
<a name="get-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics">RootMetricContext</a>&nbsp;get(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../gobblin/metrics/Tag.html" title="class in gobblin.metrics">Tag</a>&lt;?&gt;&gt;&nbsp;tags)</pre>
<div class="block">Get the singleton <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>, adding the specified tags if and only if this is the first call.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>singleton instance of <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</dd>
</dl>
</li>
</ul>
<a name="addNewReporter-gobblin.metrics.reporter.ContextAwareReporter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNewReporter</h4>
<pre>public&nbsp;void&nbsp;addNewReporter(<a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter">ContextAwareReporter</a>&nbsp;reporter)</pre>
<div class="block">Add a new <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> to the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a> for it to manage.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reporter</code> - <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> to manage.</dd>
</dl>
</li>
</ul>
<a name="removeReporter-gobblin.metrics.reporter.ContextAwareReporter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeReporter</h4>
<pre>public&nbsp;void&nbsp;removeReporter(<a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter">ContextAwareReporter</a>&nbsp;reporter)</pre>
<div class="block">Remove <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> from the set of managed reporters.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reporter</code> - <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a> to remove.</dd>
</dl>
</li>
</ul>
<a name="startReporting--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startReporting</h4>
<pre>public&nbsp;void&nbsp;startReporting()</pre>
<div class="block">Start all <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a>s managed by the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
</li>
</ul>
<a name="stopReporting--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopReporting</h4>
<pre>public&nbsp;void&nbsp;stopReporting()</pre>
<div class="block">Stop all <a href="../../gobblin/metrics/reporter/ContextAwareReporter.html" title="class in gobblin.metrics.reporter"><code>ContextAwareReporter</code></a>s managed by the <a href="../../gobblin/metrics/RootMetricContext.html" title="class in gobblin.metrics"><code>RootMetricContext</code></a>.</div>
</li>
</ul>
<a name="addMetricContext-gobblin.metrics.MetricContext-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>addMetricContext</h4>
<pre>protected&nbsp;void&nbsp;addMetricContext(<a href="../../gobblin/metrics/MetricContext.html" title="class in gobblin.metrics">MetricContext</a>&nbsp;context)</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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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="../../gobblin/metrics/MetricReport.Builder.html" title="class in gobblin.metrics"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/metrics/Tag.html" title="class in gobblin.metrics"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/metrics/RootMetricContext.html" target="_top">Frames</a></li>
<li><a href="RootMetricContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;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.classes.inherited.from.class.gobblin.metrics.MetricContext">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 ======= -->
</body>
</html>