public static final class Twister2Job.Twister2JobBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
double diskGigaBytes,
int instances) |
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
double diskGigaBytes,
int instances,
boolean scalabe) |
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
double diskGigaBytes,
int instances,
boolean scalable,
int workersPerPod) |
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
double diskGigaBytes,
int instances,
int workersPerPod) |
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
int instances) |
Twister2Job.Twister2JobBuilder |
addComputeResource(double cpu,
int ramMegaBytes,
int instances,
boolean scalable) |
Twister2Job |
build() |
Twister2Job.Twister2JobBuilder |
setConfig(JobConfig config) |
Twister2Job.Twister2JobBuilder |
setDriverClass(java.lang.String driverClass) |
Twister2Job.Twister2JobBuilder |
setJobID(java.lang.String id) |
Twister2Job.Twister2JobBuilder |
setJobName(java.lang.String name) |
Twister2Job.Twister2JobBuilder |
setWorkerClass(java.lang.Class workerClass) |
Twister2Job.Twister2JobBuilder |
setWorkerClass(java.lang.String workerClass) |
public Twister2Job.Twister2JobBuilder setJobName(java.lang.String name)
public Twister2Job.Twister2JobBuilder setJobID(java.lang.String id)
public Twister2Job.Twister2JobBuilder setWorkerClass(java.lang.String workerClass)
public Twister2Job.Twister2JobBuilder setDriverClass(java.lang.String driverClass)
public Twister2Job.Twister2JobBuilder setWorkerClass(java.lang.Class workerClass)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, int instances)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, int instances, boolean scalable)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, double diskGigaBytes, int instances)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, double diskGigaBytes, int instances, boolean scalabe)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, double diskGigaBytes, int instances, int workersPerPod)
public Twister2Job.Twister2JobBuilder addComputeResource(double cpu, int ramMegaBytes, double diskGigaBytes, int instances, boolean scalable, int workersPerPod)
public Twister2Job.Twister2JobBuilder setConfig(JobConfig config)
public Twister2Job build()