public final class AllocatedEvaluatorBridge extends NativeBridge implements Identifiable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the Java AllocatedEvaluator.
|
String |
getEvaluatorDescriptorString()
Gets the serialized evaluator descriptor from the Java allocated evaluator.
|
String |
getId()
Returns an identifier of this object.
|
String |
getNameServerInfo() |
void |
submitContextAndServiceAndTaskString(String contextConfigurationString,
String serviceConfigurationString,
String taskConfigurationString)
Bridge function for REEF .NET to submit context, service.
|
void |
submitContextAndServiceString(String contextConfigurationString,
String serviceConfigurationString)
Bridge function for REEF .NET to submit context and service configurations for the allocated evaluator.
|
void |
submitContextAndTaskString(String contextConfigurationString,
String taskConfigurationString)
Bridge function for REEF .NET to submit context and task configurations for the allocated evaluator.
|
void |
submitContextString(String contextConfigurationString)
Bridge function for REEF .NET to submit context configuration for the allocated evaluator.
|
onError
public void submitContextAndTaskString(String contextConfigurationString, String taskConfigurationString)
contextConfigurationString
- the context configuration from .NET.taskConfigurationString
- the task configuration from .NET.public void submitContextString(String contextConfigurationString)
contextConfigurationString
- the context configuration from .NET.public void submitContextAndServiceString(String contextConfigurationString, String serviceConfigurationString)
contextConfigurationString
- the context configuration from .NET.serviceConfigurationString
- the service configuration from .NET.public void submitContextAndServiceAndTaskString(String contextConfigurationString, String serviceConfigurationString, String taskConfigurationString)
contextConfigurationString
- the context configuration from .NET.serviceConfigurationString
- the service configuration from .NET.taskConfigurationString
- the task configuration from .NET.public String getEvaluatorDescriptorString()
public String getNameServerInfo()
public String getId()
Identifiable
getId
in interface Identifiable
public void close()
close
in interface AutoCloseable
Copyright © 2016 The Apache Software Foundation. All rights reserved.