public class ContaineredTaskManagerParameters extends Object implements Serializable
Constructor and Description |
---|
ContaineredTaskManagerParameters(TaskExecutorProcessSpec taskExecutorProcessSpec,
int numSlots,
HashMap<String,String> taskManagerEnv) |
Modifier and Type | Method and Description |
---|---|
static ContaineredTaskManagerParameters |
create(Configuration config,
TaskExecutorProcessSpec taskExecutorProcessSpec,
int numSlots)
Computes the parameters to be used to start a TaskManager Java process.
|
TaskExecutorProcessSpec |
getTaskExecutorProcessSpec() |
int |
numSlots() |
Map<String,String> |
taskManagerEnv() |
String |
toString() |
public ContaineredTaskManagerParameters(TaskExecutorProcessSpec taskExecutorProcessSpec, int numSlots, HashMap<String,String> taskManagerEnv)
public TaskExecutorProcessSpec getTaskExecutorProcessSpec()
public int numSlots()
public static ContaineredTaskManagerParameters create(Configuration config, TaskExecutorProcessSpec taskExecutorProcessSpec, int numSlots)
config
- The Flink configuration.taskExecutorProcessSpec
- The resource specifics of the task executor.numSlots
- Number of slots of the task executor.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.