@Deprecated public class LaunchableMesosWorker extends Object implements LaunchableTask
Translates the abstract ContainerSpecification
into a concrete Mesos-specific Protos.TaskInfo
.
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.mesos.Protos.TaskInfo |
launch(org.apache.mesos.Protos.SlaveID slaveId,
MesosResourceAllocation allocation)
Deprecated.
Construct the TaskInfo needed to launch the worker.
|
org.apache.mesos.Protos.TaskID |
taskID()
Deprecated.
|
com.netflix.fenzo.TaskRequest |
taskRequest()
Deprecated.
Get a representation of the task requirements as understood by Fenzo.
|
String |
toString()
Deprecated.
|
public org.apache.mesos.Protos.TaskID taskID()
public com.netflix.fenzo.TaskRequest taskRequest()
LaunchableTask
taskRequest
in interface LaunchableTask
public org.apache.mesos.Protos.TaskInfo launch(org.apache.mesos.Protos.SlaveID slaveId, MesosResourceAllocation allocation)
launch
in interface LaunchableTask
slaveId
- the assigned slave.allocation
- the resource allocation (available resources).Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.