public class SecureThriftRpcClient extends ThriftRpcClient
| Modifier and Type | Class and Description |
|---|---|
static class |
SecureThriftRpcClient.UgiSaslClientTransport
This transport wraps the Sasl transports to set up the right UGI context for open().
|
BINARY_PROTOCOL, COMPACT_PROTOCOL, CONFIG_PROTOCOLenableSsl, excludeCipherSuites, excludeProtocols, includeCipherSuites, includeProtocols, trustAllCerts, truststore, truststorePassword, truststoreTypebatchSize, connectTimeout| 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, isActiveconfigureSSLgetBatchSize, parseBatchSizeprotected 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-2022 Apache Software Foundation. All Rights Reserved.