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