Package org.apache.storm.security.auth
Class ThriftClient
java.lang.Object
org.apache.storm.security.auth.ThriftClient
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
DRPCClient
,DRPCInvocationsClient
,NimbusClient
,SupervisorClient
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.storm.thrift.protocol.TProtocol
protected boolean
-
Constructor Summary
ConstructorDescriptionThriftClient
(Map<String, Object> topoConf, ThriftConnectionType type, String host) ThriftClient
(Map<String, Object> topoConf, ThriftConnectionType type, String host, Integer port, Integer timeout) ThriftClient
(Map<String, Object> topoConf, ThriftConnectionType type, String host, Integer port, Integer timeout, String asUser) -
Method Summary
-
Field Details
-
protocol
protected org.apache.storm.thrift.protocol.TProtocol protocol -
retryForever
protected boolean retryForever
-
-
Constructor Details
-
ThriftClient
-
ThriftClient
-
ThriftClient
-
-
Method Details
-
transport
public org.apache.storm.thrift.transport.TTransport transport() -
reconnect
public void reconnect() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-