public class JobConfiguration extends Object
| Constructor and Description |
|---|
JobConfiguration() |
JobConfiguration(String type,
int amMemory,
int amCores,
int executorInstances,
int executorCores,
int executorMemory,
boolean dynamicAllocationEnabled,
int dynamicAllocationMinExecutors,
int dynamicAllocationMaxExecutors,
int dynamicAllocationInitialExecutors) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmCores() |
int |
getAmMemory() |
int |
getDynamicAllocationInitialExecutors() |
int |
getDynamicAllocationMaxExecutors() |
int |
getDynamicAllocationMinExecutors() |
int |
getExecutorCores() |
int |
getExecutorInstances() |
int |
getExecutorMemory() |
String |
getType() |
boolean |
isDynamicAllocationEnabled() |
void |
setAmCores(int amCores) |
void |
setAmMemory(int amMemory) |
void |
setDynamicAllocationEnabled(boolean dynamicAllocationEnabled) |
void |
setDynamicAllocationInitialExecutors(int dynamicAllocationInitialExecutors) |
void |
setDynamicAllocationMaxExecutors(int dynamicAllocationMaxExecutors) |
void |
setDynamicAllocationMinExecutors(int dynamicAllocationMinExecutors) |
void |
setExecutorCores(int executorCores) |
void |
setExecutorInstances(int executorInstances) |
void |
setExecutorMemory(int executorMemory) |
void |
setType(String type) |
public JobConfiguration()
public JobConfiguration(String type, int amMemory, int amCores, int executorInstances, int executorCores, int executorMemory, boolean dynamicAllocationEnabled, int dynamicAllocationMinExecutors, int dynamicAllocationMaxExecutors, int dynamicAllocationInitialExecutors)
public String getType()
public void setType(String type)
public int getAmMemory()
public void setAmMemory(int amMemory)
public int getAmCores()
public void setAmCores(int amCores)
public int getExecutorInstances()
public void setExecutorInstances(int executorInstances)
public int getExecutorCores()
public void setExecutorCores(int executorCores)
public int getExecutorMemory()
public void setExecutorMemory(int executorMemory)
public boolean isDynamicAllocationEnabled()
public void setDynamicAllocationEnabled(boolean dynamicAllocationEnabled)
public int getDynamicAllocationMinExecutors()
public void setDynamicAllocationMinExecutors(int dynamicAllocationMinExecutors)
public int getDynamicAllocationMaxExecutors()
public void setDynamicAllocationMaxExecutors(int dynamicAllocationMaxExecutors)
public int getDynamicAllocationInitialExecutors()
public void setDynamicAllocationInitialExecutors(int dynamicAllocationInitialExecutors)
Copyright © 2023. All rights reserved.