Class GrpcLocal


  • public class GrpcLocal
    extends Object
    gRPC request local propagation.
    • Constructor Detail

      • GrpcLocal

        public GrpcLocal​(long deadlineMillis)
    • Method Detail

      • 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 java.time.Instant deadline()
        Returns:
        the deadline