This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Client.API.JobParametersBuilder 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.JobParametersBuilder Class Reference

A builder for JobParameters. More...

Public Member Functions

JobParameters Build ()
 Builds a JobParameters object based on parameters passed to the builder. More...
 
JobParametersBuilder SetJobIdentifier (string id)
 Sets the identifier of the job. More...
 
JobParametersBuilder SetMaxApplicationSubmissions (int maxApplicationSubmissions)
 Sets the maximum amount of times the job can be submitted. More...
 
JobParametersBuilder SetDriverMemory (int driverMemoryInMb)
 Sets the amount of memory (in MB) to allocate for the Driver. More...
 
JobParametersBuilder SetDriverStdoutFilePath (string stdoutFilePath)
 Sets the file path to the stdout file for the driver. More...
 
JobParametersBuilder SetDriverStderrFilePath (string stderrFilePath)
 Sets the file path to the stderr file for the driver. More...
 
JobParametersBuilder SetJavaLogLevel (JavaLoggingSetting javaLogLevel)
 Sets the Java Log Level. More...
 

Static Public Member Functions

static JobParametersBuilder NewBuilder ()
 Creates a new JobParametersBuilder. More...
 

Detailed Description

A builder for JobParameters.

Member Function Documentation

JobParameters Org.Apache.REEF.Client.API.JobParametersBuilder.Build ( )
inline

Builds a JobParameters object based on parameters passed to the builder.

Returns
static JobParametersBuilder Org.Apache.REEF.Client.API.JobParametersBuilder.NewBuilder ( )
inlinestatic

Creates a new JobParametersBuilder.

JobParametersBuilder Org.Apache.REEF.Client.API.JobParametersBuilder.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
JobParametersBuilder Org.Apache.REEF.Client.API.JobParametersBuilder.SetDriverStderrFilePath ( string  stderrFilePath)
inline

Sets the file path to the stderr file for the driver.

JobParametersBuilder Org.Apache.REEF.Client.API.JobParametersBuilder.SetDriverStdoutFilePath ( string  stdoutFilePath)
inline

Sets the file path to the stdout file for the driver.

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

Sets the Java Log Level.

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

Sets the identifier of the job.

JobParametersBuilder Org.Apache.REEF.Client.API.JobParametersBuilder.SetMaxApplicationSubmissions ( int  maxApplicationSubmissions)
inline

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

Used primarily in the driver restart scenario.


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