Class GrpcLocal

java.lang.Object
io.vertx.grpc.common.GrpcLocal

public class GrpcLocal extends Object
gRPC request local propagation.
  • Field Details

  • Constructor Details

    • GrpcLocal

      public GrpcLocal(long deadlineMillis)
  • Method Details

    • of

      public static GrpcLocal of(Context context)
      Returns:
      the local associated with the given context
    • current

      public static GrpcLocal current()
      Returns:
      the current request local or null
    • deadline

      public Instant deadline()
      Returns:
      the deadline