| <!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:12 UTC 2017 --> |
| <title>Protos.FrameworkInfo.Capability.Type</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.FrameworkInfo.Capability.Type"; |
| } |
| } |
| 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.FrameworkInfo.Capability.Builder.html" title="class in org.apache.mesos"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/mesos/Protos.FrameworkInfo.CapabilityOrBuilder.html" title="interface 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.FrameworkInfo.Capability.Type.html" target="_top">Frames</a></li> |
| <li><a href="Protos.FrameworkInfo.Capability.Type.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: </li> |
| <li>Nested | </li> |
| <li><a href="#enum_constant_summary">Enum Constants</a> | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum_constant_detail">Enum Constants</a> | </li> |
| <li><a href="#field_detail">Field</a> | </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="Enum Protos.FrameworkInfo.Capability.Type" class="title">Enum Protos.FrameworkInfo.Capability.Type</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>java.lang.Enum<<a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a>></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.mesos.Protos.FrameworkInfo.Capability.Type</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.io.Serializable, java.lang.Comparable<<a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a>></dd> |
| </dl> |
| <dl> |
| <dt>Enclosing class:</dt> |
| <dd><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.html" title="class in org.apache.mesos">Protos.FrameworkInfo.Capability</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public static enum <span class="strong">Protos.FrameworkInfo.Capability.Type</span> |
| extends java.lang.Enum<<a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a>></pre> |
| <div class="block">Protobuf enum <code>mesos.FrameworkInfo.Capability.Type</code></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="enum_constant_summary"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> |
| <caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Enum Constant and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#GPU_RESOURCES">GPU_RESOURCES</a></strong></code> |
| <div class="block"><code>GPU_RESOURCES = 3;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#MULTI_ROLE">MULTI_ROLE</a></strong></code> |
| <div class="block"><code>MULTI_ROLE = 6;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#PARTITION_AWARE">PARTITION_AWARE</a></strong></code> |
| <div class="block"><code>PARTITION_AWARE = 5;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#REVOCABLE_RESOURCES">REVOCABLE_RESOURCES</a></strong></code> |
| <div class="block"><code>REVOCABLE_RESOURCES = 1;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#SHARED_RESOURCES">SHARED_RESOURCES</a></strong></code> |
| <div class="block"><code>SHARED_RESOURCES = 4;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#TASK_KILLING_STATE">TASK_KILLING_STATE</a></strong></code> |
| <div class="block"><code>TASK_KILLING_STATE = 2;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#UNKNOWN">UNKNOWN</a></strong></code> |
| <div class="block"><code>UNKNOWN = 0;</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"> </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.FrameworkInfo.Capability.Type.html#GPU_RESOURCES_VALUE">GPU_RESOURCES_VALUE</a></strong></code> |
| <div class="block"><code>GPU_RESOURCES = 3;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#MULTI_ROLE_VALUE">MULTI_ROLE_VALUE</a></strong></code> |
| <div class="block"><code>MULTI_ROLE = 6;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#PARTITION_AWARE_VALUE">PARTITION_AWARE_VALUE</a></strong></code> |
| <div class="block"><code>PARTITION_AWARE = 5;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#REVOCABLE_RESOURCES_VALUE">REVOCABLE_RESOURCES_VALUE</a></strong></code> |
| <div class="block"><code>REVOCABLE_RESOURCES = 1;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#SHARED_RESOURCES_VALUE">SHARED_RESOURCES_VALUE</a></strong></code> |
| <div class="block"><code>SHARED_RESOURCES = 4;</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#TASK_KILLING_STATE_VALUE">TASK_KILLING_STATE_VALUE</a></strong></code> |
| <div class="block"><code>TASK_KILLING_STATE = 2;</code></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#UNKNOWN_VALUE">UNKNOWN_VALUE</a></strong></code> |
| <div class="block"><code>UNKNOWN = 0;</code></div> |
| </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"> </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 com.google.protobuf.Descriptors.EnumDescriptor</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#getDescriptor()">getDescriptor</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>com.google.protobuf.Descriptors.EnumDescriptor</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#getDescriptorForType()">getDescriptorForType</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#getNumber()">getNumber</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>com.google.protobuf.Descriptors.EnumValueDescriptor</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#getValueDescriptor()">getValueDescriptor</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <any></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#internalGetValueMap()">internalGetValueMap</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor)">valueOf</a></strong>(com.google.protobuf.Descriptors.EnumValueDescriptor desc)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#valueOf(int)">valueOf</a></strong>(int value)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html#values()">values</a></strong>()</code> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Enum</h3> |
| <code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>getClass, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ ENUM CONSTANT DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="enum_constant_detail"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Detail</h3> |
| <a name="UNKNOWN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>UNKNOWN</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> UNKNOWN</pre> |
| <div class="block"><code>UNKNOWN = 0;</code> |
| |
| <pre> |
| This must be the first enum value in this list, to |
| ensure that if 'type' is not set, the default value |
| is UNKNOWN. This enables enum values to be added |
| in a backwards-compatible way. See: MESOS-4997. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="REVOCABLE_RESOURCES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REVOCABLE_RESOURCES</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> REVOCABLE_RESOURCES</pre> |
| <div class="block"><code>REVOCABLE_RESOURCES = 1;</code> |
| |
| <pre> |
| Receive offers with revocable resources. See 'Resource' |
| message for details. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="TASK_KILLING_STATE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TASK_KILLING_STATE</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> TASK_KILLING_STATE</pre> |
| <div class="block"><code>TASK_KILLING_STATE = 2;</code> |
| |
| <pre> |
| Receive the TASK_KILLING TaskState when a task is being |
| killed by an executor. The executor will examine this |
| capability to determine whether it can send TASK_KILLING. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="GPU_RESOURCES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GPU_RESOURCES</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> GPU_RESOURCES</pre> |
| <div class="block"><code>GPU_RESOURCES = 3;</code> |
| |
| <pre> |
| Indicates whether the framework is aware of GPU resources. |
| Frameworks that are aware of GPU resources are expected to |
| avoid placing non-GPU workloads on GPU agents, in order |
| to avoid occupying a GPU agent and preventing GPU workloads |
| from running! Currently, if a framework is unaware of GPU |
| resources, it will not be offered *any* of the resources on |
| an agent with GPUs. This restriction is in place because we |
| do not have a revocation mechanism that ensures GPU workloads |
| can evict GPU agent occupants if necessary. |
| TODO(bmahler): As we add revocation we can relax the |
| restriction here. See MESOS-5634 for more information. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="SHARED_RESOURCES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SHARED_RESOURCES</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> SHARED_RESOURCES</pre> |
| <div class="block"><code>SHARED_RESOURCES = 4;</code> |
| |
| <pre> |
| Receive offers with resources that are shared. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="PARTITION_AWARE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARTITION_AWARE</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> PARTITION_AWARE</pre> |
| <div class="block"><code>PARTITION_AWARE = 5;</code> |
| |
| <pre> |
| Indicates that (1) the framework is prepared to handle the |
| following TaskStates: TASK_UNREACHABLE, TASK_DROPPED, |
| TASK_GONE, TASK_GONE_BY_OPERATOR, and TASK_UNKNOWN, and (2) |
| the framework will assume responsibility for managing |
| partitioned tasks that reregister with the master. |
| Frameworks that enable this capability can define how they |
| would like to handle partitioned tasks. Frameworks will |
| receive TASK_UNREACHABLE for tasks on agents that are |
| partitioned from the master. If/when a partitioned agent |
| reregisters, tasks on the agent that were started by |
| PARTITION_AWARE frameworks will not killed. |
| Without this capability, frameworks will receive TASK_LOST |
| for tasks on partitioned agents; such tasks will be killed by |
| Mesos when the agent reregisters (unless the master has |
| failed over). |
| </pre></div> |
| </li> |
| </ul> |
| <a name="MULTI_ROLE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MULTI_ROLE</h4> |
| <pre>public static final <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> MULTI_ROLE</pre> |
| <div class="block"><code>MULTI_ROLE = 6;</code> |
| |
| <pre> |
| This expresses the ability for the framework to be |
| "multi-tenant" via using the newly introduced `roles` |
| field, and examining `Offer.allocation_info` to determine |
| which role the offers are being made to. We also |
| expect that "single-tenant" schedulers eventually |
| provide this and move away from the deprecated |
| `role` field. |
| NOTE: The implementation for supporting multiple |
| roles is not complete, DO NOT USE THIS. |
| </pre></div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="UNKNOWN_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>UNKNOWN_VALUE</h4> |
| <pre>public static final int UNKNOWN_VALUE</pre> |
| <div class="block"><code>UNKNOWN = 0;</code> |
| |
| <pre> |
| This must be the first enum value in this list, to |
| ensure that if 'type' is not set, the default value |
| is UNKNOWN. This enables enum values to be added |
| in a backwards-compatible way. See: MESOS-4997. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.UNKNOWN_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="REVOCABLE_RESOURCES_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REVOCABLE_RESOURCES_VALUE</h4> |
| <pre>public static final int REVOCABLE_RESOURCES_VALUE</pre> |
| <div class="block"><code>REVOCABLE_RESOURCES = 1;</code> |
| |
| <pre> |
| Receive offers with revocable resources. See 'Resource' |
| message for details. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.REVOCABLE_RESOURCES_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="TASK_KILLING_STATE_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TASK_KILLING_STATE_VALUE</h4> |
| <pre>public static final int TASK_KILLING_STATE_VALUE</pre> |
| <div class="block"><code>TASK_KILLING_STATE = 2;</code> |
| |
| <pre> |
| Receive the TASK_KILLING TaskState when a task is being |
| killed by an executor. The executor will examine this |
| capability to determine whether it can send TASK_KILLING. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.TASK_KILLING_STATE_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="GPU_RESOURCES_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GPU_RESOURCES_VALUE</h4> |
| <pre>public static final int GPU_RESOURCES_VALUE</pre> |
| <div class="block"><code>GPU_RESOURCES = 3;</code> |
| |
| <pre> |
| Indicates whether the framework is aware of GPU resources. |
| Frameworks that are aware of GPU resources are expected to |
| avoid placing non-GPU workloads on GPU agents, in order |
| to avoid occupying a GPU agent and preventing GPU workloads |
| from running! Currently, if a framework is unaware of GPU |
| resources, it will not be offered *any* of the resources on |
| an agent with GPUs. This restriction is in place because we |
| do not have a revocation mechanism that ensures GPU workloads |
| can evict GPU agent occupants if necessary. |
| TODO(bmahler): As we add revocation we can relax the |
| restriction here. See MESOS-5634 for more information. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.GPU_RESOURCES_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="SHARED_RESOURCES_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SHARED_RESOURCES_VALUE</h4> |
| <pre>public static final int SHARED_RESOURCES_VALUE</pre> |
| <div class="block"><code>SHARED_RESOURCES = 4;</code> |
| |
| <pre> |
| Receive offers with resources that are shared. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.SHARED_RESOURCES_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="PARTITION_AWARE_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARTITION_AWARE_VALUE</h4> |
| <pre>public static final int PARTITION_AWARE_VALUE</pre> |
| <div class="block"><code>PARTITION_AWARE = 5;</code> |
| |
| <pre> |
| Indicates that (1) the framework is prepared to handle the |
| following TaskStates: TASK_UNREACHABLE, TASK_DROPPED, |
| TASK_GONE, TASK_GONE_BY_OPERATOR, and TASK_UNKNOWN, and (2) |
| the framework will assume responsibility for managing |
| partitioned tasks that reregister with the master. |
| Frameworks that enable this capability can define how they |
| would like to handle partitioned tasks. Frameworks will |
| receive TASK_UNREACHABLE for tasks on agents that are |
| partitioned from the master. If/when a partitioned agent |
| reregisters, tasks on the agent that were started by |
| PARTITION_AWARE frameworks will not killed. |
| Without this capability, frameworks will receive TASK_LOST |
| for tasks on partitioned agents; such tasks will be killed by |
| Mesos when the agent reregisters (unless the master has |
| failed over). |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.PARTITION_AWARE_VALUE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MULTI_ROLE_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MULTI_ROLE_VALUE</h4> |
| <pre>public static final int MULTI_ROLE_VALUE</pre> |
| <div class="block"><code>MULTI_ROLE = 6;</code> |
| |
| <pre> |
| This expresses the ability for the framework to be |
| "multi-tenant" via using the newly introduced `roles` |
| field, and examining `Offer.allocation_info` to determine |
| which role the offers are being made to. We also |
| expect that "single-tenant" schedulers eventually |
| provide this and move away from the deprecated |
| `role` field. |
| NOTE: The implementation for supporting multiple |
| roles is not complete, DO NOT USE THIS. |
| </pre></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.FrameworkInfo.Capability.Type.MULTI_ROLE_VALUE">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="values()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre>public static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a>[] values()</pre> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared. This method may be used to iterate |
| over the constants as follows: |
| <pre> |
| for (Protos.FrameworkInfo.Capability.Type c : Protos.FrameworkInfo.Capability.Type.values()) |
| System.out.println(c); |
| </pre></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl> |
| </li> |
| </ul> |
| <a name="valueOf(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valueOf</h4> |
| <pre>public static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> valueOf(java.lang.String name)</pre> |
| <div class="block">Returns the enum constant of this type with the specified name. |
| The string must match <i>exactly</i> an identifier used to declare an |
| enum constant in this type. (Extraneous whitespace characters are |
| not permitted.)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd> |
| <dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl> |
| </li> |
| </ul> |
| <a name="getNumber()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNumber</h4> |
| <pre>public final int getNumber()</pre> |
| </li> |
| </ul> |
| <a name="valueOf(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valueOf</h4> |
| <pre>public static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> valueOf(int value)</pre> |
| </li> |
| </ul> |
| <a name="internalGetValueMap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>internalGetValueMap</h4> |
| <pre>public static <any> internalGetValueMap()</pre> |
| </li> |
| </ul> |
| <a name="getValueDescriptor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueDescriptor</h4> |
| <pre>public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()</pre> |
| </li> |
| </ul> |
| <a name="getDescriptorForType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescriptorForType</h4> |
| <pre>public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()</pre> |
| </li> |
| </ul> |
| <a name="getDescriptor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescriptor</h4> |
| <pre>public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()</pre> |
| </li> |
| </ul> |
| <a name="valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>valueOf</h4> |
| <pre>public static <a href="../../../org/apache/mesos/Protos.FrameworkInfo.Capability.Type.html" title="enum in org.apache.mesos">Protos.FrameworkInfo.Capability.Type</a> valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)</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.FrameworkInfo.Capability.Builder.html" title="class in org.apache.mesos"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/mesos/Protos.FrameworkInfo.CapabilityOrBuilder.html" title="interface 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.FrameworkInfo.Capability.Type.html" target="_top">Frames</a></li> |
| <li><a href="Protos.FrameworkInfo.Capability.Type.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: </li> |
| <li>Nested | </li> |
| <li><a href="#enum_constant_summary">Enum Constants</a> | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum_constant_detail">Enum Constants</a> | </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |