public class WorkerRegistration<WorkerType extends ResourceIDRetrievable> extends TaskExecutorConnection
TaskExecutorConnection
, adding the worker information.Constructor and Description |
---|
WorkerRegistration(TaskExecutorGateway taskExecutorGateway,
WorkerType worker,
int dataPort,
int jmxPort,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration) |
Modifier and Type | Method and Description |
---|---|
int |
getDataPort() |
HardwareDescription |
getHardwareDescription() |
int |
getJmxPort() |
TaskExecutorMemoryConfiguration |
getMemoryConfiguration() |
WorkerType |
getWorker() |
getInstanceID, getResourceID, getTaskExecutorGateway
public WorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration)
public WorkerType getWorker()
public int getDataPort()
public int getJmxPort()
public HardwareDescription getHardwareDescription()
public TaskExecutorMemoryConfiguration getMemoryConfiguration()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.