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
FieldsModifier and TypeFieldDescriptionprotected org.apache.storm.thrift.protocol.TProtocolprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionThriftClient(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:
closein interfaceAutoCloseable
-