Uses of Class
io.grpc.CallOptions.Key
-
Packages that use CallOptions.Key Package Description io.grpc The gRPC core public API.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.stub API for the Stub layer. -
-
Uses of CallOptions.Key in io.grpc
Fields in io.grpc declared as CallOptions.Key Modifier and Type Field Description static CallOptions.Key<java.lang.Long>
ClientStreamTracer. NAME_RESOLUTION_DELAYED
Indicates how long the call was delayed, in nanoseconds, due to waiting for name resolution result.Methods in io.grpc that return CallOptions.Key Modifier and Type Method Description static <T> CallOptions.Key<T>
CallOptions.Key. create(java.lang.String debugString)
Factory method for creating instances ofCallOptions.Key
.static <T> CallOptions.Key<T>
CallOptions.Key. createWithDefault(java.lang.String debugString, T defaultValue)
Factory method for creating instances ofCallOptions.Key
.static <T> CallOptions.Key<T>
CallOptions.Key. of(java.lang.String debugString, T defaultValue)
Deprecated.Usecreate(java.lang.String)
orcreateWithDefault(java.lang.String, T)
instead.Methods in io.grpc with parameters of type CallOptions.Key Modifier and Type Method Description <T> T
CallOptions. getOption(CallOptions.Key<T> key)
Get the value for a custom option or its inherent default.<T> CallOptions
CallOptions. withOption(CallOptions.Key<T> key, T value)
Sets a custom option. -
Uses of CallOptions.Key in io.grpc.internal
Fields in io.grpc.internal declared as CallOptions.Key Modifier and Type Field Description static CallOptions.Key<java.lang.Boolean>
GrpcUtil. CALL_OPTIONS_RPC_OWNED_BY_BALANCER
RPCs created on the Channel returned byLoadBalancer.Subchannel.asChannel()
will have this option with valuetrue
.(package private) static CallOptions.Key<ManagedChannelServiceConfig.MethodInfo>
ManagedChannelServiceConfig.MethodInfo. KEY
-
Uses of CallOptions.Key in io.grpc.stub
Fields in io.grpc.stub declared as CallOptions.Key Modifier and Type Field Description (package private) static CallOptions.Key<ClientCalls.StubType>
ClientCalls. STUB_TYPE_OPTION
InternalCallOptions.Key
to indicate stub types.Methods in io.grpc.stub that return CallOptions.Key Modifier and Type Method Description static CallOptions.Key<ClientCalls.StubType>
InternalClientCalls. getStubTypeOption()
Internal accessor forClientCalls.STUB_TYPE_OPTION
.Methods in io.grpc.stub with parameters of type CallOptions.Key Modifier and Type Method Description <T> S
AbstractStub. withOption(CallOptions.Key<T> key, T value)
Sets a custom option to be passed to client interceptors on the channelClientInterceptor
via the CallOptions parameter.
-