public final class DriverConfiguration extends ConfigurationModuleBuilder
Modifier and Type | Field and Description |
---|---|
static ConfigurationModule |
CONF
ConfigurationModule to fill out to get a legal Driver Configuration.
|
static OptionalParameter<String> |
DRIVER_IDENTIFIER
Identifies the driver and therefore the JOB.
|
static OptionalParameter<String> |
DRIVER_JOB_SUBMISSION_DIRECTORY
Job submission directory to be used by driver.
|
static OptionalParameter<Integer> |
DRIVER_MEMORY
The amount of memory to be allocated for the Driver.
|
static OptionalParameter<Integer> |
EVALUATOR_DISPATCHER_THREADS
Number of threads allocated per evaluator to dispatch events from this Evaluator.
|
static OptionalParameter<String> |
GLOBAL_FILES
Files to be made available on the Driver and all Evaluators.
|
static OptionalParameter<String> |
GLOBAL_LIBRARIES
Libraries to be made available on the Driver and all Evaluators.
|
static OptionalParameter<String> |
LOCAL_FILES
Files to be made available on the Driver only.
|
static OptionalParameter<String> |
LOCAL_LIBRARIES
Libraries to be made available on the Driver only.
|
static OptionalParameter<Integer> |
MAX_APPLICATION_SUBMISSIONS
The number of submissions that the resource manager will attempt to submit the application.
|
static OptionalImpl<EventHandler<Void>> |
ON_CLIENT_CLOSED
Event handler for close messages sent by the client.
|
static OptionalImpl<EventHandler<byte[]>> |
ON_CLIENT_CLOSED_MESSAGE
Event handler for close messages sent by the client.
|
static OptionalImpl<EventHandler<byte[]>> |
ON_CLIENT_MESSAGE
Event handler for client messages.
|
static OptionalImpl<EventHandler<ActiveContext>> |
ON_CONTEXT_ACTIVE
Event handler for active context.
|
static OptionalImpl<EventHandler<ClosedContext>> |
ON_CONTEXT_CLOSED
Event handler for closed context.
|
static OptionalImpl<EventHandler<FailedContext>> |
ON_CONTEXT_FAILED
Event handler for closed context.
|
static OptionalImpl<EventHandler<ContextMessage>> |
ON_CONTEXT_MESSAGE
Event handler for context messages.
|
static RequiredImpl<EventHandler<StartTime>> |
ON_DRIVER_STARTED
The event handler invoked right after the driver boots up.
|
static OptionalImpl<EventHandler<StopTime>> |
ON_DRIVER_STOP
The event handler invoked right before the driver shuts down.
|
static OptionalImpl<EventHandler<AllocatedEvaluator>> |
ON_EVALUATOR_ALLOCATED
Event handler for allocated evaluators.
|
static OptionalImpl<EventHandler<CompletedEvaluator>> |
ON_EVALUATOR_COMPLETED
Event handler for completed evaluators.
|
static OptionalImpl<EventHandler<FailedEvaluator>> |
ON_EVALUATOR_FAILED
Event handler for failed evaluators.
|
static OptionalImpl<EventHandler<CompletedTask>> |
ON_TASK_COMPLETED
Event handler for completed tasks.
|
static OptionalImpl<EventHandler<FailedTask>> |
ON_TASK_FAILED
Event handler for failed tasks.
|
static OptionalImpl<EventHandler<TaskMessage>> |
ON_TASK_MESSAGE
Event handler for task messages.
|
static OptionalImpl<EventHandler<RunningTask>> |
ON_TASK_RUNNING
Event handler for running tasks.
|
static OptionalImpl<EventHandler<SuspendedTask>> |
ON_TASK_SUSPENDED
Event handler for suspended tasks.
|
static OptionalImpl<ProgressProvider> |
PROGRESS_PROVIDER
Progress provider.
|
Constructor and Description |
---|
DriverConfiguration() |
bind, bindConstructor, bindConstructor, bindImplementation, bindImplementation, bindImplementation, bindList, bindList, bindList, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindSetEntry, bindSetEntry, bindSetEntry, bindSetEntry, build, merge
public static final OptionalParameter<String> DRIVER_IDENTIFIER
public static final OptionalParameter<Integer> DRIVER_MEMORY
public static final OptionalParameter<String> GLOBAL_FILES
public static final OptionalParameter<String> GLOBAL_LIBRARIES
public static final OptionalParameter<String> LOCAL_FILES
public static final OptionalParameter<String> LOCAL_LIBRARIES
public static final OptionalParameter<String> DRIVER_JOB_SUBMISSION_DIRECTORY
public static final RequiredImpl<EventHandler<StartTime>> ON_DRIVER_STARTED
public static final OptionalImpl<EventHandler<StopTime>> ON_DRIVER_STOP
public static final OptionalImpl<EventHandler<AllocatedEvaluator>> ON_EVALUATOR_ALLOCATED
public static final OptionalImpl<EventHandler<CompletedEvaluator>> ON_EVALUATOR_COMPLETED
public static final OptionalImpl<EventHandler<FailedEvaluator>> ON_EVALUATOR_FAILED
public static final OptionalImpl<EventHandler<TaskMessage>> ON_TASK_MESSAGE
public static final OptionalImpl<EventHandler<CompletedTask>> ON_TASK_COMPLETED
public static final OptionalImpl<EventHandler<FailedTask>> ON_TASK_FAILED
public static final OptionalImpl<EventHandler<RunningTask>> ON_TASK_RUNNING
public static final OptionalImpl<EventHandler<SuspendedTask>> ON_TASK_SUSPENDED
public static final OptionalImpl<EventHandler<byte[]>> ON_CLIENT_MESSAGE
public static final OptionalImpl<EventHandler<Void>> ON_CLIENT_CLOSED
public static final OptionalImpl<EventHandler<byte[]>> ON_CLIENT_CLOSED_MESSAGE
public static final OptionalImpl<EventHandler<ActiveContext>> ON_CONTEXT_ACTIVE
public static final OptionalImpl<EventHandler<ClosedContext>> ON_CONTEXT_CLOSED
public static final OptionalImpl<EventHandler<FailedContext>> ON_CONTEXT_FAILED
public static final OptionalImpl<EventHandler<ContextMessage>> ON_CONTEXT_MESSAGE
public static final OptionalImpl<ProgressProvider> PROGRESS_PROVIDER
ProgressProvider
.public static final OptionalParameter<Integer> EVALUATOR_DISPATCHER_THREADS
public static final OptionalParameter<Integer> MAX_APPLICATION_SUBMISSIONS
public static final ConfigurationModule CONF
public DriverConfiguration()
Copyright © 2016 The Apache Software Foundation. All rights reserved.