Uses of Class
io.grpc.Context.Key
-
Packages that use Context.Key Package Description io.grpc The gRPC core public API.io.grpc.services Service definitions and utilities for the pre-defined gRPC services. -
-
Uses of Context.Key in io.grpc
Fields in io.grpc declared as Context.Key Modifier and Type Field Description static Context.Key<Server>
InternalServer. SERVER_CONTEXT_KEY
(package private) static Context.Key<Server>
Server. SERVER_CONTEXT_KEY
Fields in io.grpc with type parameters of type Context.Key Modifier and Type Field Description (package private) PersistentHashArrayMappedTrie.Node<Context.Key<?>,java.lang.Object>
Context. keyValueEntries
Methods in io.grpc that return Context.Key Modifier and Type Method Description static <T> Context.Key<T>
Context. key(java.lang.String debugString)
Create aContext.Key
with the given debug name.static <T> Context.Key<T>
Context. keyWithDefault(java.lang.String debugString, T defaultValue)
Create aContext.Key
with the given debug name and default value.Methods in io.grpc with parameters of type Context.Key Modifier and Type Method Description <V> Context
Context. withValue(Context.Key<V> k1, V v1)
Create a new context with the given key value set.<V1,V2>
ContextContext. 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>
ContextContext. 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.Key Constructor Description Context(Context parent, PersistentHashArrayMappedTrie.Node<Context.Key<?>,java.lang.Object> keyValueEntries)
Construct a context that cannot be cancelled but will cascade cancellation from its parent if it is cancellable.Context(PersistentHashArrayMappedTrie.Node<Context.Key<?>,java.lang.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.Key Modifier and Type Field Description (package private) static Context.Key<CallMetricRecorder>
CallMetricRecorder. CONTEXT_KEY
static Context.Key<CallMetricRecorder>
InternalCallMetricRecorder. CONTEXT_KEY
-