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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields inherited from class org.apache.storm.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
-
Constructor Summary
ConstructorDescriptionAsyncClient
(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Methods inherited from class org.apache.storm.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Constructor Details
-
AsyncClient
public AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport)
-
-
Method Details
-
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
-