Class RejectCrossNodesEventsInterceptor

java.lang.Object
com.atlassian.bamboo.grpc.interceptor.RejectCrossNodesEventsInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class RejectCrossNodesEventsInterceptor extends Object implements io.grpc.ServerInterceptor
  • Field Details

    • BAMBOO_NOT_READY_TO_RECEIVE_CROSS_NODES_EVENTS

      public static final String BAMBOO_NOT_READY_TO_RECEIVE_CROSS_NODES_EVENTS
      See Also:
  • Constructor Details

    • RejectCrossNodesEventsInterceptor

      public RejectCrossNodesEventsInterceptor(BambooClusterSettings bambooClusterSettings)
  • 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