Package org.apache.storm.generated
Class Supervisor.AsyncClient
- java.lang.Object
-
- org.apache.storm.thrift.async.TAsyncClient
-
- org.apache.storm.generated.Supervisor.AsyncClient
-
- All Implemented Interfaces:
Supervisor.AsyncIface
- Enclosing class:
- Supervisor
public static class Supervisor.AsyncClient extends org.apache.storm.thrift.async.TAsyncClient implements Supervisor.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Supervisor.AsyncClient.Factory
static class
Supervisor.AsyncClient.getLocalAssignmentForStorm_call
static class
Supervisor.AsyncClient.sendSupervisorAssignments_call
static class
Supervisor.AsyncClient.sendSupervisorWorkerHeartbeat_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getLocalAssignmentForStorm(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler)
void
sendSupervisorAssignments(SupervisorAssignments assignments, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
sendSupervisorAssignments
public void sendSupervisorAssignments(SupervisorAssignments assignments, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
- Specified by:
sendSupervisorAssignments
in interfaceSupervisor.AsyncIface
- Throws:
org.apache.storm.thrift.TException
-
getLocalAssignmentForStorm
public void getLocalAssignmentForStorm(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler) throws org.apache.storm.thrift.TException
- Specified by:
getLocalAssignmentForStorm
in interfaceSupervisor.AsyncIface
- Throws:
org.apache.storm.thrift.TException
-
sendSupervisorWorkerHeartbeat
public void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
- Specified by:
sendSupervisorWorkerHeartbeat
in interfaceSupervisor.AsyncIface
- Throws:
org.apache.storm.thrift.TException
-
-