Package org.apache.storm.drpc
Class DRPCInvocationsClient
java.lang.Object
org.apache.storm.security.auth.ThriftClient
org.apache.storm.drpc.DRPCInvocationsClient
- All Implemented Interfaces:
- AutoCloseable,- DistributedRPCInvocations.Iface
- 
Field SummaryFieldsFields inherited from class org.apache.storm.security.auth.ThriftClientprotocol, retryForever
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfailRequest(String id) voidfetchRequest(String func) getHost()intgetPort()booleanvoidvoidMethods inherited from class org.apache.storm.security.auth.ThriftClientclose, reconnect, transport
- 
Field Details- 
LOGpublic static final org.slf4j.Logger LOG
 
- 
- 
Constructor Details
- 
Method Details- 
getHost
- 
getPortpublic int getPort()
- 
reconnectClientpublic void reconnectClient() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
- 
isConnectedpublic boolean isConnected()
- 
resultpublic void result(String id, String result) throws org.apache.storm.thrift.TException, AuthorizationException - Specified by:
- resultin interface- DistributedRPCInvocations.Iface
- Throws:
- org.apache.storm.thrift.TException
- AuthorizationException
 
- 
fetchRequestpublic DRPCRequest fetchRequest(String func) throws org.apache.storm.thrift.TException, AuthorizationException - Specified by:
- fetchRequestin interface- DistributedRPCInvocations.Iface
- Throws:
- org.apache.storm.thrift.TException
- AuthorizationException
 
- 
failRequestpublic void failRequest(String id) throws org.apache.storm.thrift.TException, AuthorizationException - Specified by:
- failRequestin interface- DistributedRPCInvocations.Iface
- Throws:
- org.apache.storm.thrift.TException
- AuthorizationException
 
- 
getClient
- 
failRequestV2public void failRequestV2(String id, DRPCExecutionException ex) throws AuthorizationException, org.apache.storm.thrift.TException - Specified by:
- failRequestV2in interface- DistributedRPCInvocations.Iface
- Throws:
- AuthorizationException
- org.apache.storm.thrift.TException
 
 
-