blob: 0baa26d3306feecd85af5439a7b05ea17aae091b [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.7.0_131) on Wed Mar 29 10:24:18 UTC 2017 -->
<title>Protos.KillPolicyOrBuilder</title>
<meta name="date" content="2017-03-29">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Protos.KillPolicyOrBuilder";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/apache/mesos/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="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.Label.html" title="class in org.apache.mesos"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/mesos/Protos.KillPolicyOrBuilder.html" target="_top">Frames</a></li>
<li><a href="Protos.KillPolicyOrBuilder.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">org.apache.mesos</div>
<h2 title="Interface Protos.KillPolicyOrBuilder" class="title">Interface Protos.KillPolicyOrBuilder</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>, <a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../org/apache/mesos/Protos.html" title="class in org.apache.mesos">Protos</a></dd>
</dl>
<hr>
<br>
<pre>public static interface <span class="strong">Protos.KillPolicyOrBuilder</span></pre>
</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="../../../org/apache/mesos/Protos.DurationInfo.html" title="class in org.apache.mesos">Protos.DurationInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#getGracePeriod()">getGracePeriod</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.DurationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.DurationInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#getGracePeriodOrBuilder()">getGracePeriodOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#hasGracePeriod()">hasGracePeriod</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
</table>
</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="hasGracePeriod()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasGracePeriod</h4>
<pre>boolean&nbsp;hasGracePeriod()</pre>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code>
<pre>
The grace period specifies how long to wait before forcibly
killing the task. It is recommended to attempt to gracefully
kill the task (and send TASK_KILLING) to indicate that the
graceful kill is in progress. Once the grace period elapses,
if the task has not terminated, a forcible kill should occur.
The task should not assume that it will always be allotted
the full grace period. For example, the executor may be
shutdown more quickly by the agent, or failures / forcible
terminations may occur.
</pre></div>
</li>
</ul>
<a name="getGracePeriod()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGracePeriod</h4>
<pre><a href="../../../org/apache/mesos/Protos.DurationInfo.html" title="class in org.apache.mesos">Protos.DurationInfo</a>&nbsp;getGracePeriod()</pre>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code>
<pre>
The grace period specifies how long to wait before forcibly
killing the task. It is recommended to attempt to gracefully
kill the task (and send TASK_KILLING) to indicate that the
graceful kill is in progress. Once the grace period elapses,
if the task has not terminated, a forcible kill should occur.
The task should not assume that it will always be allotted
the full grace period. For example, the executor may be
shutdown more quickly by the agent, or failures / forcible
terminations may occur.
</pre></div>
</li>
</ul>
<a name="getGracePeriodOrBuilder()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getGracePeriodOrBuilder</h4>
<pre><a href="../../../org/apache/mesos/Protos.DurationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.DurationInfoOrBuilder</a>&nbsp;getGracePeriodOrBuilder()</pre>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code>
<pre>
The grace period specifies how long to wait before forcibly
killing the task. It is recommended to attempt to gracefully
kill the task (and send TASK_KILLING) to indicate that the
graceful kill is in progress. Once the grace period elapses,
if the task has not terminated, a forcible kill should occur.
The task should not assume that it will always be allotted
the full grace period. For example, the executor may be
shutdown more quickly by the agent, or failures / forcible
terminations may occur.
</pre></div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/apache/mesos/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="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.Label.html" title="class in org.apache.mesos"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/mesos/Protos.KillPolicyOrBuilder.html" target="_top">Frames</a></li>
<li><a href="Protos.KillPolicyOrBuilder.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 ======= -->
</body>
</html>