public interface ActiveContext extends Identifiable, AutoCloseable, ContextBase, TaskSubmittable, ContextSubmittable
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
void | 
sendMessage(byte[] message)
Send the active context the message, which will be delivered to all registered
  
ContextMessageHandler, for this context. | 
void | 
submitContext(Configuration contextConfiguration)
Submit a Context. 
 | 
void | 
submitContextAndService(Configuration contextConfiguration,
                                              Configuration serviceConfiguration)
Submit a Context and a Service Configuration. 
 | 
void | 
submitTask(Configuration taskConf)
Submits a Task (encoded in the Configuration) for execution. 
 | 
getEvaluatorDescriptor, getEvaluatorId, getId, getParentIdvoid close()
close in interface AutoCloseablevoid submitTask(Configuration taskConf)
TaskSubmittablesubmitTask in interface TaskSubmittabletaskConf - the Configuration. See TaskConfiguration for detailsvoid submitContext(Configuration contextConfiguration)
ContextSubmittablesubmitContext in interface ContextSubmittablecontextConfiguration - the Configuration of the EvaluatorContext. See ContextConfiguration for details.void submitContextAndService(Configuration contextConfiguration, Configuration serviceConfiguration)
ContextSubmittablesubmitContextAndService in interface ContextSubmittablecontextConfiguration - the Configuration of the EvaluatorContext. See ContextConfiguration for details.serviceConfiguration - the Configuration for the Services. See ServiceConfiguration for details.void sendMessage(byte[] message)
ContextMessageHandler, for this context.message - Copyright © 2015 The Apache Software Foundation. All rights reserved.