Modifier and Type | Method and Description |
---|---|
static HardwareDescription |
HardwareDescription.extractFromSystem(long managedMemory) |
HardwareDescription |
Instance.getResources() |
Modifier and Type | Method and Description |
---|---|
InstanceID |
InstanceManager.registerTaskManager(TaskManagerGateway taskManagerGateway,
TaskManagerLocation taskManagerLocation,
HardwareDescription resources,
int numberOfSlots)
Registers a task manager.
|
Constructor and Description |
---|
Instance(TaskManagerGateway taskManagerGateway,
TaskManagerLocation location,
InstanceID id,
HardwareDescription resources,
int numberOfSlots)
Constructs an instance reflecting a registered TaskManager.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<RegistrationResponse> |
ResourceManagerGateway.registerTaskExecutor(String taskExecutorAddress,
ResourceID resourceId,
int dataPort,
HardwareDescription hardwareDescription,
Time timeout)
Register a
TaskExecutor at the resource manager. |
CompletableFuture<RegistrationResponse> |
ResourceManager.registerTaskExecutor(String taskExecutorAddress,
ResourceID taskExecutorResourceId,
int dataPort,
HardwareDescription hardwareDescription,
Time timeout) |
Modifier and Type | Method and Description |
---|---|
HardwareDescription |
WorkerRegistration.getHardwareDescription() |
Constructor and Description |
---|
WorkerRegistration(TaskExecutorGateway taskExecutorGateway,
WorkerType worker,
int dataPort,
HardwareDescription hardwareDescription) |
Modifier and Type | Method and Description |
---|---|
HardwareDescription |
TaskManagerInfo.getHardwareDescription() |
Constructor and Description |
---|
TaskManagerDetailsInfo(ResourceID resourceId,
String address,
int dataPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
HardwareDescription hardwareDescription,
TaskManagerMetricsInfo taskManagerMetrics) |
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
HardwareDescription hardwareDescription) |
Constructor and Description |
---|
TaskExecutorToResourceManagerConnection(org.slf4j.Logger log,
RpcService rpcService,
String taskManagerAddress,
ResourceID taskManagerResourceId,
int dataPort,
HardwareDescription hardwareDescription,
String resourceManagerAddress,
ResourceManagerId resourceManagerId,
Executor executor,
RegistrationConnectionListener<TaskExecutorToResourceManagerConnection,TaskExecutorRegistrationSuccess> registrationListener) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.