public class MesosWorker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
LOG |
Constructor and Description |
---|
MesosWorker() |
Modifier and Type | Method and Description |
---|---|
void |
disconnected(ExecutorDriver executorDriver) |
void |
error(ExecutorDriver executorDriver,
java.lang.String s) |
void |
frameworkMessage(ExecutorDriver executorDriver,
byte[] bytes) |
static void |
initLogging(Config cnfg,
java.lang.String logDir,
java.lang.String logFileName)
Initialize the logger
|
void |
killTask(ExecutorDriver executorDriver,
Protos.TaskID taskID) |
void |
launchTask(ExecutorDriver executorDriver,
Protos.TaskInfo taskInfo) |
static void |
main(java.lang.String[] args) |
void |
registered(ExecutorDriver executorDriver,
Protos.ExecutorInfo executorInfo,
Protos.FrameworkInfo frameworkInfo,
Protos.SlaveInfo slaveInfo) |
void |
reregistered(ExecutorDriver executorDriver,
Protos.SlaveInfo slaveInfo) |
void |
shutdown(ExecutorDriver executorDriver) |
public void registered(ExecutorDriver executorDriver, Protos.ExecutorInfo executorInfo, Protos.FrameworkInfo frameworkInfo, Protos.SlaveInfo slaveInfo)
public void reregistered(ExecutorDriver executorDriver, Protos.SlaveInfo slaveInfo)
public void disconnected(ExecutorDriver executorDriver)
public void launchTask(ExecutorDriver executorDriver, Protos.TaskInfo taskInfo)
public void killTask(ExecutorDriver executorDriver, Protos.TaskID taskID)
public void frameworkMessage(ExecutorDriver executorDriver, byte[] bytes)
public void shutdown(ExecutorDriver executorDriver)
public void error(ExecutorDriver executorDriver, java.lang.String s)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void initLogging(Config cnfg, java.lang.String logDir, java.lang.String logFileName)