blob: a761b811da94ae0f28bc37acf1505a7a67b40b9a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Assigns a group ID to all the jobs started by this thread...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head><body>
<table width="100%" summary="page for setJobGroup {SparkR}"><tr><td>setJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
<h2>Assigns a group ID to all the jobs started by this thread until the group ID is set to a
different value or cleared.</h2>
<h3>Description</h3>
<p>Assigns a group ID to all the jobs started by this thread until the group ID is set to a
different value or cleared.
</p>
<h3>Usage</h3>
<pre>
## Default S3 method:
setJobGroup(groupId, description, interruptOnCancel)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>groupId</code></td>
<td>
<p>the ID to be assigned to job groups.</p>
</td></tr>
<tr valign="top"><td><code>description</code></td>
<td>
<p>description for the job group ID.</p>
</td></tr>
<tr valign="top"><td><code>interruptOnCancel</code></td>
<td>
<p>flag to indicate if the job is interrupted on job cancellation.</p>
</td></tr>
</table>
<h3>Note</h3>
<p>setJobGroup since 1.5.0
</p>
<h3>Examples</h3>
<pre><code class="r">## Not run:
##D sparkR.session()
##D setJobGroup(&quot;myJobGroup&quot;, &quot;My job group description&quot;, TRUE)
## End(Not run)
</code></pre>
<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.4.0 <a href="00Index.html">Index</a>]</div>
</body></html>