Files
pj2/doc/edu/rit/pjmr/MapperTaskConfig.html
2016-04-27 01:07:35 -04:00

437 lines
34 KiB
HTML

<!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_51) on Wed Apr 06 13:11:06 EDT 2016 -->
<title>MapperTaskConfig (Parallel Java 2 Library Documentation)</title>
<meta name="date" content="2016-04-06">
<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="MapperTaskConfig (Parallel Java 2 Library Documentation)";
}
//-->
</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="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MapperTaskConfig.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-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../edu/rit/pjmr/MapperTask.html" title="class in edu.rit.pjmr"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../edu/rit/pjmr/PjmrJob.html" title="class in edu.rit.pjmr"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?edu/rit/pjmr/MapperTaskConfig.html" target="_top">Frames</a></li>
<li><a href="MapperTaskConfig.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>Constr&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>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">edu.rit.pjmr</div>
<h2 title="Class MapperTaskConfig" class="title">Class MapperTaskConfig&lt;IK,IV,OK,OV extends <a href="../../../edu/rit/pj2/Vbl.html" title="interface in edu.rit.pj2">Vbl</a>&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://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>edu.rit.pjmr.MapperTaskConfig&lt;IK,IV,OK,OV&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>IK</code> - Mapper input key data type.</dd><dd><code>IV</code> - Mapper input value data type.</dd><dd><code>OK</code> - Mapper output key data type.</dd><dd><code>OV</code> - Mapper output value data type; must implement interface
<a href="../../../edu/rit/pj2/Vbl.html" title="interface in edu.rit.pj2">Vbl</a>.</dd></dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">MapperTaskConfig&lt;IK,IV,OK,OV extends <a href="../../../edu/rit/pj2/Vbl.html" title="interface in edu.rit.pj2">Vbl</a>&gt;</span>
extends <a href="http://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="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></pre>
<div class="block">Class MapperTaskConfig contains specifications for configuring a mapper task.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#chunk(int)">chunk</a></strong>(int&nbsp;chunk)</code>
<div class="block">Specify this mapper task's <TT>chunk</TT> property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T extends <a href="../../../edu/rit/pjmr/Customizer.html" title="class in edu.rit.pjmr">Customizer</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&gt;&nbsp;<br><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#customizer(java.lang.Class, java.lang.String...)">customizer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;customizerClass,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;args)</code>
<div class="block">Specify the given <a href="../../../edu/rit/pjmr/Customizer.html" title="class in edu.rit.pjmr">Customizer</a> for this mapper task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#debug(edu.rit.pj2.Debug...)">debug</a></strong>(<a href="../../../edu/rit/pj2/Debug.html" title="enum in edu.rit.pj2">Debug</a>...&nbsp;debug)</code>
<div class="block">Print the given debugging messages for this mapper task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#debug(java.util.Set)">debug</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../edu/rit/pj2/Debug.html" title="enum in edu.rit.pj2">Debug</a>&gt;&nbsp;debug)</code>
<div class="block">Print the given debugging messages for this mapper task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#jvmFlags(java.lang.String...)">jvmFlags</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;jvmFlags)</code>
<div class="block">Specify the JVM flags for this mapper task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#readIn(edu.rit.io.InStream)">readIn</a></strong>(<a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a>&nbsp;in)</code>
<div class="block">Read this mapper task config object from the given in stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#schedule(edu.rit.pj2.Schedule)">schedule</a></strong>(<a href="../../../edu/rit/pj2/Schedule.html" title="enum in edu.rit.pj2">Schedule</a>&nbsp;schedule)</code>
<div class="block">Specify this mapper task's <TT>schedule</TT> property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/SourceConfig.html" title="class in edu.rit.pjmr">SourceConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#source(edu.rit.pjmr.Source)">source</a></strong>(<a href="../../../edu/rit/pjmr/Source.html" title="interface in edu.rit.pjmr">Source</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>&gt;&nbsp;source)</code>
<div class="block">Add the given <a href="../../../edu/rit/pjmr/Source.html" title="interface in edu.rit.pjmr">Source</a> to this mapper task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#threads(int)">threads</a></strong>(int&nbsp;threads)</code>
<div class="block">Specify this mapper task's <TT>threads</TT> property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../edu/rit/pjmr/MapperTaskConfig.html#writeOut(edu.rit.io.OutStream)">writeOut</a></strong>(<a href="../../../edu/rit/io/OutStream.html" title="class in edu.rit.io">OutStream</a>&nbsp;out)</code>
<div class="block">Write this mapper task config object to the given out stream.</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://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="source(edu.rit.pjmr.Source)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>source</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/SourceConfig.html" title="class in edu.rit.pjmr">SourceConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;source(<a href="../../../edu/rit/pjmr/Source.html" title="interface in edu.rit.pjmr">Source</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>&gt;&nbsp;source)</pre>
<div class="block">Add the given <a href="../../../edu/rit/pjmr/Source.html" title="interface in edu.rit.pjmr">Source</a> to this mapper task. A mapper task must
include at least one source; it may include more than one source. After
calling <TT>source()</TT>, call <a href="../../../edu/rit/pjmr/SourceConfig.html#mapper(java.lang.Class, java.lang.String...)"><code>mapper()</code></a> on the returned <a href="../../../edu/rit/pjmr/SourceConfig.html" title="class in edu.rit.pjmr">SourceConfig</a> object to attach one or more mappers to the
<TT>source</TT>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Source.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Source config object for <TT>source</TT>.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>source</TT> is null.</dd></dl>
</li>
</ul>
<a name="customizer(java.lang.Class, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>customizer</h4>
<pre>public&nbsp;&lt;T extends <a href="../../../edu/rit/pjmr/Customizer.html" title="class in edu.rit.pjmr">Customizer</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&gt;&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;customizer(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;customizerClass,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;args)</pre>
<div class="block">Specify the given <a href="../../../edu/rit/pjmr/Customizer.html" title="class in edu.rit.pjmr">Customizer</a> for this mapper task. The
argument strings for the customizer, if any, may also be specified. The
default is not to use a customizer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>customizerClass</code> - Customizer class.</dd><dd><code>args</code> - Zero or more argument strings for the
customizer.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>customizerClass</TT> is null.</dd></dl>
</li>
</ul>
<a name="threads(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>threads</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;threads(int&nbsp;threads)</pre>
<div class="block">Specify this mapper task's <TT>threads</TT> property. For further
information, see <a href="../../../edu/rit/pj2/TaskSpec.html#threads(int)"><code>TaskSpec.threads()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>threads</code> - Number of threads (&ge; 1).</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>threads</TT> is illegal.</dd></dl>
</li>
</ul>
<a name="schedule(edu.rit.pj2.Schedule)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schedule</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;schedule(<a href="../../../edu/rit/pj2/Schedule.html" title="enum in edu.rit.pj2">Schedule</a>&nbsp;schedule)</pre>
<div class="block">Specify this mapper task's <TT>schedule</TT> property. For further
information, see <a href="../../../edu/rit/pj2/TaskSpec.html#schedule(edu.rit.pj2.Schedule)"><code>TaskSpec.schedule()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>schedule</code> - Parallel for loop schedule.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>schedule</TT> is null.</dd></dl>
</li>
</ul>
<a name="chunk(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chunk</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;chunk(int&nbsp;chunk)</pre>
<div class="block">Specify this mapper task's <TT>chunk</TT> property. For further
information, see <a href="../../../edu/rit/pj2/TaskSpec.html#chunk(int)"><code>TaskSpec.chunk()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chunk</code> - Chunk size (&ge; 1).</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>chunk</TT> is illegal.</dd></dl>
</li>
</ul>
<a name="jvmFlags(java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jvmFlags</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;jvmFlags(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;jvmFlags)</pre>
<div class="block">Specify the JVM flags for this mapper task. For further information, see
<a href="../../../edu/rit/pj2/TaskSpec.html#jvmFlags(java.lang.String...)"><code>TaskSpec.jvmFlags()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jvmFlags</code> - JVM flags (zero or more).</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>jvmFlags</TT> is null or any
element of <TT>jvmFlags</TT> is null.</dd></dl>
</li>
</ul>
<a name="debug(edu.rit.pj2.Debug...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;debug(<a href="../../../edu/rit/pj2/Debug.html" title="enum in edu.rit.pj2">Debug</a>...&nbsp;debug)</pre>
<div class="block">Print the given debugging messages for this mapper task. For further
information, see <a href="../../../edu/rit/pj2/TaskSpec.html#debug(edu.rit.pj2.Debug...)"><code>TaskSpec.debug()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>debug</code> - Debugging message(s) to print, or null to print none.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd></dl>
</li>
</ul>
<a name="debug(java.util.Set)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug</h4>
<pre>public&nbsp;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="class in edu.rit.pjmr">MapperTaskConfig</a>&lt;<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">IV</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OK</a>,<a href="../../../edu/rit/pjmr/MapperTaskConfig.html" title="type parameter in MapperTaskConfig">OV</a>&gt;&nbsp;debug(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../edu/rit/pj2/Debug.html" title="enum in edu.rit.pj2">Debug</a>&gt;&nbsp;debug)</pre>
<div class="block">Print the given debugging messages for this mapper task. For further
information, see <a href="../../../edu/rit/pj2/TaskSpec.html#debug(edu.rit.pj2.Debug...)"><code>TaskSpec.debug()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>debug</code> - Set of debugging message(s) to print, or null to print
none.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This mapper task config object.</dd></dl>
</li>
</ul>
<a name="writeOut(edu.rit.io.OutStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeOut</h4>
<pre>public&nbsp;void&nbsp;writeOut(<a href="../../../edu/rit/io/OutStream.html" title="class in edu.rit.io">OutStream</a>&nbsp;out)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Write this mapper task config object to the given out stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../edu/rit/io/Streamable.html#writeOut(edu.rit.io.OutStream)">writeOut</a></code>&nbsp;in interface&nbsp;<code><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Out stream.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
</li>
</ul>
<a name="readIn(edu.rit.io.InStream)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>readIn</h4>
<pre>public&nbsp;void&nbsp;readIn(<a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a>&nbsp;in)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Read this mapper task config object from the given in stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../edu/rit/io/Streamable.html#readIn(edu.rit.io.InStream)">readIn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - In stream.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</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="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MapperTaskConfig.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-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../edu/rit/pjmr/MapperTask.html" title="class in edu.rit.pjmr"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../edu/rit/pjmr/PjmrJob.html" title="class in edu.rit.pjmr"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?edu/rit/pjmr/MapperTaskConfig.html" target="_top">Frames</a></li>
<li><a href="MapperTaskConfig.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>Constr&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>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><FONT SIZE="-2">Copyright &copy; 2013&ndash;2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">&#64;</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
</body>
</html>