public interface NettyUtils
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
NettyUtils.Print |
| 限定符和类型 | 字段和说明 |
|---|---|
static TimeDuration |
CLOSE_TIMEOUT |
static org.slf4j.Logger |
LOG |
static final org.slf4j.Logger LOG
static final TimeDuration CLOSE_TIMEOUT
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)
static Class<? extends org.apache.ratis.thirdparty.io.netty.channel.socket.SocketChannel> getSocketChannelClass(org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup)
static Class<? extends org.apache.ratis.thirdparty.io.netty.channel.ServerChannel> getServerChannelClass(org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup)
static void closeChannel(org.apache.ratis.thirdparty.io.netty.channel.Channel channel, String name)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.