This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Client.API.JobRequestBuilder Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Static Public Member Functions | List of all members
Org.Apache.REEF.Client.API.JobRequestBuilder Class Reference

Public Member Functions

JobRequest Build ()
 Bake the information provided so far and return a IJobSubmission More...
 
JobRequestBuilder AddGlobalFile (string fileName)
 Make this file available to all containers More...
 
JobRequestBuilder AddLocalFile (string fileName)
 Files specific to one container More...
 
JobRequestBuilder AddGlobalAssembly (string fileName)
 Add an assembly to be made available on all containers. More...
 
JobRequestBuilder AddLocalAssembly (string fileName)
 Add an assembly to the driver only. More...
 
JobRequestBuilder AddDriverConfiguration (IConfiguration configuration)
 Add a Configuration to the Driver. More...
 
JobRequestBuilder AddLocalAssemblyForType (Type type)
 Add the assembly needed for the given Type to the driver. More...
 
JobRequestBuilder AddGlobalAssemblyForType (Type type)
 Add the assembly needed for the given Type to all containers. More...
 
JobRequestBuilder SetJobIdentifier (string id)
 Gives the job an identifier. More...
 
JobRequestBuilder SetDriverMemory (int driverMemoryInMb)
 Sets the amount of memory (in MB) to allocate for the Driver. More...
 
JobRequestBuilder SetMaxApplicationSubmissions (int maxAppSubmissions)
 Sets the maximum amount of times a job can be submitted. More...
 
JobRequestBuilder SetDriverStdoutFilePath (string driverStdoutFilePath)
 Sets the stdout file path for the driver. More...
 
JobRequestBuilder SetDriverStderrFilePath (string driverStderrFilePath)
 Sets the stderr file path for the driver. More...
 
JobRequestBuilder SetDriverConfigurationFileContents (string driverConfigurationFileContents)
 Driver config file contents (Org.Apache.REEF.Bridge.exe.config) contents Can be use to redirect assembly versions More...
 
JobRequestBuilder AddDriverConfigurationProviders (IEnumerable< IConfigurationProvider > configurationProviders)
 
JobRequestBuilder SetJavaLogLevel (JavaLoggingSetting javaLogLevel)
 

Static Public Member Functions

static JobRequestBuilder NewBuilder ()
 

Member Function Documentation

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddDriverConfiguration ( IConfiguration  configuration)
inline

Add a Configuration to the Driver.

Parameters
configuration
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddDriverConfigurationProviders ( IEnumerable< IConfigurationProvider configurationProviders)
inline
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddGlobalAssembly ( string  fileName)
inline

Add an assembly to be made available on all containers.

Parameters
fileName
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddGlobalAssemblyForType ( Type  type)
inline

Add the assembly needed for the given Type to all containers.

Parameters
type
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddGlobalFile ( string  fileName)
inline

Make this file available to all containers

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddLocalAssembly ( string  fileName)
inline

Add an assembly to the driver only.

Parameters
fileName
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddLocalAssemblyForType ( Type  type)
inline

Add the assembly needed for the given Type to the driver.

Parameters
type
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddLocalFile ( string  fileName)
inline

Files specific to one container

JobRequest Org.Apache.REEF.Client.API.JobRequestBuilder.Build ( )
inline

Bake the information provided so far and return a IJobSubmission

static JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.NewBuilder ( )
inlinestatic
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetDriverConfigurationFileContents ( string  driverConfigurationFileContents)
inline

Driver config file contents (Org.Apache.REEF.Bridge.exe.config) contents Can be use to redirect assembly versions

Parameters
driverConfigurationFileContentsDriver configuration file contents.
Returns
this
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetDriverMemory ( int  driverMemoryInMb)
inline

Sets the amount of memory (in MB) to allocate for the Driver.

Parameters
driverMemoryInMbThe amount of memory (in MB) to allocate for the Driver.
Returns
this
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetDriverStderrFilePath ( string  driverStderrFilePath)
inline

Sets the stderr file path for the driver.

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetDriverStdoutFilePath ( string  driverStdoutFilePath)
inline

Sets the stdout file path for the driver.

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetJavaLogLevel ( JavaLoggingSetting  javaLogLevel)
inline
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetJobIdentifier ( string  id)
inline

Gives the job an identifier.

Parameters
id
Returns
JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetMaxApplicationSubmissions ( int  maxAppSubmissions)
inline

Sets the maximum amount of times a job can be submitted.


The documentation for this class was generated from the following file: