Apache REEF  0.16.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

◆ AddDriverConfiguration()

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

Add a Configuration to the Driver.

Parameters
configuration
Returns

◆ AddDriverConfigurationProviders()

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.AddDriverConfigurationProviders ( IEnumerable< IConfigurationProvider configurationProviders)
inline

◆ AddGlobalAssembly()

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

Add an assembly to be made available on all containers.

Parameters
fileName
Returns

◆ AddGlobalAssemblyForType()

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

◆ AddGlobalFile()

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

Make this file available to all containers

◆ AddLocalAssembly()

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

Add an assembly to the driver only.

Parameters
fileName
Returns

◆ AddLocalAssemblyForType()

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

◆ AddLocalFile()

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

Files specific to one container

◆ Build()

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

Bake the information provided so far and return a IJobSubmission

◆ NewBuilder()

static JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.NewBuilder ( )
inlinestatic

◆ SetDriverConfigurationFileContents()

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

◆ SetDriverMemory()

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

◆ SetDriverStderrFilePath()

JobRequestBuilder Org.Apache.REEF.Client.API.JobRequestBuilder.SetDriverStderrFilePath ( string  driverStderrFilePath)
inline

Sets the stderr file path for the driver.

◆ SetDriverStdoutFilePath()

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

Sets the stdout file path for the driver.

◆ SetJavaLogLevel()

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

◆ SetJobIdentifier()

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

Gives the job an identifier.

Parameters
id
Returns

◆ SetMaxApplicationSubmissions()

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: