public static interface Protos.ResourceUsage.ExecutorOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Resource |
getAllocated(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
int |
getAllocatedCount()
This includes resources used by the executor itself
as well as its active tasks.
|
java.util.List<Protos.Resource> |
getAllocatedList()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceOrBuilder |
getAllocatedOrBuilder(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getAllocatedOrBuilderList()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ContainerID |
getContainerId()
The container id for the executor specified in the executor_info field.
|
Protos.ContainerIDOrBuilder |
getContainerIdOrBuilder()
The container id for the executor specified in the executor_info field.
|
Protos.ExecutorInfo |
getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ExecutorInfoOrBuilder |
getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceStatistics |
getStatistics()
Current resource usage.
|
Protos.ResourceStatisticsOrBuilder |
getStatisticsOrBuilder()
Current resource usage.
|
Protos.ResourceUsage.Executor.Task |
getTasks(int index)
Non-terminal tasks.
|
int |
getTasksCount()
Non-terminal tasks.
|
java.util.List<Protos.ResourceUsage.Executor.Task> |
getTasksList()
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.TaskOrBuilder |
getTasksOrBuilder(int index)
Non-terminal tasks.
|
java.util.List<? extends Protos.ResourceUsage.Executor.TaskOrBuilder> |
getTasksOrBuilderList()
Non-terminal tasks.
|
boolean |
hasContainerId()
The container id for the executor specified in the executor_info field.
|
boolean |
hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
boolean |
hasStatistics()
Current resource usage.
|
boolean hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;
Protos.ExecutorInfo getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;
Protos.ExecutorInfoOrBuilder getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1;
java.util.List<Protos.Resource> getAllocatedList()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
Protos.Resource getAllocated(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
int getAllocatedCount()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
java.util.List<? extends Protos.ResourceOrBuilder> getAllocatedOrBuilderList()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
Protos.ResourceOrBuilder getAllocatedOrBuilder(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
boolean hasStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
Protos.ResourceStatistics getStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
Protos.ResourceStatisticsOrBuilder getStatisticsOrBuilder()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
boolean hasContainerId()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
Protos.ContainerID getContainerId()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
Protos.ContainerIDOrBuilder getContainerIdOrBuilder()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
java.util.List<Protos.ResourceUsage.Executor.Task> getTasksList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
Protos.ResourceUsage.Executor.Task getTasks(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
int getTasksCount()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
java.util.List<? extends Protos.ResourceUsage.Executor.TaskOrBuilder> getTasksOrBuilderList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
Protos.ResourceUsage.Executor.TaskOrBuilder getTasksOrBuilder(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;