blob: 143f8e1431150aa44f0fb8cc150f19b43d12cfd9 [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:16:18 PDT 2017 -->
<title>InstrumentedForkOperatorDecorator (gobblin-core-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="InstrumentedForkOperatorDecorator (gobblin-core-base 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
var tabs = {65535:["t0","All 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/instrumented/fork/InstrumentedForkOperator.html" title="class in gobblin.instrumented.fork"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" target="_top">Frames</a></li>
<li><a href="InstrumentedForkOperatorDecorator.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>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">gobblin.instrumented.fork</div>
<h2 title="Class InstrumentedForkOperatorDecorator" class="title">Class InstrumentedForkOperatorDecorator&lt;S,D&gt;</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>gobblin.instrumented.fork.InstrumentedForkOperatorDecorator&lt;S,D&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;S,D&gt;, <a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/util/Decorator.html?is-external=true" title="class or interface in gobblin.util">Decorator</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">InstrumentedForkOperatorDecorator&lt;S,D&gt;</span>
extends <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>
implements <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/util/Decorator.html?is-external=true" title="class or interface in gobblin.util">Decorator</a></pre>
<div class="block">Decorator that automatically instruments <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork"><code>ForkOperator</code></a>.
Handles already instrumented <a href="../../../gobblin/instrumented/fork/InstrumentedForkOperator.html" title="class in gobblin.instrumented.fork"><code>InstrumentedForkOperator</code></a>
appropriately to avoid double metric reporting.</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="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>protected <a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/io/Closer.html?is-external=true" title="class or interface in com.google.common.io">Closer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#closer">closer</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" 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><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#InstrumentedForkOperatorDecorator-gobblin.fork.ForkOperator-">InstrumentedForkOperatorDecorator</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;&nbsp;forkOperator)</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="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="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/instrumented/fork/InstrumentedForkOperatorDecorator.html#afterFork-java.util.List-long-">afterFork</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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;forks,
long&nbsp;startTimeNanos)</code>
<div class="block">Called after forkDataRecord.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#beforeFork-D-">beforeFork</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/instrumented.fork.InstrumentedForkOperatorBase.html?is-external=true" title="class or interface in gobblin">D</a>&nbsp;input)</code>
<div class="block">Called before forkDataRecord.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#forkDataRecord-gobblin.configuration.WorkUnitState-D-">forkDataRecord</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&nbsp;input)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#forkDataRecordImpl-gobblin.configuration.WorkUnitState-D-">forkDataRecordImpl</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&nbsp;input)</code>
<div class="block">Subclasses should implement this instead of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#forkDataRecord-gobblin.configuration.WorkUnitState-D-" title="class or interface in gobblin.fork"><code>ForkOperator.forkDataRecord(gobblin.configuration.WorkUnitState, D)</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#forkSchema-gobblin.configuration.WorkUnitState-S-">forkSchema</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>&nbsp;input)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics">Tag</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#generateTags-gobblin.configuration.State-">generateTags</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration">State</a>&nbsp;state)</code>
<div class="block">Default with no additional tags</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#getBranches-gobblin.configuration.WorkUnitState-">getBranches</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#getDecoratedObject--">getDecoratedObject</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#getMetricContext--">getMetricContext</a></span>()</code>
<div class="block">Get <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> containing metrics related to this Instrumentable.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#init-gobblin.configuration.WorkUnitState-">init</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#init-gobblin.configuration.WorkUnitState-java.lang.Class-">init</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;classTag)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#isInstrumentationEnabled--">isInstrumentationEnabled</a></span>()</code>
<div class="block">Returns true if instrumentation is activated.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#regenerateMetrics--">regenerateMetrics</a></span>()</code>
<div class="block">Generates metrics for the instrumentation of this class.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#switchMetricContext-java.util.List-">switchMetricContext</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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics">Tag</a>&lt;?&gt;&gt;&nbsp;tags)</code>
<div class="block">Generate a new <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> replacing old <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a> with input
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a> (only tags with the same keys will be replaced),
and recreate all metrics in this new context.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html#switchMetricContext-gobblin.metrics.MetricContext-">switchMetricContext</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a>&nbsp;context)</code>
<div class="block">Switches the existing <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> with the supplied metric context and regenerates
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Metric.html?is-external=true" title="class or interface in gobblin.metrics"><code>Metric</code></a>.</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="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="closer">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>closer</h4>
<pre>protected final&nbsp;<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/io/Closer.html?is-external=true" title="class or interface in com.google.common.io">Closer</a> closer</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="InstrumentedForkOperatorDecorator-gobblin.fork.ForkOperator-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>InstrumentedForkOperatorDecorator</h4>
<pre>public&nbsp;InstrumentedForkOperatorDecorator(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;&nbsp;forkOperator)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#init-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.fork">init</a></code>&nbsp;in interface&nbsp;<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="getMetricContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetricContext</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a>&nbsp;getMetricContext()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html#getMetricContext--">Instrumentable</a></code></span></div>
<div class="block">Get <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> containing metrics related to this Instrumentable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/instrumented/Instrumentable.html#getMetricContext--">getMetricContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a>.</dd>
</dl>
</li>
</ul>
<a name="forkDataRecord-gobblin.configuration.WorkUnitState-java.lang.Object-">
<!-- -->
</a><a name="forkDataRecord-gobblin.configuration.WorkUnitState-D-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forkDataRecord</h4>
<pre>public&nbsp;<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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;forkDataRecord(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&nbsp;input)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#forkDataRecord-gobblin.configuration.WorkUnitState-D-" title="class or interface in gobblin.fork">forkDataRecord</a></code>&nbsp;in interface&nbsp;<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="forkDataRecordImpl-gobblin.configuration.WorkUnitState-java.lang.Object-">
<!-- -->
</a><a name="forkDataRecordImpl-gobblin.configuration.WorkUnitState-D-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forkDataRecordImpl</h4>
<pre>public&nbsp;<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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;forkDataRecordImpl(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&nbsp;input)</pre>
<div class="block">Subclasses should implement this instead of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#forkDataRecord-gobblin.configuration.WorkUnitState-D-" title="class or interface in gobblin.fork"><code>ForkOperator.forkDataRecord(gobblin.configuration.WorkUnitState, D)</code></a>.</div>
</li>
</ul>
<a name="getBranches-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBranches</h4>
<pre>public&nbsp;int&nbsp;getBranches(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#getBranches-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.fork">getBranches</a></code>&nbsp;in interface&nbsp;<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="forkSchema-gobblin.configuration.WorkUnitState-java.lang.Object-">
<!-- -->
</a><a name="forkSchema-gobblin.configuration.WorkUnitState-S-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forkSchema</h4>
<pre>public&nbsp;<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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;forkSchema(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>&nbsp;input)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true#forkSchema-gobblin.configuration.WorkUnitState-S-" title="class or interface in gobblin.fork">forkSchema</a></code>&nbsp;in interface&nbsp;<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&lt;<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">S</a>,<a href="../../../gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" title="type parameter in InstrumentedForkOperatorDecorator">D</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getDecoratedObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDecoratedObject</h4>
<pre>public&nbsp;<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>&nbsp;getDecoratedObject()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/util/Decorator.html?is-external=true#getDecoratedObject--" title="class or interface in gobblin.util">getDecoratedObject</a></code>&nbsp;in interface&nbsp;<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/util/Decorator.html?is-external=true" title="class or interface in gobblin.util">Decorator</a></code></dd>
</dl>
</li>
</ul>
<a name="init-gobblin.configuration.WorkUnitState-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>protected&nbsp;void&nbsp;init(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;classTag)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="switchMetricContext-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchMetricContext</h4>
<pre>public&nbsp;void&nbsp;switchMetricContext(<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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics">Tag</a>&lt;?&gt;&gt;&nbsp;tags)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html#switchMetricContext-java.util.List-">Instrumentable</a></code></span></div>
<div class="block">Generate a new <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> replacing old <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a> with input
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a> (only tags with the same keys will be replaced),
and recreate all metrics in this new context.
<p>
This method is useful when the state of the <a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented"><code>Instrumentable</code></a> changes and the user
wants that state change to be reflected in the tags of the instrumentation.
</p>
<p>
Notice that this method creates a brand new <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> and <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Metric.html?is-external=true" title="class or interface in gobblin.metrics"><code>Metric</code></a>
every time it is called,
with the associated processing and memory overhead. Use sparingly only for state changes that must be visible in
emitted metrics.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/instrumented/Instrumentable.html#switchMetricContext-java.util.List-">switchMetricContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tags</code> - additional <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a>.</dd>
</dl>
</li>
</ul>
<a name="switchMetricContext-gobblin.metrics.MetricContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>switchMetricContext</h4>
<pre>public&nbsp;void&nbsp;switchMetricContext(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html#switchMetricContext-gobblin.metrics.MetricContext-">Instrumentable</a></code></span></div>
<div class="block">Switches the existing <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a> with the supplied metric context and regenerates
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Metric.html?is-external=true" title="class or interface in gobblin.metrics"><code>Metric</code></a>.
<p>
This method is useful when the state of the <a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented"><code>Instrumentable</code></a> changes and the user
wants that state change to be reflected in the set of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics"><code>Tag</code></a> of the instrumentation.
</p>
<p>
This method is an alternative to <a href="../../../gobblin/instrumented/Instrumentable.html#switchMetricContext-java.util.List-"><code>Instrumentable.switchMetricContext(List)</code></a> when metric context switching is done
often between a small set of contexts. The subclass should keep a list of previously generated contexts as a cache,
and call this method to simply switch between the different contexts,
avoiding the overhead of generating a brand new context every time a metric context switch is required.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/instrumented/Instrumentable.html#switchMetricContext-gobblin.metrics.MetricContext-">switchMetricContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - new <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a>.</dd>
</dl>
</li>
</ul>
<a name="regenerateMetrics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>regenerateMetrics</h4>
<pre>protected&nbsp;void&nbsp;regenerateMetrics()</pre>
<div class="block">Generates metrics for the instrumentation of this class.</div>
</li>
</ul>
<a name="generateTags-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateTags</h4>
<pre>public&nbsp;<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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/Tag.html?is-external=true" title="class or interface in gobblin.metrics">Tag</a>&lt;?&gt;&gt;&nbsp;generateTags(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration">State</a>&nbsp;state)</pre>
<div class="block">Default with no additional tags</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/instrumented/Instrumentable.html#generateTags-gobblin.configuration.State-">generateTags</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of tags to add to <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics"><code>MetricContext</code></a>.</dd>
</dl>
</li>
</ul>
<a name="isInstrumentationEnabled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInstrumentationEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isInstrumentationEnabled()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html#isInstrumentationEnabled--">Instrumentable</a></code></span></div>
<div class="block">Returns true if instrumentation is activated.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/instrumented/Instrumentable.html#isInstrumentationEnabled--">isInstrumentationEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/instrumented/Instrumentable.html" title="interface in gobblin.instrumented">Instrumentable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if instrumentation is enabled, false otherwise.</dd>
</dl>
</li>
</ul>
<a name="beforeFork-java.lang.Object-">
<!-- -->
</a><a name="beforeFork-D-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeFork</h4>
<pre>protected&nbsp;void&nbsp;beforeFork(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/instrumented.fork.InstrumentedForkOperatorBase.html?is-external=true" title="class or interface in gobblin">D</a>&nbsp;input)</pre>
<div class="block">Called before forkDataRecord.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>input</code> - an input data record</dd>
</dl>
</li>
</ul>
<a name="afterFork-java.util.List-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>afterFork</h4>
<pre>protected&nbsp;void&nbsp;afterFork(<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="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;forks,
long&nbsp;startTimeNanos)</pre>
<div class="block">Called after forkDataRecord.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>forks</code> - result from forkDataRecord.</dd>
<dd><code>startTimeNanos</code> - start time of forkDataRecord.</dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.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="https://docs.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><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.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="https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</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>
<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/instrumented/fork/InstrumentedForkOperator.html" title="class in gobblin.instrumented.fork"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/instrumented/fork/InstrumentedForkOperatorDecorator.html" target="_top">Frames</a></li>
<li><a href="InstrumentedForkOperatorDecorator.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>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 ======= -->
</body>
</html>