public interface ISupervisor
Modifier and Type | Method and Description |
---|---|
void |
assigned(Collection<Integer> ports) |
boolean |
confirmAssigned(int port) |
String |
getAssignmentId()
The id used in assignments.
|
Object |
getMetadata() |
String |
getSupervisorId()
The id used for writing metadata into ZK.
|
void |
killedWorker(int port) |
void |
prepare(Map<String,Object> topoConf,
String schedulerLocalDir) |
String getSupervisorId()
String getAssignmentId()
Object getMetadata()
boolean confirmAssigned(int port)
void killedWorker(int port)
void assigned(Collection<Integer> ports)
Copyright © 2023 The Apache Software Foundation. All rights reserved.