public class ContextConfiguration extends ConfigurationModuleBuilder
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ContextConfiguration.DriverReconnect  | 
| Modifier and Type | Field and Description | 
|---|---|
static ConfigurationModule | 
CONF
A ConfigurationModule for context. 
 | 
static RequiredParameter<String> | 
IDENTIFIER
The identifier of the Context. 
 | 
static OptionalImpl<EventHandler<ContextStart>> | 
ON_CONTEXT_STARTED
Event handler for context start. 
 | 
static OptionalImpl<EventHandler<ContextStop>> | 
ON_CONTEXT_STOP
Event handler for context stop. 
 | 
static OptionalImpl<DriverConnection> | 
ON_DRIVER_RECONNECT
Implementation for reconnecting to driver after driver restart 
 | 
static OptionalImpl<ContextMessageHandler> | 
ON_MESSAGE
Driver has sent the context a message, and this parameter is used to register a handler
 on the context for processing that message. 
 | 
static OptionalImpl<ContextMessageSource> | 
ON_SEND_MESSAGE
Source of messages to be called whenever the evaluator is about to make a heartbeat. 
 | 
static OptionalImpl<EventHandler<TaskStart>> | 
ON_TASK_STARTED
Event handlers to be informed right before a Task enters its call() method. 
 | 
static OptionalImpl<EventHandler<TaskStop>> | 
ON_TASK_STOP
Event handlers to be informed right after a Task exits its call() method. 
 | 
| Constructor and Description | 
|---|
ContextConfiguration()  | 
bind, bindConstructor, bindConstructor, bindImplementation, bindImplementation, bindImplementation, bindList, bindList, bindList, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindNamedParameter, bindSetEntry, bindSetEntry, bindSetEntry, bindSetEntry, build, mergepublic static final RequiredParameter<String> IDENTIFIER
public static final OptionalImpl<EventHandler<ContextStart>> ON_CONTEXT_STARTED
public static final OptionalImpl<EventHandler<ContextStop>> ON_CONTEXT_STOP
public static final OptionalImpl<EventHandler<TaskStart>> ON_TASK_STARTED
public static final OptionalImpl<EventHandler<TaskStop>> ON_TASK_STOP
public static final OptionalImpl<ContextMessageSource> ON_SEND_MESSAGE
public static final OptionalImpl<ContextMessageHandler> ON_MESSAGE
public static final OptionalImpl<DriverConnection> ON_DRIVER_RECONNECT
public static final ConfigurationModule CONF
public ContextConfiguration()
Copyright © 2015 The Apache Software Foundation. All rights reserved.