public class SecureThriftRpcClient extends ThriftRpcClient
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SecureThriftRpcClient.UgiSaslClientTransportThis transport wraps the Sasl transports to set up the right UGI context for open(). | 
BINARY_PROTOCOL, COMPACT_PROTOCOL, CONFIG_PROTOCOLconnectTimeout| Constructor and Description | 
|---|
| SecureThriftRpcClient() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | configure(Properties properties)Configure the client using the given properties object. | 
| protected org.apache.thrift.transport.TTransport | getTransport(org.apache.thrift.transport.TSocket tsocket) | 
append, appendBatch, close, getBatchSize, isActiveprotected void configure(Properties properties) throws FlumeException
AbstractRpcClientconfigure in class ThriftRpcClientFlumeException - if the client can not be configured using this
 method, or if the client was already configured once.protected org.apache.thrift.transport.TTransport getTransport(org.apache.thrift.transport.TSocket tsocket)
                                                       throws Exception
getTransport in class ThriftRpcClientExceptionCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.