This project has retired. For details please refer to its Attic page.
Protos.TaskInfoOrBuilder
JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.apache.mesos

Interface Protos.TaskInfoOrBuilder

    • Method Detail

      • hasName

        boolean hasName()
        required string name = 1;
      • getName

        java.lang.String getName()
        required string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        required string name = 1;
      • hasTaskId

        boolean hasTaskId()
        required .mesos.TaskID task_id = 2;
      • getTaskId

        Protos.TaskID getTaskId()
        required .mesos.TaskID task_id = 2;
      • hasSlaveId

        boolean hasSlaveId()
        required .mesos.SlaveID slave_id = 3;
      • getSlaveId

        Protos.SlaveID getSlaveId()
        required .mesos.SlaveID slave_id = 3;
      • getResourcesList

        java.util.List<Protos.Resource> getResourcesList()
        repeated .mesos.Resource resources = 4;
      • getResources

        Protos.Resource getResources(int index)
        repeated .mesos.Resource resources = 4;
      • getResourcesCount

        int getResourcesCount()
        repeated .mesos.Resource resources = 4;
      • getResourcesOrBuilderList

        java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
        repeated .mesos.Resource resources = 4;
      • getResourcesOrBuilder

        Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
        repeated .mesos.Resource resources = 4;
      • hasExecutor

        boolean hasExecutor()
        optional .mesos.ExecutorInfo executor = 5;
      • hasCommand

        boolean hasCommand()
        optional .mesos.CommandInfo command = 7;
      • hasContainer

        boolean hasContainer()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • getContainer

        Protos.ContainerInfo getContainer()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • getContainerOrBuilder

        Protos.ContainerInfoOrBuilder getContainerOrBuilder()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • hasHealthCheck

        boolean hasHealthCheck()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • getHealthCheck

        Protos.HealthCheck getHealthCheck()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • getHealthCheckOrBuilder

        Protos.HealthCheckOrBuilder getHealthCheckOrBuilder()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • hasCheck

        boolean hasCheck()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • getCheck

        Protos.CheckInfo getCheck()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • getCheckOrBuilder

        Protos.CheckInfoOrBuilder getCheckOrBuilder()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • hasKillPolicy

        boolean hasKillPolicy()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • getKillPolicy

        Protos.KillPolicy getKillPolicy()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • getKillPolicyOrBuilder

        Protos.KillPolicyOrBuilder getKillPolicyOrBuilder()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • hasData

        boolean hasData()
        optional bytes data = 6;
      • getData

        com.google.protobuf.ByteString getData()
        optional bytes data = 6;
      • hasLabels

        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 tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • getLabels

        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 tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • getLabelsOrBuilder

        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 tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • hasDiscovery

        boolean hasDiscovery()
         Service discovery information for the task. 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 tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • getDiscovery

        Protos.DiscoveryInfo getDiscovery()
         Service discovery information for the task. 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 tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • getDiscoveryOrBuilder

        Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
         Service discovery information for the task. 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 tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • hasMaxCompletionTime

        boolean hasMaxCompletionTime()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • getMaxCompletionTime

        Protos.DurationInfo getMaxCompletionTime()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • getMaxCompletionTimeOrBuilder

        Protos.DurationInfoOrBuilder getMaxCompletionTimeOrBuilder()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • getLimitsCount

        int getLimitsCount()
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
      • containsLimits

        boolean containsLimits(java.lang.String key)
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
      • getLimitsMap

        java.util.Map<java.lang.String,Protos.Value.Scalar> getLimitsMap()
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
      • getLimitsOrDefault

        Protos.Value.Scalar getLimitsOrDefault(java.lang.String key,
         Protos.Value.Scalar defaultValue)
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
      • getLimitsOrThrow

        Protos.Value.Scalar getLimitsOrThrow(java.lang.String key)
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /