blob: ca38c2b35b8947f83b0e94664853461aaeda40fb [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.KillPolicy</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.KillPolicy";
}
}
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.IpStatisticsOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.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.KillPolicy.html" target="_top">Frames</a></li>
<li><a href="Protos.KillPolicy.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><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mesos</div>
<h2 title="Class Protos.KillPolicy" class="title">Class Protos.KillPolicy</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.google.protobuf.GeneratedMessage</li>
<li>
<ul class="inheritance">
<li>org.apache.mesos.Protos.KillPolicy</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html" title="interface in org.apache.mesos">Protos.KillPolicyOrBuilder</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 final class <span class="strong">Protos.KillPolicy</span>
extends com.google.protobuf.GeneratedMessage
implements <a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html" title="interface in org.apache.mesos">Protos.KillPolicyOrBuilder</a></pre>
<div class="block">Protobuf type <code>mesos.KillPolicy</code>
<pre>
Describes a kill policy for a task. Currently does not express
different policies (e.g. hitting HTTP endpoints), only controls
how long to wait between graceful and forcible task kill:
graceful kill --------------&gt; forcible kill
grace_period
Kill policies are best-effort, because machine failures / forcible
terminations may occur.
NOTE: For executor-less command-based tasks, the kill is performed
via sending a signal to the task process: SIGTERM for the graceful
kill and SIGKILL for the forcible kill. For the docker executor-less
tasks the grace period is passed to 'docker stop --time'.
</pre></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></strong></code>
<div class="block">Protobuf type <code>mesos.KillPolicy</code></div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#GRACE_PERIOD_FIELD_NUMBER">GRACE_PERIOD_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#PARSER">PARSER</a></strong></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="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>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getDefaultInstance()">getDefaultInstance</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getDefaultInstanceForType()">getDefaultInstanceForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static com.google.protobuf.Descriptors.Descriptor</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getDescriptor()">getDescriptor</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<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.KillPolicy.html#getGracePeriod()">getGracePeriod</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<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.KillPolicy.html#getGracePeriodOrBuilder()">getGracePeriodOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getParserForType()">getParserForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getSerializedSize()">getSerializedSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.google.protobuf.UnknownFieldSet</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#getUnknownFields()">getUnknownFields</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#hasGracePeriod()">hasGracePeriod</a></strong>()</code>
<div class="block"><code>optional .mesos.DurationInfo grace_period = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#internalGetFieldAccessorTable()">internalGetFieldAccessorTable</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#isInitialized()">isInitialized</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#newBuilder()">newBuilder</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#newBuilder(org.apache.mesos.Protos.KillPolicy)">newBuilder</a></strong>(<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;prototype)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#newBuilderForType()">newBuilderForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent)">newBuilderForType</a></strong>(com.google.protobuf.GeneratedMessage.BuilderParent&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseDelimitedFrom(java.io.InputStream)">parseDelimitedFrom</a></strong>(java.io.InputStream&nbsp;input)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseDelimitedFrom(java.io.InputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseDelimitedFrom</a></strong>(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(byte[],%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(byte[]&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(com.google.protobuf.ByteString)">parseFrom</a></strong>(com.google.protobuf.ByteString&nbsp;data)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(com.google.protobuf.ByteString,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(com.google.protobuf.ByteString&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(com.google.protobuf.CodedInputStream)">parseFrom</a></strong>(com.google.protobuf.CodedInputStream&nbsp;input)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(com.google.protobuf.CodedInputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#parseFrom(java.io.InputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#toBuilder()">toBuilder</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#writeReplace()">writeReplace</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.KillPolicy.html#writeTo(com.google.protobuf.CodedOutputStream)">writeTo</a></strong>(com.google.protobuf.CodedOutputStream&nbsp;output)</code>&nbsp;</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.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="PARSER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PARSER</h4>
<pre>public static&nbsp;<any> PARSER</pre>
</li>
</ul>
<a name="GRACE_PERIOD_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GRACE_PERIOD_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int GRACE_PERIOD_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.KillPolicy.GRACE_PERIOD_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDefaultInstance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultInstance</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;getDefaultInstance()</pre>
</li>
</ul>
<a name="getDefaultInstanceForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultInstanceForType</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;getDefaultInstanceForType()</pre>
</li>
</ul>
<a name="getUnknownFields()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnknownFields</h4>
<pre>public final&nbsp;com.google.protobuf.UnknownFieldSet&nbsp;getUnknownFields()</pre>
</li>
</ul>
<a name="getDescriptor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public static final&nbsp;com.google.protobuf.Descriptors.Descriptor&nbsp;getDescriptor()</pre>
</li>
</ul>
<a name="internalGetFieldAccessorTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internalGetFieldAccessorTable</h4>
<pre>protected&nbsp;com.google.protobuf.GeneratedMessage.FieldAccessorTable&nbsp;internalGetFieldAccessorTable()</pre>
</li>
</ul>
<a name="getParserForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParserForType</h4>
<pre>public&nbsp;<any>&nbsp;getParserForType()</pre>
</li>
</ul>
<a name="hasGracePeriod()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasGracePeriod</h4>
<pre>public&nbsp;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>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#hasGracePeriod()">hasGracePeriod</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html" title="interface in org.apache.mesos">Protos.KillPolicyOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getGracePeriod()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGracePeriod</h4>
<pre>public&nbsp;<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>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#getGracePeriod()">getGracePeriod</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html" title="interface in org.apache.mesos">Protos.KillPolicyOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getGracePeriodOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGracePeriodOrBuilder</h4>
<pre>public&nbsp;<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>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html#getGracePeriodOrBuilder()">getGracePeriodOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.KillPolicyOrBuilder.html" title="interface in org.apache.mesos">Protos.KillPolicyOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="isInitialized()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInitialized</h4>
<pre>public final&nbsp;boolean&nbsp;isInitialized()</pre>
</li>
</ul>
<a name="writeTo(com.google.protobuf.CodedOutputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeTo</h4>
<pre>public&nbsp;void&nbsp;writeTo(com.google.protobuf.CodedOutputStream&nbsp;output)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="getSerializedSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSerializedSize</h4>
<pre>public&nbsp;int&nbsp;getSerializedSize()</pre>
</li>
</ul>
<a name="writeReplace()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeReplace</h4>
<pre>protected&nbsp;java.lang.Object&nbsp;writeReplace()
throws java.io.ObjectStreamException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.ObjectStreamException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.ByteString)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(com.google.protobuf.ByteString&nbsp;data)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(com.google.protobuf.ByteString&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(byte[], com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(byte[]&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(java.io.InputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseDelimitedFrom(java.io.InputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDelimitedFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseDelimitedFrom(java.io.InputStream&nbsp;input)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseDelimitedFrom(java.io.InputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDelimitedFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseDelimitedFrom(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.CodedInputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(com.google.protobuf.CodedInputStream&nbsp;input)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;parseFrom(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="newBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilder</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a>&nbsp;newBuilder()</pre>
</li>
</ul>
<a name="newBuilderForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilderForType</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a>&nbsp;newBuilderForType()</pre>
</li>
</ul>
<a name="newBuilder(org.apache.mesos.Protos.KillPolicy)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilder</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a>&nbsp;newBuilder(<a href="../../../org/apache/mesos/Protos.KillPolicy.html" title="class in org.apache.mesos">Protos.KillPolicy</a>&nbsp;prototype)</pre>
</li>
</ul>
<a name="toBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a>&nbsp;toBuilder()</pre>
</li>
</ul>
<a name="newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>newBuilderForType</h4>
<pre>protected&nbsp;<a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.html" title="class in org.apache.mesos">Protos.KillPolicy.Builder</a>&nbsp;newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent&nbsp;parent)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><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.IpStatisticsOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.KillPolicy.Builder.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.KillPolicy.html" target="_top">Frames</a></li>
<li><a href="Protos.KillPolicy.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><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>