Uses of Class
io.grpc.CallOptions
-
Packages that use CallOptions Package Description io.grpc The gRPC core public API.io.grpc.auth Implementations ofCallCredentials
and authentication related API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.lb.v1 io.grpc.reflection.v1 io.grpc.reflection.v1alpha io.grpc.stub API for the Stub layer. -
-
Uses of CallOptions in io.grpc
Fields in io.grpc declared as CallOptions Modifier and Type Field Description static CallOptions
CallOptions. DEFAULT
A blankCallOptions
that all fields are not set.Methods in io.grpc that return CallOptions Modifier and Type Method Description CallOptions
CallOptions. clearOnReadyThreshold()
Resets to the default number of bytes that must be queued before the call will leave the 'wait for ready' state.CallOptions
CallCredentials.RequestInfo. getCallOptions()
The call options used to call this RPC.CallOptions
ClientStreamTracer.StreamInfo. getCallOptions()
Returns the effective CallOptions of the call.abstract CallOptions
LoadBalancer.PickSubchannelArgs. getCallOptions()
Call options.CallOptions
CallOptions. withAuthority(String authority)
Override the HTTP/2 authority the channel claims to be connecting to.CallOptions
CallOptions. withCallCredentials(CallCredentials credentials)
Returns a newCallOptions
with the given call credentials.CallOptions
CallOptions. withCompression(String compressorName)
Sets the compression to use for the call.CallOptions
CallOptions. withDeadline(Deadline deadline)
Returns a newCallOptions
with the given absolute deadline.CallOptions
CallOptions. withDeadlineAfter(long duration, TimeUnit unit)
Returns a newCallOptions
with a deadline that is after the givenduration
from now.CallOptions
CallOptions. withExecutor(Executor executor)
Returns a newCallOptions
withexecutor
to be used instead of the default executor specified withManagedChannelBuilder.executor(java.util.concurrent.Executor)
.CallOptions
CallOptions. withMaxInboundMessageSize(int maxSize)
Sets the maximum allowed message size acceptable from the remote peer.CallOptions
CallOptions. withMaxOutboundMessageSize(int maxSize)
Sets the maximum allowed message size acceptable sent to the remote peer.CallOptions
CallOptions. withOnReadyThreshold(int numBytes)
Specifies how many bytes must be queued before the call is considered not ready to send more messages.<T> CallOptions
CallOptions. withOption(CallOptions.Key<T> key, T value)
Sets a custom option.CallOptions
CallOptions. withoutWaitForReady()
Disables 'wait for ready' feature for the call.CallOptions
CallOptions. withStreamTracerFactory(ClientStreamTracer.Factory factory)
Returns a newCallOptions
with aClientStreamTracerFactory
in addition to the existing factories.CallOptions
CallOptions. withWaitForReady()
Enables 'wait for ready' for the call.Methods in io.grpc with parameters of type CallOptions Modifier and Type Method Description <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 aClientCall
to the remote operation specified by the givenMethodDescriptor
.ClientStreamTracer.StreamInfo.Builder
ClientStreamTracer.StreamInfo.Builder. setCallOptions(CallOptions callOptions)
Sets the effective CallOptions of the call. -
Uses of CallOptions in io.grpc.auth
Methods in io.grpc.auth with parameters of type CallOptions Modifier and Type Method Description <ReqT,RespT>
ClientCall<ReqT,RespT>ClientAuthInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
Deprecated. -
Uses of CallOptions in io.grpc.channelz.v1
Methods in io.grpc.channelz.v1 with parameters of type CallOptions Modifier and Type Method Description protected ChannelzGrpc.ChannelzBlockingStub
ChannelzGrpc.ChannelzBlockingStub. build(Channel channel, CallOptions callOptions)
protected ChannelzGrpc.ChannelzFutureStub
ChannelzGrpc.ChannelzFutureStub. build(Channel channel, CallOptions callOptions)
protected ChannelzGrpc.ChannelzStub
ChannelzGrpc.ChannelzStub. build(Channel channel, CallOptions callOptions)
-
Uses of CallOptions in io.grpc.health.v1
Methods in io.grpc.health.v1 with parameters of type CallOptions Modifier and Type Method Description protected HealthGrpc.HealthBlockingStub
HealthGrpc.HealthBlockingStub. build(Channel channel, CallOptions callOptions)
protected HealthGrpc.HealthFutureStub
HealthGrpc.HealthFutureStub. build(Channel channel, CallOptions callOptions)
protected HealthGrpc.HealthStub
HealthGrpc.HealthStub. build(Channel channel, CallOptions callOptions)
-
Uses of CallOptions in io.grpc.lb.v1
Methods in io.grpc.lb.v1 with parameters of type CallOptions Modifier and Type Method Description protected LoadBalancerGrpc.LoadBalancerBlockingStub
LoadBalancerGrpc.LoadBalancerBlockingStub. build(Channel channel, CallOptions callOptions)
protected LoadBalancerGrpc.LoadBalancerFutureStub
LoadBalancerGrpc.LoadBalancerFutureStub. build(Channel channel, CallOptions callOptions)
protected LoadBalancerGrpc.LoadBalancerStub
LoadBalancerGrpc.LoadBalancerStub. build(Channel channel, CallOptions callOptions)
-
Uses of CallOptions in io.grpc.reflection.v1
Methods in io.grpc.reflection.v1 with parameters of type CallOptions Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)
-
Uses of CallOptions in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha with parameters of type CallOptions Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)
-
Uses of CallOptions in io.grpc.stub
Methods in io.grpc.stub that return CallOptions Modifier and Type Method Description CallOptions
AbstractStub. getCallOptions()
TheCallOptions
of the stub.Methods in io.grpc.stub with parameters of type CallOptions Modifier and Type Method Description static <ReqT,RespT>
Iterator<RespT>ClientCalls. blockingServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)
Executes a server-streaming call returning a blockingIterator
over 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 S
AbstractStub. build(Channel channel, CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.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.T
AbstractStub.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.
-