Class GrpcUtils

java.lang.Object
io.temporal.internal.common.GrpcUtils

public class GrpcUtils extends Object
  • Constructor Details

    • GrpcUtils

      public GrpcUtils()
  • Method Details

    • isChannelShutdownException

      public static boolean isChannelShutdownException(io.grpc.StatusRuntimeException ex)
      Returns:
      true if ex is a gRPC exception about a channel shutdown
    • toCompletableFuture

      public static <T> CompletableFuture<T> toCompletableFuture(com.google.common.util.concurrent.ListenableFuture<T> listenableFuture)