Package org.apache.storm.generated
Class Supervisor.AsyncClient.getLocalAssignmentForStorm_call
java.lang.Object
org.apache.storm.thrift.async.TAsyncMethodCall<Assignment>
org.apache.storm.generated.Supervisor.AsyncClient.getLocalAssignmentForStorm_call
- Enclosing class:
- Supervisor.AsyncClient
public static class Supervisor.AsyncClient.getLocalAssignmentForStorm_call
extends org.apache.storm.thrift.async.TAsyncMethodCall<Assignment>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.storm.thrift.async.TAsyncMethodCall
org.apache.storm.thrift.async.TAsyncMethodCall.State
-
Field Summary
Fields inherited from class org.apache.storm.thrift.async.TAsyncMethodCall
client, transport
-
Constructor Summary
ConstructorDescriptiongetLocalAssignmentForStorm_call
(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler, org.apache.storm.thrift.async.TAsyncClient client, org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoid
write_args
(org.apache.storm.thrift.protocol.TProtocol prot) Methods inherited from class org.apache.storm.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall
-
Constructor Details
-
getLocalAssignmentForStorm_call
public getLocalAssignmentForStorm_call(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler, org.apache.storm.thrift.async.TAsyncClient client, org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.transport.TNonblockingTransport transport) throws org.apache.storm.thrift.TException - Throws:
org.apache.storm.thrift.TException
-
-
Method Details
-
write_args
public void write_args(org.apache.storm.thrift.protocol.TProtocol prot) throws org.apache.storm.thrift.TException - Specified by:
write_args
in classorg.apache.storm.thrift.async.TAsyncMethodCall<Assignment>
- Throws:
org.apache.storm.thrift.TException
-
getResult
public Assignment getResult() throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException- Specified by:
getResult
in classorg.apache.storm.thrift.async.TAsyncMethodCall<Assignment>
- Throws:
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
-