public class GrpcUtils extends Object
| Constructor and Description |
|---|
GrpcUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeader |
toResponseHeader(int memberId) |
static ResponseHeader |
toResponseHeader(int memberId,
long revision) |
static io.grpc.StatusRuntimeException |
toStatusException(Exception ex) |
public static ResponseHeader toResponseHeader(int memberId)
public static ResponseHeader toResponseHeader(int memberId, long revision)
public static io.grpc.StatusRuntimeException toStatusException(Exception ex)
Copyright © 2021. All rights reserved.