所有方法 静态方法 默认方法
| 限定符和类型 |
方法和说明 |
static <REPLY,REPLY_PROTO> void |
asyncCall(org.apache.ratis.thirdparty.io.grpc.stub.StreamObserver<REPLY_PROTO> responseObserver,
CheckedSupplier<CompletableFuture<REPLY>,IOException> supplier,
Function<REPLY,REPLY_PROTO> toProto,
Consumer<Throwable> warning) |
static long |
getCallId(Throwable t) |
static org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder |
initSslContextBuilderForServer(TlsConf.KeyManagerConf keyManagerConfig) |
static boolean |
isHeartbeat(Throwable t) |
static void |
setKeyManager(org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder b,
TlsConf.KeyManagerConf keyManagerConfig) |
static void |
setTrustManager(org.apache.ratis.thirdparty.io.netty.handler.ssl.SslContextBuilder b,
TlsConf.TrustManagerConf trustManagerConfig) |
static void |
shutdownManagedChannel(org.apache.ratis.thirdparty.io.grpc.ManagedChannel managedChannel)
Tries to gracefully shut down the managed channel.
|
static Throwable |
tryUnwrapThrowable(org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException se) |
static IOException |
unwrapException(org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException se) |
static IOException |
unwrapIOException(Throwable t) |
static Throwable |
unwrapThrowable(Throwable t) |
static void |
warn(org.slf4j.Logger log,
Supplier<String> message,
Throwable t) |
static org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException |
wrapException(Throwable t) |
static org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException |
wrapException(Throwable t,
long callId) |
static org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException |
wrapException(Throwable t,
long callId,
boolean isHeartbeat) |
static org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException |
wrapException(Throwable t,
org.apache.ratis.thirdparty.io.grpc.Metadata trailers) |