public static interface Supervisor.Iface
Modifier and Type | Method and Description |
---|---|
Assignment |
getLocalAssignmentForStorm(String id)
Get local assignment for a storm
|
void |
sendSupervisorAssignments(SupervisorAssignments assignments)
Send node specific assignments to supervisor
|
void |
sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat)
Send worker heartbeat to local supervisor
|
void sendSupervisorAssignments(SupervisorAssignments assignments) throws AuthorizationException, org.apache.storm.thrift.TException
Send node specific assignments to supervisor
assignments
- AuthorizationException
org.apache.storm.thrift.TException
Assignment getLocalAssignmentForStorm(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
Get local assignment for a storm
id
- NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat) throws AuthorizationException, org.apache.storm.thrift.TException
Send worker heartbeat to local supervisor
heartbeat
- AuthorizationException
org.apache.storm.thrift.TException
Copyright © 2019 The Apache Software Foundation. All rights reserved.