public static interface Protos.ExecutorInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.CommandInfo |
getCommand()
optional .mesos.CommandInfo command = 7; |
Protos.CommandInfoOrBuilder |
getCommandOrBuilder()
optional .mesos.CommandInfo command = 7; |
Protos.ContainerInfo |
getContainer()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ContainerInfoOrBuilder |
getContainerOrBuilder()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
com.google.protobuf.ByteString |
getData()
This field can be used to pass arbitrary bytes to an executor.
|
Protos.DiscoveryInfo |
getDiscovery()
Service discovery information for the executor.
|
Protos.DiscoveryInfoOrBuilder |
getDiscoveryOrBuilder()
Service discovery information for the executor.
|
Protos.ExecutorID |
getExecutorId()
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
required .mesos.ExecutorID executor_id = 1; |
Protos.FrameworkID |
getFrameworkId()
TODO(benh): Make this required.
|
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
TODO(benh): Make this required.
|
Protos.Labels |
getLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
java.lang.String |
getName()
optional string name = 9; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 9; |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 5; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 5; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 5; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5; |
Protos.DurationInfo |
getShutdownGracePeriod()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.DurationInfoOrBuilder |
getShutdownGracePeriodOrBuilder()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
java.lang.String |
getSource()
Deprecated.
|
com.google.protobuf.ByteString |
getSourceBytes()
Deprecated.
|
Protos.ExecutorInfo.Type |
getType()
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
boolean |
hasCommand()
optional .mesos.CommandInfo command = 7; |
boolean |
hasContainer()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
boolean |
hasData()
This field can be used to pass arbitrary bytes to an executor.
|
boolean |
hasDiscovery()
Service discovery information for the executor.
|
boolean |
hasExecutorId()
required .mesos.ExecutorID executor_id = 1; |
boolean |
hasFrameworkId()
TODO(benh): Make this required.
|
boolean |
hasLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
boolean |
hasName()
optional string name = 9; |
boolean |
hasShutdownGracePeriod()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
boolean |
hasSource()
Deprecated.
|
boolean |
hasType()
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
boolean hasType()
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
Protos.ExecutorInfo.Type getType()
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
boolean hasExecutorId()
required .mesos.ExecutorID executor_id = 1;
Protos.ExecutorID getExecutorId()
required .mesos.ExecutorID executor_id = 1;
Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
required .mesos.ExecutorID executor_id = 1;
boolean hasFrameworkId()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
Protos.FrameworkID getFrameworkId()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
boolean hasCommand()
optional .mesos.CommandInfo command = 7;
Protos.CommandInfo getCommand()
optional .mesos.CommandInfo command = 7;
Protos.CommandInfoOrBuilder getCommandOrBuilder()
optional .mesos.CommandInfo command = 7;
boolean hasContainer()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
Protos.ContainerInfo getContainer()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
Protos.ContainerInfoOrBuilder getContainerOrBuilder()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 5;
Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 5;
int getResourcesCount()
repeated .mesos.Resource resources = 5;
java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5;
Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5;
boolean hasName()
optional string name = 9;
java.lang.String getName()
optional string name = 9;
com.google.protobuf.ByteString getNameBytes()
optional string name = 9;
@Deprecated boolean hasSource()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
@Deprecated java.lang.String getSource()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
@Deprecated com.google.protobuf.ByteString getSourceBytes()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
boolean hasData()
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
com.google.protobuf.ByteString getData()
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
boolean hasDiscovery()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
Protos.DiscoveryInfo getDiscovery()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
boolean hasShutdownGracePeriod()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
Protos.DurationInfo getShutdownGracePeriod()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
Protos.DurationInfoOrBuilder getShutdownGracePeriodOrBuilder()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
boolean hasLabels()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
Protos.Labels getLabels()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
Protos.LabelsOrBuilder getLabelsOrBuilder()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;