Class ControllerGrpcServerUtils
java.lang.Object
com.linkedin.venice.controller.grpc.server.ControllerGrpcServerUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static GrpcControllerClientDetailsgetClientDetails(io.grpc.Context context) static <T> voidhandleRequest(io.grpc.MethodDescriptor<?, ?> methodDescriptor, ControllerGrpcServerUtils.GrpcRequestHandler<T> handler, io.grpc.stub.StreamObserver<T> responseObserver, ClusterStoreGrpcInfo storeGrpcInfo) static <T> voidhandleRequest(io.grpc.MethodDescriptor<?, ?> methodDescriptor, ControllerGrpcServerUtils.GrpcRequestHandler<T> handler, io.grpc.stub.StreamObserver<T> responseObserver, String clusterName, String storeName) static booleanisAllowListUser(VeniceControllerAccessManager accessManager, String resourceName, io.grpc.Context context)
-
Constructor Details
-
ControllerGrpcServerUtils
public ControllerGrpcServerUtils()
-
-
Method Details
-
handleRequest
public static <T> void handleRequest(io.grpc.MethodDescriptor<?, ?> methodDescriptor, ControllerGrpcServerUtils.GrpcRequestHandler<T> handler, io.grpc.stub.StreamObserver<T> responseObserver, ClusterStoreGrpcInfo storeGrpcInfo) -
handleRequest
public static <T> void handleRequest(io.grpc.MethodDescriptor<?, ?> methodDescriptor, ControllerGrpcServerUtils.GrpcRequestHandler<T> handler, io.grpc.stub.StreamObserver<T> responseObserver, String clusterName, String storeName) -
getClientDetails
-
isAllowListUser
public static boolean isAllowListUser(VeniceControllerAccessManager accessManager, String resourceName, io.grpc.Context context)
-