Uses of Class
io.grpc.CallOptions
-
Packages that use CallOptions Package Description io.grpc The gRPC core public API.io.grpc.stub API for the Stub layer.me.dinowernli.grpc.prometheus -
-
Uses of CallOptions in io.grpc
Fields in io.grpc declared as CallOptions Modifier and Type Field Description static CallOptionsCallOptions. DEFAULTA blankCallOptionsthat all fields are not set.Methods in io.grpc that return CallOptions Modifier and Type Method Description CallOptionsClientStreamTracer.StreamInfo. getCallOptions()Returns the effective CallOptions of the call.abstract CallOptionsLoadBalancer.PickSubchannelArgs. getCallOptions()Call options.CallOptionsCallOptions. withAuthority(java.lang.String authority)Override the HTTP/2 authority the channel claims to be connecting to.CallOptionsCallOptions. withCallCredentials(CallCredentials credentials)Returns a newCallOptionswith the given call credentials.CallOptionsCallOptions. withCompression(java.lang.String compressorName)Sets the compression to use for the call.CallOptionsCallOptions. withDeadline(Deadline deadline)Returns a newCallOptionswith the given absolute deadline.CallOptionsCallOptions. withDeadlineAfter(long duration, java.util.concurrent.TimeUnit unit)Returns a newCallOptionswith a deadline that is after the givendurationfrom now.CallOptionsCallOptions. withExecutor(java.util.concurrent.Executor executor)Returns a newCallOptionswithexecutorto be used instead of the default executor specified withManagedChannelBuilder.executor(java.util.concurrent.Executor).CallOptionsCallOptions. withMaxInboundMessageSize(int maxSize)Sets the maximum allowed message size acceptable from the remote peer.CallOptionsCallOptions. withMaxOutboundMessageSize(int maxSize)Sets the maximum allowed message size acceptable sent to the remote peer.<T> CallOptionsCallOptions. withOption(CallOptions.Key<T> key, T value)Sets a custom option.CallOptionsCallOptions. withoutWaitForReady()Disables 'wait for ready' feature for the call.CallOptionsCallOptions. withStreamTracerFactory(ClientStreamTracer.Factory factory)Returns a newCallOptionswith aClientStreamTracerFactoryin addition to the existing factories.CallOptionsCallOptions. withWaitForReady()Enables 'wait for ready' feature for the call.Methods in io.grpc with parameters of type CallOptions Modifier and Type Method Description static java.lang.BooleanInternalCallOptions. getWaitForReady(CallOptions callOptions)Gets the waitForReady bit ornullif it was never set.<ReqT,RespT>
ClientCall<ReqT,RespT>ClientInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)abstract <RequestT,ResponseT>
ClientCall<RequestT,ResponseT>Channel. newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)Create aClientCallto the remote operation specified by the givenMethodDescriptor.ClientStreamTracerClientStreamTracer.Factory. newClientStreamTracer(CallOptions callOptions, Metadata headers)ClientStreamTracer.StreamInfo.BuilderClientStreamTracer.StreamInfo.Builder. setCallOptions(CallOptions callOptions)Sets the effective CallOptions of the call. -
Uses of CallOptions in io.grpc.stub
Methods in io.grpc.stub that return CallOptions Modifier and Type Method Description CallOptionsAbstractStub. getCallOptions()TheCallOptionsof the stub.Methods in io.grpc.stub with parameters of type CallOptions Modifier and Type Method Description static <ReqT,RespT>
java.util.Iterator<RespT>ClientCalls. blockingServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Executes a server-streaming call returning a blockingIteratorover the response stream.static <ReqT,RespT>
RespTClientCalls. blockingUnaryCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Executes a unary call and blocks on the response.protected abstract SAbstractStub. build(Channel channel, CallOptions callOptions)Returns a new stub with the given channel for the provided method configurations.static InternalClientCalls.StubTypeInternalClientCalls. getStubType(CallOptions callOptions)ReturnsInternalClientCalls.StubTypefrom call options.static <T extends AbstractStub<T>>
TAbstractAsyncStub. newStub(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions)Returns a new async stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractBlockingStub. newStub(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions)Returns a new blocking stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractFutureStub. newStub(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions)Returns a new future stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractStub. newStub(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions)Returns a new stub with the given channel for the provided method configurations.TAbstractStub.StubFactory. newStub(Channel channel, CallOptions callOptions)Constructors in io.grpc.stub with parameters of type CallOptions Constructor Description AbstractAsyncStub(Channel channel, CallOptions callOptions)AbstractBlockingStub(Channel channel, CallOptions callOptions)AbstractFutureStub(Channel channel, CallOptions callOptions)AbstractStub(Channel channel, CallOptions callOptions)Constructor for use by subclasses. -
Uses of CallOptions in me.dinowernli.grpc.prometheus
Methods in me.dinowernli.grpc.prometheus with parameters of type CallOptions Modifier and Type Method Description <R,S>
ClientCall<R,S>MonitoringClientInterceptor. interceptCall(MethodDescriptor<R,S> methodDescriptor, CallOptions callOptions, Channel channel)
-