Uses of Class
io.grpc.CallOptions.Key
Packages that use CallOptions.Key
-
Uses of CallOptions.Key in io.grpc
Fields in io.grpc declared as CallOptions.KeyModifier and TypeFieldDescriptionstatic final CallOptions.Key<Long>ClientStreamTracer.NAME_RESOLUTION_DELAYEDIndicates 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> TCallOptions.getOption(CallOptions.Key<T> key) Get the value for a custom option or its inherent default.<T> CallOptionsCallOptions.withOption(CallOptions.Key<T> key, T value) Sets a custom option. -
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> SAbstractStub.withOption(CallOptions.Key<T> key, T value) Sets a custom option to be passed to client interceptors on the channelClientInterceptorvia the CallOptions parameter.
create(java.lang.String)orcreateWithDefault(java.lang.String, T)instead.