Class GrpcUtils
java.lang.Object
io.temporal.internal.common.GrpcUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisChannelShutdownException(io.grpc.StatusRuntimeException ex) static <T> CompletableFuture<T> toCompletableFuture(com.google.common.util.concurrent.ListenableFuture<T> listenableFuture)
-
Constructor Details
-
GrpcUtils
public GrpcUtils()
-
-
Method Details
-
isChannelShutdownException
public static boolean isChannelShutdownException(io.grpc.StatusRuntimeException ex) - Returns:
- true if
exis a gRPC exception about a channel shutdown
-
toCompletableFuture
public static <T> CompletableFuture<T> toCompletableFuture(com.google.common.util.concurrent.ListenableFuture<T> listenableFuture)
-