Class DistributedRPC.AsyncClient

    • Field Summary

      • Fields inherited from class org.apache.storm.thrift.async.TAsyncClient

        ___currentMethod, ___manager, ___protocolFactory, ___transport
    • 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)  
    • Constructor Detail

      • 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 Detail

      • execute

        public void execute​(String functionName,
                            String funcArgs,
                            org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler)
                     throws org.apache.storm.thrift.TException
        Specified by:
        execute in interface DistributedRPC.AsyncIface
        Throws:
        org.apache.storm.thrift.TException