public static class Supervisor.Client extends org.apache.storm.thrift.TServiceClient implements Supervisor.Iface
Modifier and Type | Class and Description |
---|---|
static class |
Supervisor.Client.Factory |
Constructor and Description |
---|
Client(org.apache.storm.thrift.protocol.TProtocol prot) |
Client(org.apache.storm.thrift.protocol.TProtocol iprot,
org.apache.storm.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
Assignment |
getLocalAssignmentForStorm(String id)
Get local assignment for a storm
|
Assignment |
recv_getLocalAssignmentForStorm() |
void |
recv_sendSupervisorAssignments() |
void |
recv_sendSupervisorWorkerHeartbeat() |
void |
send_getLocalAssignmentForStorm(String id) |
void |
send_sendSupervisorAssignments(SupervisorAssignments assignments) |
void |
send_sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat) |
void |
sendSupervisorAssignments(SupervisorAssignments assignments)
Send node specific assignments to supervisor
|
void |
sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat)
Send worker heartbeat to local supervisor
|
public Client(org.apache.storm.thrift.protocol.TProtocol prot)
public Client(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TProtocol oprot)
public void sendSupervisorAssignments(SupervisorAssignments assignments) throws AuthorizationException, org.apache.storm.thrift.TException
Supervisor.Iface
Send node specific assignments to supervisor
sendSupervisorAssignments
in interface Supervisor.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_sendSupervisorAssignments(SupervisorAssignments assignments) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public void recv_sendSupervisorAssignments() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
public Assignment getLocalAssignmentForStorm(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
Supervisor.Iface
Get local assignment for a storm
getLocalAssignmentForStorm
in interface Supervisor.Iface
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
public void send_getLocalAssignmentForStorm(String id) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public Assignment recv_getLocalAssignmentForStorm() throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
public void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat) throws AuthorizationException, org.apache.storm.thrift.TException
Supervisor.Iface
Send worker heartbeat to local supervisor
sendSupervisorWorkerHeartbeat
in interface Supervisor.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public void recv_sendSupervisorWorkerHeartbeat() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
Copyright © 2020 The Apache Software Foundation. All rights reserved.