Class GrpcMetricsInterceptor

java.lang.Object
com.oracle.coherence.grpc.proxy.GrpcMetricsInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class GrpcMetricsInterceptor extends Object implements io.grpc.ServerInterceptor
A ServerInterceptor that enables capturing of gRPC metrics.
Author:
Jonathan Knight 2020.10.14
  • Constructor Details

  • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object