Uses of Class
io.grpc.CallOptions.Key
-
Packages that use CallOptions.Key Package Description io.grpc The gRPC core public API.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<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.Key Modifier and Type Method Description static <T> CallOptions.Key<T>CallOptions.Key. create(String debugString)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>CallOptions.Key. of(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> 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 with parameters of type CallOptions.Key Modifier and Type Method Description <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.
-