Uses of Class
io.grpc.Context.Key
Packages that use Context.Key
Package
Description
The gRPC core public API.
Service definitions and utilities for the pre-defined gRPC services.
-
Uses of Context.Key in io.grpc
Fields in io.grpc declared as Context.KeyModifier and TypeFieldDescriptionstatic final Context.Key<Server> InternalServer.SERVER_CONTEXT_KEY(package private) static final Context.Key<Server> Server.SERVER_CONTEXT_KEYFields in io.grpc with type parameters of type Context.KeyModifier and TypeFieldDescription(package private) final PersistentHashArrayMappedTrie.Node<Context.Key<?>, Object> Context.keyValueEntriesMethods in io.grpc that return Context.KeyModifier and TypeMethodDescriptionstatic <T> Context.Key<T> Create aContext.Keywith the given debug name.static <T> Context.Key<T> Context.keyWithDefault(String debugString, T defaultValue) Create aContext.Keywith the given debug name and default value.Methods in io.grpc with parameters of type Context.KeyModifier and TypeMethodDescription<V> ContextContext.withValue(Context.Key<V> k1, V v1) Create a new context with the given key value set.<V1,V2> Context Context.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2) Create a new context with the given key value set.<V1,V2, V3> Context Context.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2, Context.Key<V3> k3, V3 v3) Create a new context with the given key value set.<V1,V2, V3, V4>
ContextContext.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2, Context.Key<V3> k3, V3 v3, Context.Key<V4> k4, V4 v4) Create a new context with the given key value set.Constructor parameters in io.grpc with type arguments of type Context.KeyModifierConstructorDescriptionprivateContext(Context parent, PersistentHashArrayMappedTrie.Node<Context.Key<?>, Object> keyValueEntries) Construct a context that cannot be cancelled but will cascade cancellation from its parent if it is cancellable.privateContext(PersistentHashArrayMappedTrie.Node<Context.Key<?>, Object> keyValueEntries, int generation) Construct a context that cannot be cancelled and will not cascade cancellation from its parent. -
Uses of Context.Key in io.grpc.services
Fields in io.grpc.services declared as Context.KeyModifier and TypeFieldDescription(package private) static final Context.Key<CallMetricRecorder> CallMetricRecorder.CONTEXT_KEYstatic final Context.Key<CallMetricRecorder> InternalCallMetricRecorder.CONTEXT_KEY