NAME

Mesos::ExecutorDriver - perl interface to MesosExecutorDriver

ATTRIBUTES

autoflush

Enable or disable autoflush for STDOUT. By default autoflush is enabled while the driver is running, and returned to its previous state when the driver has stopped. This is to ensure that STDOUT gets logged in Mesos. Otherwise, perl defaults to using block buffering on STDOUT, and there are no guarantees it will be flushed before the driver shuts down.

dispatcher

Either a Mesos::Dispatcher instance, or the short name of a dispatcher to instantiate(such as AnyEvent). The short name cannot be used if the dispatcher has required arguments.

Defaults to AnyEvent

executor

A Mesos::Executor instance

METHODS

new(%args)
my $driver = Mesos::ExecutorDriver->new(%args);

    %args
        REQUIRED executor
        OPTIONAL dispatcher
new(executor => $executor)
Status start()
Status stop()
Status abort()
Status join()
Status run()
Status sendStatusUpdate($status)
Status sendFrameworkMessage($data)