public final class NotebookSessionProperties extends Object
Constructor and Description |
---|
NotebookSessionProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getDriverCores()
Get the driverCores property: Number of cores to use for the driver.
|
String |
getDriverMemory()
Get the driverMemory property: Amount of memory to use for the driver process.
|
int |
getExecutorCores()
Get the executorCores property: Number of cores to use for each executor.
|
String |
getExecutorMemory()
Get the executorMemory property: Amount of memory to use per executor process.
|
int |
getNumExecutors()
Get the numExecutors property: Number of executors to launch for this session.
|
NotebookSessionProperties |
setDriverCores(int driverCores)
Set the driverCores property: Number of cores to use for the driver.
|
NotebookSessionProperties |
setDriverMemory(String driverMemory)
Set the driverMemory property: Amount of memory to use for the driver process.
|
NotebookSessionProperties |
setExecutorCores(int executorCores)
Set the executorCores property: Number of cores to use for each executor.
|
NotebookSessionProperties |
setExecutorMemory(String executorMemory)
Set the executorMemory property: Amount of memory to use per executor process.
|
NotebookSessionProperties |
setNumExecutors(int numExecutors)
Set the numExecutors property: Number of executors to launch for this session.
|
public String getDriverMemory()
public NotebookSessionProperties setDriverMemory(String driverMemory)
driverMemory
- the driverMemory value to set.public int getDriverCores()
public NotebookSessionProperties setDriverCores(int driverCores)
driverCores
- the driverCores value to set.public String getExecutorMemory()
public NotebookSessionProperties setExecutorMemory(String executorMemory)
executorMemory
- the executorMemory value to set.public int getExecutorCores()
public NotebookSessionProperties setExecutorCores(int executorCores)
executorCores
- the executorCores value to set.public int getNumExecutors()
public NotebookSessionProperties setNumExecutors(int numExecutors)
numExecutors
- the numExecutors value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.