Uses of Class
io.grpc.CallOptions.Key
Packages that use CallOptions.Key
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
API for the Stub layer.
-
Uses of CallOptions.Key in io.grpc
Fields in io.grpc declared as CallOptions.KeyModifier and TypeFieldDescriptionstatic final CallOptions.Key
<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.KeyModifier and TypeMethodDescriptionstatic <T> CallOptions.Key
<T> Factory method for creating instances ofCallOptions.Key
.static <T> CallOptions.Key
<T> CallOptions.Key.createWithDefault
(String debugString, T defaultValue) Factory method for creating instances ofCallOptions.Key
.static <T> CallOptions.Key
<T> Deprecated.Methods in io.grpc with parameters of type CallOptions.KeyModifier and TypeMethodDescription<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.KeyModifier and TypeFieldDescriptionstatic final CallOptions.Key
<Boolean> GrpcUtil.CALL_OPTIONS_RPC_OWNED_BY_BALANCER
RPCs created on the Channel returned byLoadBalancer.Subchannel.asChannel()
will have this option with valuetrue
. -
Uses of CallOptions.Key in io.grpc.stub
Methods in io.grpc.stub that return CallOptions.KeyModifier and TypeMethodDescriptionstatic CallOptions.Key
<io.grpc.stub.ClientCalls.StubType> InternalClientCalls.getStubTypeOption()
Internal accessor forClientCalls.STUB_TYPE_OPTION
.Methods in io.grpc.stub with parameters of type CallOptions.KeyModifier and TypeMethodDescriptionfinal <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.
create(java.lang.String)
orcreateWithDefault(java.lang.String, T)
instead.