public final class DriverRestartConfiguration extends ConfigurationModuleBuilder
Modifier and Type | Field and Description |
---|---|
static ConfigurationModule |
CONF |
static OptionalParameter<Integer> |
DRIVER_RESTART_EVALUATOR_RECOVERY_SECONDS
The amount of time in seconds the driver waits for evaluators to report back on restart.
|
static OptionalParameter<Boolean> |
FAIL_DRIVER_ON_EVALUATOR_LOG_ERROR
Parameter to determine whether the driver should fail or continue if there are evaluator
preservation log failures.
|
static OptionalImpl<EventHandler<DriverRestartCompleted>> |
ON_DRIVER_RESTART_COMPLETED
Event handler for the event of driver restart completion, default to logging if not bound.
|
static OptionalImpl<EventHandler<ActiveContext>> |
ON_DRIVER_RESTART_CONTEXT_ACTIVE
Event handler for active context when driver restart.
|
static OptionalImpl<EventHandler<FailedEvaluator>> |
ON_DRIVER_RESTART_EVALUATOR_FAILED
Event handler for the event of driver restart completion, default to logging if not bound.
|
static OptionalImpl<EventHandler<RunningTask>> |
ON_DRIVER_RESTART_TASK_RUNNING
Event handler for running tasks in previous evaluator, when driver restarted.
|
static OptionalImpl<EventHandler<DriverRestarted>> |
ON_DRIVER_RESTARTED
This event is fired in place of the ON_DRIVER_STARTED when the Driver is in fact restarted after failure.
|
bind, bindConstructor, bindConstructor, bindImplementation, bindImplementation, bindImplementation, bindList, bindList, bindList, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindSetEntry, bindSetEntry, bindSetEntry, bindSetEntry, build, merge
public static final OptionalImpl<EventHandler<DriverRestarted>> ON_DRIVER_RESTARTED
public static final OptionalImpl<EventHandler<RunningTask>> ON_DRIVER_RESTART_TASK_RUNNING
public static final OptionalImpl<EventHandler<ActiveContext>> ON_DRIVER_RESTART_CONTEXT_ACTIVE
public static final OptionalImpl<EventHandler<DriverRestartCompleted>> ON_DRIVER_RESTART_COMPLETED
public static final OptionalImpl<EventHandler<FailedEvaluator>> ON_DRIVER_RESTART_EVALUATOR_FAILED
public static final OptionalParameter<Integer> DRIVER_RESTART_EVALUATOR_RECOVERY_SECONDS
public static final OptionalParameter<Boolean> FAIL_DRIVER_ON_EVALUATOR_LOG_ERROR
public static final ConfigurationModule CONF
Copyright © 2016 The Apache Software Foundation. All rights reserved.