Package org.apache.storm.generated
Class DistributedRPC.AsyncProcessor.execute<I extends DistributedRPC.AsyncIface>
- java.lang.Object
-
- org.apache.storm.thrift.AsyncProcessFunction<I,DistributedRPC.execute_args,String>
-
- org.apache.storm.generated.DistributedRPC.AsyncProcessor.execute<I>
-
- Enclosing class:
- DistributedRPC.AsyncProcessor<I extends DistributedRPC.AsyncIface>
public static class DistributedRPC.AsyncProcessor.execute<I extends DistributedRPC.AsyncIface> extends org.apache.storm.thrift.AsyncProcessFunction<I,DistributedRPC.execute_args,String>
-
-
Constructor Summary
Constructors Constructor Description execute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedRPC.execute_argsgetEmptyArgsInstance()org.apache.storm.thrift.async.AsyncMethodCallback<String>getResultHandler(org.apache.storm.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)protected booleanisOneway()voidstart(I iface, DistributedRPC.execute_args args, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler)
-
-
-
Method Detail
-
getEmptyArgsInstance
public DistributedRPC.execute_args getEmptyArgsInstance()
- Specified by:
getEmptyArgsInstancein classorg.apache.storm.thrift.AsyncProcessFunction<I extends DistributedRPC.AsyncIface,DistributedRPC.execute_args,String>
-
getResultHandler
public org.apache.storm.thrift.async.AsyncMethodCallback<String> getResultHandler(org.apache.storm.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)
- Specified by:
getResultHandlerin classorg.apache.storm.thrift.AsyncProcessFunction<I extends DistributedRPC.AsyncIface,DistributedRPC.execute_args,String>
-
isOneway
protected boolean isOneway()
- Specified by:
isOnewayin classorg.apache.storm.thrift.AsyncProcessFunction<I extends DistributedRPC.AsyncIface,DistributedRPC.execute_args,String>
-
start
public void start(I iface, DistributedRPC.execute_args args, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
- Specified by:
startin classorg.apache.storm.thrift.AsyncProcessFunction<I extends DistributedRPC.AsyncIface,DistributedRPC.execute_args,String>- Throws:
org.apache.storm.thrift.TException
-
-