Package io.vertx.grpc.common
Class GrpcLocal
- java.lang.Object
-
- io.vertx.grpc.common.GrpcLocal
-
public class GrpcLocal extends Object
gRPC request local propagation.
-
-
Field Summary
Fields Modifier and Type Field Description static ContextLocal<GrpcLocal>
CONTEXT_LOCAL_KEY
Context local key.
-
Constructor Summary
Constructors Constructor Description GrpcLocal(long deadlineMillis)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrpcLocal
current()
java.time.Instant
deadline()
static GrpcLocal
of(Context context)
-
-
-
Field Detail
-
CONTEXT_LOCAL_KEY
public static final ContextLocal<GrpcLocal> CONTEXT_LOCAL_KEY
Context local key.
-
-