Class ParentControllerRegionValidationInterceptor

java.lang.Object
com.linkedin.venice.controller.server.grpc.ParentControllerRegionValidationInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class ParentControllerRegionValidationInterceptor extends Object implements io.grpc.ServerInterceptor
Interceptor to verify that the parent controller is active before processing requests within its region.
  • Constructor Details

    • ParentControllerRegionValidationInterceptor

      public ParentControllerRegionValidationInterceptor(Admin admin)
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
      Specified by:
      interceptCall in interface io.grpc.ServerInterceptor