public interface NettyUtils
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup newEventLoopGroup(String name, int size, boolean useEpoll)
static void setTrustManager(org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder b, TlsConf.TrustManagerConf trustManagerConfig)
static void setKeyManager(org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder b, TlsConf.KeyManagerConf keyManagerConfig)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder initSslContextBuilderForServer(TlsConf.KeyManagerConf keyManagerConfig)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder initSslContextBuilderForServer(TlsConf tlsConf)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContext buildSslContextForServer(TlsConf tlsConf)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder initSslContextBuilderForClient(TlsConf tlsConf)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContext buildSslContextForClient(TlsConf tlsConf)
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContext buildSslContext(String name, TlsConf tlsConf, Function<TlsConf,org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder> builder)
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.