A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABORTED - io.grpc.Status.Code
-
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
- ABORTED - Static variable in class io.grpc.Status
-
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
- AbstractAsyncStub<S extends AbstractAsyncStub<S>> - Class in io.grpc.stub
-
Stub implementations for async stubs.
- AbstractAsyncStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractAsyncStub
- AbstractBlockingStub<S extends AbstractBlockingStub<S>> - Class in io.grpc.stub
-
Stub implementations for blocking stubs.
- AbstractBlockingStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractBlockingStub
- AbstractFutureStub<S extends AbstractFutureStub<S>> - Class in io.grpc.stub
-
Stub implementations for future stubs.
- AbstractFutureStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractFutureStub
- AbstractStub<S extends AbstractStub<S>> - Class in io.grpc.stub
-
Common base type for stub implementations.
- AbstractStub(Channel) - Constructor for class io.grpc.stub.AbstractStub
-
Constructor for use by subclasses, with the default
CallOptions. - AbstractStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractStub
-
Constructor for use by subclasses.
- AbstractStub.StubFactory<T extends AbstractStub<T>> - Interface in io.grpc.stub
-
A factory class for stub.
- addClientSocket(InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
-
Adds a socket.
- addListener(Context.CancellationListener, Executor) - Method in class io.grpc.Context
-
Add a listener that will be notified when the context becomes cancelled.
- addListenSocket(InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
- addListenSockets(List<InternalInstrumented<InternalChannelz.SocketStats>>) - Method in class io.grpc.InternalChannelz.ServerStats.Builder
-
Sets the listen sockets.
- addMethod(MethodDescriptor<?, ?>) - Method in class io.grpc.ServiceDescriptor.Builder
-
Adds a method to this service.
- addMethod(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
-
Add a method to be supported by the service.
- addMethod(ServerMethodDefinition<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
-
Add a method to be supported by the service.
- addOption(LoadBalancer.CreateSubchannelArgs.Key<T>, T) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
Add a custom option.
- addOption(String, boolean) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
- addOption(String, int) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
- addOption(String, String) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
- addRootChannel(InternalInstrumented<InternalChannelz.ChannelStats>) - Method in class io.grpc.InternalChannelz
-
Adds a root channel.
- addServer(InternalInstrumented<InternalChannelz.ServerStats>) - Method in class io.grpc.InternalChannelz
-
Adds a server.
- addServerSocket(InternalInstrumented<InternalChannelz.ServerStats>, InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
-
Adds a server socket.
- addService(BindableService) - Method in class io.grpc.ServerBuilder
-
Adds a service implementation to the handler registry.
- addService(ServerServiceDefinition) - Method in class io.grpc.ServerBuilder
-
Adds a service implementation to the handler registry.
- addStreamTracerFactory(ServerStreamTracer.Factory) - Method in class io.grpc.ServerBuilder
-
Adds a
ServerStreamTracer.Factoryto measure server-side traffic. - addSubchannel(InternalInstrumented<InternalChannelz.ChannelStats>) - Method in class io.grpc.InternalChannelz
-
Adds a subchannel.
- addTransportFilter(ServerTransportFilter) - Method in class io.grpc.ServerBuilder
-
Adds a
ServerTransportFilter. - advmss - Variable in class io.grpc.InternalChannelz.TcpInfo
- after(long, TimeUnit) - Static method in class io.grpc.Deadline
-
Create a deadline that will expire at the specified offset based on the
system ticker. - after(long, TimeUnit, Deadline.Ticker) - Static method in class io.grpc.Deadline
-
Create a deadline that will expire at the specified offset based on the given
Deadline.Ticker. - allMetrics() - Static method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a
Configurationfor recording all metrics about the rpcs. - allocate(Class<?>, String) - Static method in class io.grpc.InternalLogId
-
Creates a log id.
- allocate(String, String) - Static method in class io.grpc.InternalLogId
-
Creates a log id.
- ALREADY_EXISTS - io.grpc.Status.Code
-
Some entity that we attempted to create (e.g., file or directory) already exists.
- ALREADY_EXISTS - Static variable in class io.grpc.Status
-
Some entity that we attempted to create (e.g., file or directory) already exists.
- any - Variable in class io.grpc.InternalChannelz.OtherSecurity
- apply(Metadata) - Method in class io.grpc.CallCredentials.MetadataApplier
-
Called when headers are successfully generated.
- applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.grpc.CallCredentials
-
Pass the credential data to the given
CallCredentials.MetadataApplier, which will propagate it to the request metadata. - applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.grpc.CallCredentials2
-
Deprecated.
- applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials2.MetadataApplier) - Method in class io.grpc.CallCredentials2
-
Deprecated.Pass the credential data to the given
CallCredentials2.MetadataApplier, which will propagate it to the request metadata. - asChannel() - Method in class io.grpc.LoadBalancer.Subchannel
-
(Internal use only) returns a
Channelthat is backed by this Subchannel. - ASCII_STRING_MARSHALLER - Static variable in class io.grpc.Metadata
-
Simple metadata marshaller that encodes strings as is.
- asException() - Method in class io.grpc.Status
-
Convert this
Statusto anException. - asException(Metadata) - Method in class io.grpc.Status
-
Same as
Status.asException()but includes the provided trailers in the returned exception. - asFactory() - Static method in class io.grpc.NameResolverProvider
-
Deprecated.Use NameResolverRegistry.getDefaultRegistry().asFactory()
- asFactory() - Method in class io.grpc.NameResolverRegistry
- asRuntimeException() - Method in class io.grpc.Status
-
Convert this
Statusto aRuntimeException. - asRuntimeException(Metadata) - Method in class io.grpc.Status
-
Same as
Status.asRuntimeException()but includes the provided trailers in the returned exception. - ASYNC - io.grpc.stub.InternalClientCalls.StubType
- asyncBidiStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
-
Executes a bidirectional-streaming call.
- asyncBidiStreamingCall(ServerCalls.BidiStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
-
Creates a
ServerCallHandlerfor a bidi streaming method of the service. - asyncClientStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
-
Executes a client-streaming call returning a
StreamObserverfor the request messages. - asyncClientStreamingCall(ServerCalls.ClientStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
-
Creates a
ServerCallHandlerfor a client streaming method of the service. - asyncServerStreamingCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
-
Executes a server-streaming call with a response
StreamObserver. - asyncServerStreamingCall(ServerCalls.ServerStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
-
Creates a
ServerCallHandlerfor a server streaming method of the service. - asyncUnaryCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
-
Executes a unary call with a response
StreamObserver. - asyncUnaryCall(ServerCalls.UnaryMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
-
Creates a
ServerCallHandlerfor a unary call method of the service. - asyncUnimplementedStreamingCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
-
Sets unimplemented status for streaming call.
- asyncUnimplementedUnaryCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
-
Sets unimplemented status for method on given response stream for unary call.
- ato - Variable in class io.grpc.InternalChannelz.TcpInfo
- attach() - Method in class io.grpc.Context
-
Attach this context, thus enter a new scope within which this context is
Context.current(). - attach() - Method in class io.grpc.Context.CancellableContext
- attach(Context) - Method in class io.grpc.Context.Storage
-
Deprecated.This is an old API that is no longer used.
- attachHeaders(T, Metadata) - Static method in class io.grpc.stub.MetadataUtils
-
Attaches a set of request headers to a stub.
- ATTR_AUTHORITY_OVERRIDE - Static variable in class io.grpc.EquivalentAddressGroup
-
The authority to be used when constructing Subchannels for this EquivalentAddressGroup.
- ATTR_HEALTH_CHECKING_CONFIG - Static variable in class io.grpc.LoadBalancer
- ATTR_LOAD_BALANCING_CONFIG - Static variable in class io.grpc.LoadBalancer
-
Deprecated.
- Attributes - Class in io.grpc
-
An immutable type-safe container of attributes.
- Attributes.Builder - Class in io.grpc
-
The helper class to build an Attributes instance.
- Attributes.Key<T> - Class in io.grpc
-
Key for an key-value pair.
- augmentDescription(String) - Method in class io.grpc.Status
-
Create a derived instance of
Statusaugmenting the current description with additional detail. - authority() - Method in class io.grpc.Channel
-
The authority of the destination this channel connects to.
- available() - Method in interface io.grpc.KnownLength
-
Returns the total number of bytes that can be read (or skipped over) from this object until all bytes have been read out.
- awaitTermination() - Method in class io.grpc.Server
-
Waits for the server to become terminated.
- awaitTermination(long, TimeUnit) - Method in class io.grpc.ManagedChannel
-
Waits for the channel to become terminated, giving up if the timeout is reached.
- awaitTermination(long, TimeUnit) - Method in class io.grpc.Server
-
Waits for the server to become terminated, giving up if the timeout is reached.
B
- backoff - Variable in class io.grpc.InternalChannelz.TcpInfo
- BASE64_ENCODING_OMIT_PADDING - Static variable in class io.grpc.InternalMetadata
-
An instance of base64 encoder that omits padding.
- beforeStart(ClientCallStreamObserver<ReqT>) - Method in interface io.grpc.stub.ClientResponseObserver
-
Called by the runtime priot to the start of a call to provide a reference to the
ClientCallStreamObserverfor the outbound stream. - BIDI_STREAMING - io.grpc.MethodDescriptor.MethodType
-
Zero or more request and response messages arbitrarily interleaved in time.
- BINARY_BYTE_MARSHALLER - Static variable in class io.grpc.Metadata
-
Simple metadata marshaller that encodes bytes as is.
- BINARY_HEADER_SUFFIX - Static variable in class io.grpc.Metadata
-
All binary headers should have this suffix in their names.
- BinaryLog - Class in io.grpc
-
A binary log that can be installed on a channel or server.
- BinaryLog() - Constructor for class io.grpc.BinaryLog
- BindableService - Interface in io.grpc
-
Provides a way to bind instance of service implementation to server.
- bindService() - Method in interface io.grpc.BindableService
-
Creates
ServerServiceDefinitionobject for current instance of service implementation. - BLOCKING - io.grpc.stub.InternalClientCalls.StubType
- blockingExecutor(Executor) - Method in class io.grpc.ForwardingChannelBuilder
-
Deprecated.
- blockingExecutor(Executor) - Method in class io.grpc.ManagedChannelBuilder
-
Deprecated.
- blockingServerStreamingCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
-
Executes a server-streaming call returning a blocking
Iteratorover the response stream. - blockingServerStreamingCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
-
Executes a server-streaming call returning a blocking
Iteratorover the response stream. - blockingUnaryCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
-
Executes a unary call and blocks on the response.
- blockingUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
-
Executes a unary call and blocks on the response.
- build() - Method in class io.grpc.Attributes.Builder
-
Build the attributes.
- build() - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Builds a new StreamInfo.
- build() - Method in class io.grpc.ForwardingChannelBuilder
-
Returns the
ManagedChannelbuilt by the delegate by default. - build() - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Creates an
HttpConnectProxiedSocketAddress. - build() - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
-
Builds an instance.
- build() - Method in class io.grpc.InternalChannelz.ChannelTrace.Builder
-
Builds a new ChannelTrace instance.
- build() - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
-
Builds a new Event instance.
- build() - Method in class io.grpc.InternalChannelz.ServerStats.Builder
-
Builds an instance.
- build() - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
- build() - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
-
Builds an instance.
- build() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
Creates a new args object.
- build() - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
-
Constructs the
LoadBalancer.ResolvedAddresses. - build() - Method in class io.grpc.ManagedChannelBuilder
-
Builds a channel using the given parameters.
- build() - Method in class io.grpc.MethodDescriptor.Builder
-
Builds the method descriptor.
- build() - Method in class io.grpc.NameResolver.Args.Builder
-
Builds an
NameResolver.Args. - build() - Method in class io.grpc.NameResolver.ResolutionResult.Builder
-
Constructs a new
NameResolver.ResolutionResultfrom this builder. - build() - Method in class io.grpc.ServerBuilder
-
Builds a server using the given parameters.
- build() - Method in class io.grpc.ServerServiceDefinition.Builder
-
Construct new ServerServiceDefinition.
- build() - Method in class io.grpc.ServiceDescriptor.Builder
-
Constructs a new
ServiceDescriptor. - build(Channel, CallOptions) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub with the given channel for the provided method configurations.
- builder(ServiceDescriptor) - Static method in class io.grpc.ServerServiceDefinition
- builder(String) - Static method in class io.grpc.ServerServiceDefinition
-
Convenience that constructs a
ServiceDescriptorsimultaneously. - Builder() - Constructor for class io.grpc.InternalChannelz.ChannelStats.Builder
- Builder() - Constructor for class io.grpc.InternalChannelz.ChannelTrace.Builder
- Builder() - Constructor for class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- Builder() - Constructor for class io.grpc.InternalChannelz.ServerStats.Builder
- Builder() - Constructor for class io.grpc.InternalChannelz.SocketOptions.Builder
- Builder() - Constructor for class io.grpc.InternalChannelz.TcpInfo.Builder
- builderForAddress(String, int) - Method in class io.grpc.ManagedChannelProvider
-
Creates a new builder with the given host and port.
- builderForPort(int) - Method in class io.grpc.ServerProvider
-
Creates a new builder with the given port.
- builderForTarget(String) - Method in class io.grpc.ManagedChannelProvider
-
Creates a new builder with the given target URI.
C
- call(Callable<V>) - Method in class io.grpc.Context
-
Immediately call a
Callablewith this context as theContext.current()context. - CallCredentials - Class in io.grpc
-
Carries credential data that will be propagated to the server via request metadata for each RPC.
- CallCredentials() - Constructor for class io.grpc.CallCredentials
- CallCredentials.MetadataApplier - Class in io.grpc
-
The outlet of the produced headers.
- CallCredentials.RequestInfo - Class in io.grpc
-
The request-related information passed to
CallCredentials.applyRequestMetadata(). - CallCredentials2 - Class in io.grpc
-
Deprecated.the new interface has been promoted into
CallCredentials. Implementations should switch back to "extends CallCredentials". - CallCredentials2() - Constructor for class io.grpc.CallCredentials2
-
Deprecated.
- CallCredentials2.MetadataApplier - Class in io.grpc
-
Deprecated.
- CallOptions - Class in io.grpc
-
The collection of runtime options for a new RPC call.
- CallOptions.Key<T> - Class in io.grpc
-
Key for a key-value pair.
- callsFailed - Variable in class io.grpc.InternalChannelz.ChannelStats
- callsFailed - Variable in class io.grpc.InternalChannelz.ServerStats
- callsStarted - Variable in class io.grpc.InternalChannelz.ChannelStats
- callsStarted - Variable in class io.grpc.InternalChannelz.ServerStats
- callsSucceeded - Variable in class io.grpc.InternalChannelz.ChannelStats
- callsSucceeded - Variable in class io.grpc.InternalChannelz.ServerStats
- CallStreamObserver<V> - Class in io.grpc.stub
-
A refinement of StreamObserver provided by the GRPC runtime to the application (the client or the server) that allows for more complex interactions with call behavior.
- CallStreamObserver() - Constructor for class io.grpc.stub.CallStreamObserver
- cancel() - Method in class io.grpc.SynchronizationContext.ScheduledHandle
-
Cancel the task if it's still
pending. - cancel(String, Throwable) - Method in class io.grpc.ClientCall
-
Prevent any further processing for this
ClientCall. - cancel(String, Throwable) - Method in class io.grpc.stub.ClientCallStreamObserver
-
Prevent any further processing for this
ClientCallStreamObserver. - cancel(Throwable) - Method in class io.grpc.Context.CancellableContext
-
Cancel this context and optionally provide a cause (can be
null) for the cancellation. - cancellationCause() - Method in class io.grpc.Context.CancellableContext
- cancellationCause() - Method in class io.grpc.Context
-
If a context
Context.isCancelled()then return the cause of the cancellation ornullif context was cancelled without a cause. - cancelled(Context) - Method in interface io.grpc.Context.CancellationListener
- CANCELLED - io.grpc.Status.Code
-
The operation was cancelled (typically by the caller).
- CANCELLED - Static variable in class io.grpc.Status
-
The operation was cancelled (typically by the caller).
- canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.LoadBalancer
-
Whether this LoadBalancer can handle empty address group list to be passed to
LoadBalancer.handleResolvedAddresses(ResolvedAddresses). - captureMetadata(T, AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
-
Captures the last received metadata for a stub.
- caState - Variable in class io.grpc.InternalChannelz.TcpInfo
- Channel - Class in io.grpc
-
A virtual connection to a conceptual endpoint, to perform RPCs.
- Channel() - Constructor for class io.grpc.Channel
- ChannelLogger - Class in io.grpc
-
A Channel-specific logger provided by GRPC library to
LoadBalancerimplementations. - ChannelLogger() - Constructor for class io.grpc.ChannelLogger
- ChannelLogger.ChannelLogLevel - Enum in io.grpc
-
Log levels.
- channelRef - Variable in class io.grpc.InternalChannelz.ChannelTrace.Event
- channels - Variable in class io.grpc.InternalChannelz.RootChannelList
- channelTrace - Variable in class io.grpc.InternalChannelz.ChannelStats
- cheapMetricsOnly() - Static method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a
Configurationfor recording all cheap metrics about the rpcs. - CheckedForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ClientInterceptors.CheckedForwardingClientCall
- checkedStart(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
-
Subclasses implement the start logic here that would normally belong to
start(). - cipherSuiteStandardName - Variable in class io.grpc.InternalChannelz.Tls
- CLIENT_STREAMING - io.grpc.MethodDescriptor.MethodType
-
Zero or more request messages with one response message.
- ClientCall<ReqT,RespT> - Class in io.grpc
-
An instance of a call to a remote method.
- ClientCall() - Constructor for class io.grpc.ClientCall
- ClientCall.Listener<T> - Class in io.grpc
-
Callbacks for receiving metadata, response messages and completion status from the server.
- ClientCalls - Class in io.grpc.stub
-
Utility functions for processing different call idioms.
- ClientCallStreamObserver<V> - Class in io.grpc.stub
-
A refinement of
CallStreamObserverthat allows for lower-level interaction with client calls. - ClientCallStreamObserver() - Constructor for class io.grpc.stub.ClientCallStreamObserver
- ClientInterceptor - Interface in io.grpc
-
Interface for intercepting outgoing calls before they are dispatched by a
Channel. - ClientInterceptors - Class in io.grpc
-
Utility methods for working with
ClientInterceptors. - ClientInterceptors.CheckedForwardingClientCall<ReqT,RespT> - Class in io.grpc
-
A
ForwardingClientCallthat delivers exceptions from its start logic to the call listener. - ClientResponseObserver<ReqT,RespT> - Interface in io.grpc.stub
-
Specialization of
StreamObserverimplemented by clients in order to interact with the advanced features of a call such as flow-control. - clientSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
Returns
trueforUNARYandSERVER_STREAMING, which do not permit the client to stream. - ClientStreamTracer - Class in io.grpc
-
StreamTracerfor the client-side. - ClientStreamTracer() - Constructor for class io.grpc.ClientStreamTracer
- ClientStreamTracer.Factory - Class in io.grpc
-
Factory class for
ClientStreamTracer. - ClientStreamTracer.StreamInfo - Class in io.grpc
-
Information about a stream.
- ClientStreamTracer.StreamInfo.Builder - Class in io.grpc
-
Builds
ClientStreamTracer.StreamInfoobjects. - close() - Method in class io.grpc.Context.CancellableContext
-
Cleans up this object by calling
cancel(null). - close(Status, Metadata) - Method in class io.grpc.ServerCall
-
Close the call with the provided status.
- CODE_KEY - Static variable in class io.grpc.InternalStatus
-
Key to bind status code to trailing metadata.
- Codec - Interface in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- Codec.Gzip - Class in io.grpc
-
A gzip compressor and decompressor.
- Codec.Identity - Class in io.grpc
-
The "identity", or "none" codec.
- compareTo(Deadline) - Method in class io.grpc.Deadline
- compress(OutputStream) - Method in class io.grpc.Codec.Gzip
- compress(OutputStream) - Method in class io.grpc.Codec.Identity
- compress(OutputStream) - Method in interface io.grpc.Compressor
-
Wraps an existing output stream with a compressing output stream.
- Compressor - Interface in io.grpc
-
Represents a message compressor.
- compressorRegistry(CompressorRegistry) - Method in class io.grpc.ForwardingChannelBuilder
- compressorRegistry(CompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
-
Set the compression registry for use in the channel.
- compressorRegistry(CompressorRegistry) - Method in class io.grpc.ServerBuilder
-
Set the compression registry for use in the channel.
- CompressorRegistry - Class in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- Configuration - Class in me.dinowernli.grpc.prometheus
-
Holds information about which metrics should be kept track of during rpc calls.
- CONNECTING - io.grpc.ConnectivityState
-
The channel is trying to establish a connection and is waiting to make progress on one of the steps involved in name resolution, TCP connection establishment or TLS handshake.
- ConnectivityState - Enum in io.grpc
-
The connectivity states.
- ConnectivityStateInfo - Class in io.grpc
-
A tuple of a
ConnectivityStateand its associatedStatus. - containsClientSocket(InternalLogId) - Method in class io.grpc.InternalChannelz
- containsKey(Metadata.Key<?>) - Method in class io.grpc.Metadata
-
Returns true if a value is defined for the given key.
- containsServer(InternalLogId) - Method in class io.grpc.InternalChannelz
- containsSubchannel(InternalLogId) - Method in class io.grpc.InternalChannelz
- Context - Class in io.grpc
-
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
- Context.CancellableContext - Class in io.grpc
-
A context which inherits cancellation from its parent but which can also be independently cancelled and which will propagate cancellation to its descendants.
- Context.CancellationListener - Interface in io.grpc
-
A listener notified on context cancellation.
- Context.Key<T> - Class in io.grpc
-
Key for indexing values stored in a context.
- Context.Storage - Class in io.grpc
-
Defines the mechanisms for attaching and detaching the "current" context.
- Contexts - Class in io.grpc
-
Utility methods for working with
Contexts in GRPC. - copyWithFlowControl(Iterable<V>, CallStreamObserver<V>) - Static method in class io.grpc.stub.StreamObservers
-
Copy the values of an
Iterableto the targetCallStreamObserverwhile properly accounting for outbound flow-control. - copyWithFlowControl(Iterator<V>, CallStreamObserver<V>) - Static method in class io.grpc.stub.StreamObservers
-
Copy the values of an
Iteratorto the targetCallStreamObserverwhile properly accounting for outbound flow-control. - create(MethodDescriptor.MethodType, String, MethodDescriptor.Marshaller<RequestT>, MethodDescriptor.Marshaller<ResponseT>) - Static method in class io.grpc.MethodDescriptor
-
Deprecated.
- create(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.ServerMethodDefinition
-
Create a new instance.
- create(String) - Static method in class io.grpc.Attributes.Key
-
Factory method for creating instances of
Attributes.Key. - create(String) - Static method in class io.grpc.CallOptions.Key
-
Factory method for creating instances of
CallOptions.Key. - create(String) - Static method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
Factory method for creating instances of
LoadBalancer.CreateSubchannelArgs.Key. - create(Configuration) - Static method in class me.dinowernli.grpc.prometheus.MonitoringClientInterceptor
- create(Configuration) - Static method in class me.dinowernli.grpc.prometheus.MonitoringServerInterceptor
- createOobChannel(EquivalentAddressGroup, String) - Method in class io.grpc.LoadBalancer.Helper
-
Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external load-balancer service.
- createResolvingOobChannel(String) - Method in class io.grpc.LoadBalancer.Helper
-
Creates an out-of-band channel for LoadBalancer's own RPC needs, e.g., talking to an external load-balancer service, that is specified by a target string.
- createSubchannel(EquivalentAddressGroup, Attributes) - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.Use
LoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)instead. Note the new API must be called fromthe Synchronization Context. - createSubchannel(LoadBalancer.CreateSubchannelArgs) - Method in class io.grpc.LoadBalancer.Helper
-
Creates a Subchannel, which is a logical connection to the given group of addresses which are considered equivalent.
- createSubchannel(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.Use
LoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)instead. Note the new API must be called fromthe Synchronization Context. - createWithDefault(String, T) - Static method in class io.grpc.CallOptions.Key
-
Factory method for creating instances of
CallOptions.Key. - createWithDefault(String, T) - Static method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
Factory method for creating instances of
LoadBalancer.CreateSubchannelArgs.Key. - creationTimeNanos - Variable in class io.grpc.InternalChannelz.ChannelTrace
- CT_ERROR - io.grpc.InternalChannelz.ChannelTrace.Event.Severity
- CT_INFO - io.grpc.InternalChannelz.ChannelTrace.Event.Severity
- CT_UNKNOWN - io.grpc.InternalChannelz.ChannelTrace.Event.Severity
- CT_WARNING - io.grpc.InternalChannelz.ChannelTrace.Event.Severity
- current() - Static method in class io.grpc.Context
-
Return the context associated with the current scope, will never return
null. - current() - Method in class io.grpc.Context.Storage
-
Implements
Context.current(). - currentContextExecutor(Executor) - Static method in class io.grpc.Context
-
Create an executor that propagates the
Context.current()context whenExecutor.execute(java.lang.Runnable)is called as theContext.current()context of theRunnablescheduled.
D
- data - Variable in class io.grpc.InternalChannelz.SocketStats
- DATA_LOSS - io.grpc.Status.Code
-
Unrecoverable data loss or corruption.
- DATA_LOSS - Static variable in class io.grpc.Status
-
Unrecoverable data loss or corruption.
- Deadline - Class in io.grpc
-
An absolute point in time, generally for tracking when a task should be completed.
- DEADLINE_EXCEEDED - io.grpc.Status.Code
-
Deadline expired before operation could complete.
- DEADLINE_EXCEEDED - Static variable in class io.grpc.Status
-
Deadline expired before operation could complete.
- Deadline.Ticker - Class in io.grpc
-
Time source representing nanoseconds since fixed but arbitrary point in time.
- DEBUG - io.grpc.ChannelLogger.ChannelLogLevel
- decompress(InputStream) - Method in class io.grpc.Codec.Gzip
- decompress(InputStream) - Method in class io.grpc.Codec.Identity
- decompress(InputStream) - Method in interface io.grpc.Decompressor
-
Wraps an existing input stream with a decompressing input stream.
- Decompressor - Interface in io.grpc
-
Represents a message decompressor.
- decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ForwardingChannelBuilder
- decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
-
Set the decompression registry for use in the channel.
- decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ServerBuilder
-
Set the decompression registry for use in the channel.
- DecompressorRegistry - Class in io.grpc
-
Encloses classes related to the compression and decompression of messages.
- DEFAULT - Static variable in class io.grpc.CallOptions
-
A blank
CallOptionsthat all fields are not set. - defaultLoadBalancingPolicy(String) - Method in class io.grpc.ForwardingChannelBuilder
- defaultLoadBalancingPolicy(String) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the default load-balancing policy that will be used if the service config doesn't specify one.
- defaultServiceConfig(Map<String, ?>) - Method in class io.grpc.ForwardingChannelBuilder
- defaultServiceConfig(Map<String, ?>) - Method in class io.grpc.ManagedChannelBuilder
-
Provides a service config to the channel.
- delegate() - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
- delegate() - Method in class io.grpc.ForwardingChannelBuilder
-
Returns the delegated
ManagedChannelBuilder. - delegate() - Method in class io.grpc.ForwardingClientCall
-
Returns the delegated
ClientCall. - delegate() - Method in class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
- delegate() - Method in class io.grpc.ForwardingClientCallListener
-
Returns the delegated
ClientCall.Listener. - delegate() - Method in class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
- delegate() - Method in class io.grpc.ForwardingServerCall
-
Returns the delegated
ServerCall. - delegate() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
- delegate() - Method in class io.grpc.ForwardingServerCallListener
-
Returns the delegated
ServerCall.Listener. - delegate() - Method in class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
- deregister(LoadBalancerProvider) - Method in class io.grpc.LoadBalancerRegistry
-
Deregisters a provider.
- deregister(NameResolverProvider) - Method in class io.grpc.NameResolverRegistry
-
Deregisters a provider.
- description - Variable in class io.grpc.InternalChannelz.ChannelTrace.Event
- detach(Context) - Method in class io.grpc.Context.CancellableContext
- detach(Context) - Method in class io.grpc.Context
-
Reverse an
attach(), restoring the previous context and exiting the current scope. - detach(Context, Context) - Method in class io.grpc.Context.Storage
-
Implements
Context.detach(io.grpc.Context) - detachAndCancel(Context, Throwable) - Method in class io.grpc.Context.CancellableContext
-
Cancel this context and detach it as the current context.
- directExecutor() - Method in class io.grpc.ForwardingChannelBuilder
- directExecutor() - Method in class io.grpc.ManagedChannelBuilder
-
Execute application code directly in the transport thread.
- directExecutor() - Method in class io.grpc.ServerBuilder
-
Execute application code directly in the transport thread.
- disableAutoInboundFlowControl() - Method in class io.grpc.stub.CallStreamObserver
-
Disables automatic flow control where a token is returned to the peer after a call to the 'inbound'
StreamObserver.onNext(Object)has completed. - disableRetry() - Method in class io.grpc.ForwardingChannelBuilder
- disableRetry() - Method in class io.grpc.ManagedChannelBuilder
-
Disables the retry and hedging mechanism provided by the gRPC library.
- disableServiceConfigLookUp() - Method in class io.grpc.ForwardingChannelBuilder
- disableServiceConfigLookUp() - Method in class io.grpc.ManagedChannelBuilder
-
Disables service config look-up from the naming system, which is enabled by default.
- discard(Attributes.Key<T>) - Method in class io.grpc.Attributes.Builder
-
Removes the key and associated value from the attribtues.
- discardAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Remove all values for the given key without returning them.
- doAttach(Context) - Method in class io.grpc.Context.Storage
-
Implements
Context.attach(). - drain() - Method in class io.grpc.SynchronizationContext
-
Run all tasks in the queue in the current thread, if no other thread is running this method.
- Drainable - Interface in io.grpc
-
Extension to an
InputStreamor alike by adding a method that transfers all content to anOutputStream. - drainTo(OutputStream) - Method in interface io.grpc.Drainable
-
Transfers the entire contents of this stream to the specified target.
E
- EMPTY - Static variable in class io.grpc.Attributes
- emptyInstance() - Static method in class io.grpc.DecompressorRegistry
- enableFullStreamDecompression() - Method in class io.grpc.ForwardingChannelBuilder
- enableFullStreamDecompression() - Method in class io.grpc.ManagedChannelBuilder
-
Enables full-stream decompression of inbound streams.
- enableRetry() - Method in class io.grpc.ForwardingChannelBuilder
- enableRetry() - Method in class io.grpc.ManagedChannelBuilder
-
Enables the retry and hedging mechanism provided by the gRPC library.
- end - Variable in class io.grpc.InternalChannelz.RootChannelList
- end - Variable in class io.grpc.InternalChannelz.ServerList
- end - Variable in class io.grpc.InternalChannelz.ServerSocketsList
- enterIdle() - Method in class io.grpc.ManagedChannel
-
Invoking this method moves the channel into the IDLE state and triggers tear-down of the channel's name resolver and load balancer, while still allowing on-going RPCs on the channel to continue.
- equals(Object) - Method in class io.grpc.Attributes
-
Returns true if the given object is also a
Attributeswith an equal attribute values. - equals(Object) - Method in class io.grpc.ConnectivityStateInfo
- equals(Object) - Method in class io.grpc.Deadline
- equals(Object) - Method in class io.grpc.EquivalentAddressGroup
-
Returns true if the given object is also an
EquivalentAddressGroupwith an equal address list and equal attribute values. - equals(Object) - Method in class io.grpc.HttpConnectProxiedSocketAddress
- equals(Object) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event
- equals(Object) - Method in class io.grpc.LoadBalancer.PickResult
- equals(Object) - Method in class io.grpc.LoadBalancer.ResolvedAddresses
- equals(Object) - Method in class io.grpc.LoadBalancerProvider
-
Uses identity equality.
- equals(Object) - Method in class io.grpc.Metadata.Key
-
Returns true if the two objects are both Keys, and their names match (case insensitive).
- equals(Object) - Method in class io.grpc.NameResolver.ConfigOrError
- equals(Object) - Method in class io.grpc.NameResolver.ResolutionResult
-
Useful for testing.
- equals(Object) - Method in class io.grpc.Status
-
Equality on Statuses is not well defined.
- EquivalentAddressGroup - Class in io.grpc
-
A group of
SocketAddresses that are considered equivalent when channel makes connections. - EquivalentAddressGroup(SocketAddress) - Constructor for class io.grpc.EquivalentAddressGroup
-
Singleton constructor without Attributes.
- EquivalentAddressGroup(SocketAddress, Attributes) - Constructor for class io.grpc.EquivalentAddressGroup
-
Singleton constructor with Attributes.
- EquivalentAddressGroup(List<SocketAddress>) - Constructor for class io.grpc.EquivalentAddressGroup
-
List constructor without
Attributes. - EquivalentAddressGroup(List<SocketAddress>, Attributes) - Constructor for class io.grpc.EquivalentAddressGroup
-
List constructor with
Attributes. - EquivalentAddressGroup.Attr - Annotation Type in io.grpc
-
Annotation for
EquivalentAddressGroup's attributes. - ERROR - io.grpc.ChannelLogger.ChannelLogLevel
- events - Variable in class io.grpc.InternalChannelz.ChannelTrace
- execute(Runnable) - Method in class io.grpc.SynchronizationContext
-
Adds a task and run it in this synchronization context as soon as possible.
- executeLater(Runnable) - Method in class io.grpc.SynchronizationContext
-
Adds a task that will be run when
SynchronizationContext.drain()is called. - executor(Executor) - Method in class io.grpc.ForwardingChannelBuilder
- executor(Executor) - Method in class io.grpc.ManagedChannelBuilder
-
Provides a custom executor.
- executor(Executor) - Method in class io.grpc.ServerBuilder
-
Provides a custom executor.
- ExperimentalApi - Annotation Type in io.grpc
-
Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.
- extractFullServiceName(String) - Static method in class io.grpc.MethodDescriptor
-
Extract the fully qualified service name out of a fully qualified method name.
F
- fackets - Variable in class io.grpc.InternalChannelz.TcpInfo
- Factory() - Constructor for class io.grpc.ClientStreamTracer.Factory
- Factory() - Constructor for class io.grpc.LoadBalancer.Factory
- Factory() - Constructor for class io.grpc.NameResolver.Factory
- Factory() - Constructor for class io.grpc.ServerStreamTracer.Factory
- fail(Status) - Method in class io.grpc.CallCredentials.MetadataApplier
-
Called when there has been an error when preparing the headers.
- FAILED_PRECONDITION - io.grpc.Status.Code
-
Operation was rejected because the system is not in a state required for the operation's execution.
- FAILED_PRECONDITION - Static variable in class io.grpc.Status
-
Operation was rejected because the system is not in a state required for the operation's execution.
- fallbackHandlerRegistry(HandlerRegistry) - Method in class io.grpc.ServerBuilder
-
Sets a fallback handler registry that will be looked up in if a method is not found in the primary registry.
- fillInStackTrace() - Method in exception io.grpc.StatusException
- fillInStackTrace() - Method in exception io.grpc.StatusRuntimeException
- filterContext(Context) - Method in class io.grpc.ServerStreamTracer
-
Called before the interceptors and the call handlers and make changes to the Context object if needed.
- fixedContextExecutor(Executor) - Method in class io.grpc.Context
-
Wrap an
Executorso that it always executes with this context as theContext.current()context. - forAddress(String, int) - Static method in class io.grpc.ForwardingChannelBuilder
-
This method serves to force sub classes to "hide" this static factory.
- forAddress(String, int) - Static method in class io.grpc.ManagedChannelBuilder
-
Creates a channel with the target's address and port number.
- fork() - Method in class io.grpc.Context
-
Create a new context which propagates the values of this context but does not cascade its cancellation.
- forNonError(ConnectivityState) - Static method in class io.grpc.ConnectivityStateInfo
-
Returns an instance for a state that is not
TRANSIENT_FAILURE. - forPort(int) - Static method in class io.grpc.ServerBuilder
-
Static factory for creating a new ServerBuilder.
- forTarget(String) - Static method in class io.grpc.ForwardingChannelBuilder
-
This method serves to force sub classes to "hide" this static factory.
- forTarget(String) - Static method in class io.grpc.ManagedChannelBuilder
-
Creates a channel with a target string, which can be either a valid
NameResolver-compliant URI, or an authority string. - forTransientFailure(Status) - Static method in class io.grpc.ConnectivityStateInfo
-
Returns an instance for
TRANSIENT_FAILURE, associated with an error status. - ForwardingChannelBuilder<T extends ForwardingChannelBuilder<T>> - Class in io.grpc
-
A
ManagedChannelBuilderthat delegates all its builder method to another builder by default. - ForwardingChannelBuilder() - Constructor for class io.grpc.ForwardingChannelBuilder
-
The default constructor.
- ForwardingClientCall<ReqT,RespT> - Class in io.grpc
-
A
ClientCallwhich forwards all of it's methods to anotherClientCall. - ForwardingClientCall() - Constructor for class io.grpc.ForwardingClientCall
- ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT> - Class in io.grpc
-
A simplified version of
ForwardingClientCallwhere subclasses can pass in aClientCallas the delegate. - ForwardingClientCallListener<RespT> - Class in io.grpc
-
A
ClientCall.Listenerwhich forwards all of its methods to anotherClientCall.Listener. - ForwardingClientCallListener() - Constructor for class io.grpc.ForwardingClientCallListener
- ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT> - Class in io.grpc
-
A simplified version of
ForwardingClientCallListenerwhere subclasses can pass in aClientCall.Listeneras the delegate. - ForwardingServerCall<ReqT,RespT> - Class in io.grpc
-
A
ServerCallwhich forwards all of it's methods to anotherServerCall. - ForwardingServerCall() - Constructor for class io.grpc.ForwardingServerCall
- ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT> - Class in io.grpc
-
A simplified version of
ForwardingServerCallwhere subclasses can pass in aServerCallas the delegate. - ForwardingServerCallListener<ReqT> - Class in io.grpc
-
A
ServerCall.Listenerwhich forwards all of its methods to anotherServerCall.Listenerof matching parameterized types. - ForwardingServerCallListener() - Constructor for class io.grpc.ForwardingServerCallListener
- ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT> - Class in io.grpc
-
A simplified version of
ForwardingServerCallListenerwhere subclasses can pass in aServerCall.Listeneras the delegate. - fromCode(Status.Code) - Static method in class io.grpc.Status
-
Return a
Statusgiven a canonical errorStatus.Codeobject. - fromCodeValue(int) - Static method in class io.grpc.Status
-
Return a
Statusgiven a canonical errorStatus.Codevalue. - fromConfig(Object) - Static method in class io.grpc.NameResolver.ConfigOrError
-
Returns a
NameResolver.ConfigOrErrorfor the successfully parsed config. - fromError(Status) - Static method in class io.grpc.NameResolver.ConfigOrError
-
Returns a
NameResolver.ConfigOrErrorfor the failure to parse the config. - fromThrowable(Throwable) - Static method in class io.grpc.Status
-
Extract an error
Statusfrom the causal chain of aThrowable. - fullMethodName() - Method in annotation type io.grpc.stub.annotations.RpcMethod
-
The fully qualified method name.
- FUTURE - io.grpc.stub.InternalClientCalls.StubType
- futureUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
-
Executes a unary call and returns a
ListenableFutureto the response.
G
- generateFullMethodName(String, String) - Static method in class io.grpc.MethodDescriptor
-
Generate the fully qualified method name.
- geRawMethodName(MethodDescriptor<?, ?>) - Method in class io.grpc.InternalMethodDescriptor
- get() - Method in class io.grpc.Context.Key
-
Get the value from the
Context.current()context for this key. - get(Attributes.Key<T>) - Method in class io.grpc.Attributes
-
Gets the value for the key, or
nullif it's not present. - get(Context) - Method in class io.grpc.Context.Key
-
Get the value from the specified context for this key.
- get(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Returns the last metadata entry added with the name 'name' parsed as T.
- getAddresses() - Method in class io.grpc.EquivalentAddressGroup
-
Returns an immutable list of the addresses.
- getAddresses() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
Returns the addresses, which is an unmodifiable list.
- getAddresses() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Gets the server addresses.
- getAddresses() - Method in class io.grpc.LoadBalancer.Subchannel
-
Returns the addresses that this Subchannel is bound to.
- getAddresses() - Method in class io.grpc.NameResolver.ResolutionResult
-
Gets the addresses resolved by name resolution.
- getAdvertisedMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
Provides a list of all message encodings that have decompressors available and should be advertised.
- getAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Returns all the metadata entries named 'name', in the order they were received, parsed as T, or null if there are none.
- getAllAddresses() - Method in class io.grpc.LoadBalancer.Subchannel
-
Returns the addresses that this Subchannel is bound to.
- getAttributes() - Method in class io.grpc.ClientCall
-
Returns additional properties of the call.
- getAttributes() - Method in class io.grpc.EquivalentAddressGroup
-
Returns the attributes.
- getAttributes() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
Returns the attributes.
- getAttributes() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Gets the attributes associated with these addresses.
- getAttributes() - Method in class io.grpc.LoadBalancer.Subchannel
-
The same attributes passed to
Helper.createSubchannel(). - getAttributes() - Method in class io.grpc.NameResolver.ResolutionResult
-
Gets the attributes associated with the addresses resolved by name resolution.
- getAttributes() - Method in class io.grpc.ServerCall
-
Returns properties of a single call.
- getAttributes() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
- getAuthority() - Method in class io.grpc.CallCredentials.RequestInfo
-
Returns the authority string used to authenticate the server for this call.
- getAuthority() - Method in class io.grpc.CallOptions
-
Override the HTTP/2 authority the channel claims to be connecting to.
- getAuthority() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the authority string of the channel, which is derived from the DNS-style target name.
- getAuthority() - Method in class io.grpc.ServerCall
-
Gets the authority this call is addressed to.
- getAuthority() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
- getCallOptions() - Method in class io.grpc.ClientStreamTracer.StreamInfo
-
Returns the effective CallOptions of the call.
- getCallOptions() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
-
Call options.
- getCallOptions() - Method in class io.grpc.stub.AbstractStub
-
The
CallOptionsof the stub. - getCandidatesViaHardCoded(Class<T>, Iterable<Class<?>>) - Static method in class io.grpc.InternalServiceProviders
-
Accessor for method.
- getCandidatesViaServiceLoader(Class<T>, ClassLoader) - Static method in class io.grpc.InternalServiceProviders
-
Accessor for method.
- getCause() - Method in class io.grpc.Status
-
The underlying cause of an error.
- getChannel() - Method in class io.grpc.stub.AbstractStub
-
The underlying channel of the stub.
- getChannel(long) - Method in class io.grpc.InternalChannelz
-
Returns a channel.
- getChannelLogger() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the
ChannelLoggerfor the Channel served by this LoadBalancer. - getChannelLogger() - Method in class io.grpc.LoadBalancer.Subchannel
-
Returns a
ChannelLoggerfor this Subchannel. - getChannelLogger() - Method in class io.grpc.NameResolver.Args
-
Returns the
ChannelLoggerfor the Channel served by this NameResolver. - getCode() - Method in class io.grpc.Status
-
The canonical status code.
- getCollectorRegistry() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns the
CollectorRegistryused to record stats. - getCompressor() - Method in class io.grpc.CallOptions
-
Returns the compressor's name.
- getConfig() - Method in class io.grpc.NameResolver.ConfigOrError
-
Returns config if exists, otherwise null.
- getCredentials() - Method in class io.grpc.CallOptions
-
Returns the call credentials.
- getDeadline() - Method in class io.grpc.CallOptions
-
Returns the deadline or
nullif the deadline is not set. - getDeadline() - Method in class io.grpc.Context.CancellableContext
- getDeadline() - Method in class io.grpc.Context
-
A context may have an associated
Deadlineat which it will be automatically cancelled. - getDefault() - Method in class io.grpc.CallOptions.Key
-
Returns the user supplied default value for this key.
- getDefault() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
Returns the user supplied default value for this key.
- getDefaultInstance() - Static method in class io.grpc.CompressorRegistry
-
Returns the default instance used by gRPC when the registry is not specified.
- getDefaultInstance() - Static method in class io.grpc.DecompressorRegistry
- getDefaultPort() - Method in class io.grpc.NameResolver.Args
-
The port number used in case the target or the underlying naming system doesn't provide a port number.
- getDefaultPort() - Method in class io.grpc.NameResolver.Helper
-
Deprecated.The port number used in case the target or the underlying naming system doesn't provide a port number.
- getDefaultRegistry() - Static method in class io.grpc.LoadBalancerRegistry
-
Returns the default registry that loads providers via the Java service loader mechanism.
- getDefaultRegistry() - Static method in class io.grpc.NameResolverRegistry
-
Returns the default registry that loads providers via the Java service loader mechanism.
- getDefaultScheme() - Method in class io.grpc.NameResolver.Factory
-
Returns the default scheme, which will be used to construct a URI when
ManagedChannelBuilder.forTarget(String)is given an authority string instead of a compliant URI. - getDescription() - Method in class io.grpc.Status
-
A description of this status for human consumption.
- getDetails() - Method in class io.grpc.InternalLogId
- getError() - Method in class io.grpc.NameResolver.ConfigOrError
-
Returns error status if exists, otherwise null.
- getExecutor() - Method in class io.grpc.CallOptions
- getFullMethodName() - Method in class io.grpc.MethodDescriptor
-
The fully qualified name of the method.
- getHeaders() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
-
Headers of the call.
- getId() - Method in class io.grpc.InternalLogId
- getImmutableServices() - Method in class io.grpc.Server
-
Returns immutable services registered with the server, or an empty list if not supported by the implementation.
- getInternalSubchannel() - Method in class io.grpc.LoadBalancer.Subchannel
-
(Internal use only) returns an object that represents the underlying subchannel that is used by the Channel for sending RPCs when this
LoadBalancer.Subchannelis picked. - getKnownMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
Provides a list of all message encodings that have decompressors available.
- getLabelHeaders() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns the configured list of headers to be used as labels.
- getLatencyBuckets() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns the histogram buckets to use for latency metrics.
- getListenSockets() - Method in class io.grpc.Server
-
Returns a list of listening sockets for this server.
- getLoadBalancingPolicyConfig() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Gets the domain specific load balancing policy.
- getLogId() - Method in interface io.grpc.InternalWithLogId
-
Returns an ID that is primarily used in debug logs.
- getMaxInboundMessageSize() - Method in class io.grpc.CallOptions
-
Gets the maximum allowed message size acceptable from the remote peer.
- getMaxOutboundMessageSize() - Method in class io.grpc.CallOptions
-
Gets the maximum allowed message size acceptable to send the remote peer.
- getMessageClass() - Method in interface io.grpc.MethodDescriptor.ReflectableMarshaller
-
Returns the
Classthat this marshaller serializes and deserializes. - getMessageEncoding() - Method in class io.grpc.Codec.Gzip
- getMessageEncoding() - Method in class io.grpc.Codec.Identity
- getMessageEncoding() - Method in interface io.grpc.Compressor
-
Returns the message encoding that this compressor uses.
- getMessageEncoding() - Method in interface io.grpc.Decompressor
-
Returns the message encoding that this compressor uses.
- getMessagePrototype() - Method in interface io.grpc.MethodDescriptor.PrototypeMarshaller
-
An instance of the expected message type, typically used as a schema and helper for producing other message instances.
- getMethod(String) - Method in class io.grpc.ServerServiceDefinition
-
Look up a method by its fully qualified name.
- getMethodDescriptor() - Method in class io.grpc.CallCredentials.RequestInfo
-
The method descriptor of this RPC.
- getMethodDescriptor() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
- getMethodDescriptor() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
-
Call method.
- getMethodDescriptor() - Method in class io.grpc.ServerCall
-
The
MethodDescriptorfor the call. - getMethodDescriptor() - Method in class io.grpc.ServerMethodDefinition
-
The
MethodDescriptorfor this method. - getMethodDescriptor() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
- getMethods() - Method in class io.grpc.ServerServiceDefinition
-
Gets all the methods of service.
- getMethods() - Method in class io.grpc.ServiceDescriptor
-
A collection of
MethodDescriptorinstances describing the methods exposed by the service. - getMutableServices() - Method in class io.grpc.Server
-
Returns mutable services registered with the server, or an empty list if not supported by the implementation.
- getName() - Method in class io.grpc.ServiceDescriptor
-
Simple name of the service.
- getNameResolverArgs() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the
NameResolver.Argsthat the Channel uses to createNameResolvers. - getNameResolverFactory() - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.this method will be deleted in a future release. If you think it shouldn't be deleted, please file an issue on github.
- getNameResolverRegistry() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the
NameResolverRegistrythat the Channel uses to look forNameResolvers. - getOffloadExecutor() - Method in class io.grpc.NameResolver.Args
-
Returns the Executor on which this resolver should execute long-running or I/O bound work.
- getOption(CallOptions.Key<T>) - Method in class io.grpc.CallOptions
-
Get the value for a custom option or its inherent default.
- getOption(LoadBalancer.CreateSubchannelArgs.Key<T>) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
Get the value for a custom option or its inherent default.
- getPassword() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the password used to connect to the proxy.
- getPolicyName() - Method in class io.grpc.LoadBalancerProvider
-
Returns the load-balancing policy name associated with this provider, which makes it selectable via
LoadBalancerRegistry.getProvider(java.lang.String). - getPort() - Method in class io.grpc.Server
-
Returns the port number the server is listening on.
- getPriority() - Method in class io.grpc.LoadBalancerProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
- getProvider(String) - Method in class io.grpc.LoadBalancerRegistry
-
Returns the effective provider for the given load-balancing policy, or
nullif no suitable provider can be found. - getProxyAddress() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the address to the proxy, which is already resolved.
- getProxyDetector() - Method in class io.grpc.NameResolver.Args
-
If the NameResolver wants to support proxy, it should inquire this
ProxyDetector. - getProxyDetector() - Method in class io.grpc.NameResolver.Helper
-
Deprecated.If the NameResolver wants to support proxy, it should inquire this
ProxyDetector. - getRawAdvertisedMessageEncodings(DecompressorRegistry) - Static method in class io.grpc.InternalDecompressorRegistry
- getRequestMarshaller() - Method in class io.grpc.MethodDescriptor
-
Returns the marshaller for the request type.
- getResponseMarshaller() - Method in class io.grpc.MethodDescriptor
-
Returns the marshaller for the response type.
- getRootChannel(long) - Method in class io.grpc.InternalChannelz
- getRootChannels(long, int) - Method in class io.grpc.InternalChannelz
-
Returns a
InternalChannelz.RootChannelList. - getSanitizedLabelHeaders() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns the sanitized version of the label headers, after turning all hyphens to underscores.
- getScheduledExecutorService() - Method in class io.grpc.LoadBalancer.Helper
-
Returns a
ScheduledExecutorServicefor scheduling delayed tasks. - getScheduledExecutorService() - Method in class io.grpc.NameResolver.Args
-
Returns a
ScheduledExecutorServicefor scheduling delayed tasks. - getSchemaDescriptor() - Method in class io.grpc.MethodDescriptor
-
Returns the schema descriptor for this method.
- getSchemaDescriptor() - Method in class io.grpc.ServiceDescriptor
-
Returns the schema descriptor for this service.
- getSecurityLevel() - Method in class io.grpc.CallCredentials.RequestInfo
-
The security level on the transport.
- getServerCallHandler() - Method in class io.grpc.ServerMethodDefinition
-
Handler for incoming calls.
- getServers(long, int) - Method in class io.grpc.InternalChannelz
-
Returns a server list.
- getServerSockets(long, long, int) - Method in class io.grpc.InternalChannelz
-
Returns socket refs for a server.
- getServiceAuthority() - Method in class io.grpc.NameResolver
-
Returns the authority used to authenticate connections to servers.
- getServiceConfig() - Method in class io.grpc.NameResolver.ResolutionResult
-
Gets the Service Config parsed by
NameResolver.Helper.parseServiceConfig(Map). - getServiceConfigParser() - Method in class io.grpc.NameResolver.Args
-
Returns the
NameResolver.ServiceConfigParser. - getServiceDescriptor() - Method in class io.grpc.ServerServiceDefinition
-
The descriptor for the service.
- getServiceName() - Method in class io.grpc.MethodDescriptor
-
A convenience method for
extractFullServiceName(getFullMethodName()). - getServices() - Method in class io.grpc.HandlerRegistry
-
Returns the
ServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation. - getServices() - Method in class io.grpc.Server
-
Returns all services registered with the server, or an empty list if not supported by the implementation.
- getSocket(long) - Method in class io.grpc.InternalChannelz
-
Returns a socket.
- getState() - Method in class io.grpc.ConnectivityStateInfo
-
Returns the state.
- getState(boolean) - Method in class io.grpc.ManagedChannel
-
Gets the current connectivity state.
- getStats() - Method in interface io.grpc.InternalInstrumented
-
Returns the stats object.
- getStatus() - Method in class io.grpc.ConnectivityStateInfo
-
Returns the status associated with the state.
- getStatus() - Method in class io.grpc.LoadBalancer.PickResult
-
The status associated with this result.
- getStatus() - Method in exception io.grpc.StatusException
-
Returns the status code as a
Statusobject. - getStatus() - Method in exception io.grpc.StatusRuntimeException
-
Returns the status code as a
Statusobject. - getStreamTracerFactories() - Method in class io.grpc.CallOptions
-
Returns an immutable list of
ClientStreamTracerFactorys. - getStreamTracerFactory() - Method in class io.grpc.LoadBalancer.PickResult
-
The stream tracer factory this result was created with.
- getStubType(CallOptions) - Static method in class io.grpc.stub.InternalClientCalls
-
Returns
InternalClientCalls.StubTypefrom call options. - getStubTypeOption() - Static method in class io.grpc.stub.InternalClientCalls
-
Internal accessor for
ClientCalls.STUB_TYPE_OPTION. - getSubchannel() - Method in class io.grpc.LoadBalancer.PickResult
-
The Subchannel if this result was created by
withSubchannel(), or null otherwise. - getSubchannel(long) - Method in class io.grpc.InternalChannelz
-
Returns a subchannel.
- getSynchronizationContext() - Method in class io.grpc.LoadBalancer.Helper
-
Returns a
SynchronizationContextthat runs tasks in the same Synchronization Context as that the callback methods on theLoadBalancerinterface are run in. - getSynchronizationContext() - Method in class io.grpc.NameResolver.Args
-
Returns the
SynchronizationContextwhereNameResolver.start(Listener2),NameResolver.shutdown()andNameResolver.refresh()are run from. - getSynchronizationContext() - Method in class io.grpc.NameResolver.Helper
-
Deprecated.Returns the
SynchronizationContextwhereNameResolver.start(Listener2),NameResolver.shutdown()andNameResolver.refresh()are run from. - getSystemTicker() - Static method in class io.grpc.Deadline
-
Returns the ticker that's based on system clock.
- getTargetAddress() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the address to the target server.
- getTrailers() - Method in exception io.grpc.StatusException
-
Returns the received trailers.
- getTrailers() - Method in exception io.grpc.StatusRuntimeException
-
Returns the received trailers.
- getTransportAttrs() - Method in class io.grpc.CallCredentials.RequestInfo
-
Returns the transport attributes.
- getTransportAttrs() - Method in class io.grpc.ClientStreamTracer.StreamInfo
-
Returns the attributes of the transport that this stream was created on.
- getType() - Method in class io.grpc.MethodDescriptor
-
The call type of the method.
- getTypeName() - Method in class io.grpc.InternalLogId
- getUsername() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the username used to connect to the proxy.
- getWaitForReady(CallOptions) - Static method in class io.grpc.InternalCallOptions
-
Gets the waitForReady bit or
nullif it was never set. - Grpc - Class in io.grpc
-
Stuff that are part of the public API but are not bound to particular classes, e.g., static methods, constants, attribute and context keys.
- Grpc.TransportAttr - Annotation Type in io.grpc
-
Annotation for transport attributes.
- Gzip() - Constructor for class io.grpc.Codec.Gzip
H
- halfClose() - Method in class io.grpc.ClientCall
-
Close the call for request message sending.
- handleNameResolutionError(Status) - Method in class io.grpc.LoadBalancer
-
Handles an error from the name resolution system.
- handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.LoadBalancer
-
Handles newly resolved server groups and metadata attributes from name resolution system.
- handleResolvedAddressGroups(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.LoadBalancer
-
Deprecated.override
instead - HandlerRegistry - Class in io.grpc
-
Registry of services and their methods used by servers to dispatching incoming calls.
- HandlerRegistry() - Constructor for class io.grpc.HandlerRegistry
- handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.LoadBalancer
-
Deprecated.This method will be removed. Stop overriding it. Instead, pass
LoadBalancer.SubchannelStateListenertoLoadBalancer.Subchannel.start(io.grpc.LoadBalancer.SubchannelStateListener)to receive Subchannel state updates - handshakeTimeout(long, TimeUnit) - Method in class io.grpc.ServerBuilder
-
Sets the permitted time for new connections to complete negotiation handshakes before being killed.
- HARDCODED_CLASSES - Static variable in class io.grpc.InternalManagedChannelProvider
- hashCode() - Method in class io.grpc.Attributes
-
Returns a hash code for the attributes.
- hashCode() - Method in class io.grpc.ConnectivityStateInfo
- hashCode() - Method in class io.grpc.Deadline
- hashCode() - Method in class io.grpc.EquivalentAddressGroup
- hashCode() - Method in class io.grpc.HttpConnectProxiedSocketAddress
- hashCode() - Method in class io.grpc.InternalChannelz.ChannelTrace.Event
- hashCode() - Method in class io.grpc.LoadBalancer.PickResult
- hashCode() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
- hashCode() - Method in class io.grpc.LoadBalancerProvider
- hashCode() - Method in class io.grpc.Metadata.Key
- hashCode() - Method in class io.grpc.NameResolver.ConfigOrError
- hashCode() - Method in class io.grpc.NameResolver.ResolutionResult
-
Useful for testing.
- hashCode() - Method in class io.grpc.Status
-
Hash codes on Statuses are not well defined.
- headerCount(Metadata) - Static method in class io.grpc.InternalMetadata
- Helper() - Constructor for class io.grpc.LoadBalancer.Helper
- Helper() - Constructor for class io.grpc.NameResolver.Helper
-
Deprecated.
- HttpConnectProxiedSocketAddress - Class in io.grpc
-
An
ProxiedSocketAddressfor making a connection to an endpoint via an HTTP CONNECT proxy. - HttpConnectProxiedSocketAddress.Builder - Class in io.grpc
-
The builder for
HttpConnectProxiedSocketAddress.
I
- id(InternalWithLogId) - Static method in class io.grpc.InternalChannelz
-
Unwraps a
InternalLogIdto return along. - IDLE - io.grpc.ConnectivityState
-
This is the state where the channel is not even trying to create a connection because of a lack of new or pending RPCs.
- idleTimeout(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
- idleTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
-
Set the duration without ongoing RPCs before going to idle mode.
- inboundHeaders() - Method in class io.grpc.ClientStreamTracer
-
Headers has been received from the server.
- inboundMessage(int) - Method in class io.grpc.StreamTracer
-
An inbound message has been received by the stream.
- inboundMessageRead(int, long, long) - Method in class io.grpc.StreamTracer
-
An inbound message has been fully read from the transport.
- inboundTrailers(Metadata) - Method in class io.grpc.ClientStreamTracer
-
Trailing metadata has been received from the server.
- inboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
-
The uncompressed size of some inbound data is revealed.
- inboundWireSize(long) - Method in class io.grpc.StreamTracer
-
The wire size of some inbound data is revealed.
- INFO - io.grpc.ChannelLogger.ChannelLogLevel
- instance() - Static method in class io.grpc.InternalChannelz
- INTEGRITY - io.grpc.SecurityLevel
-
The other party is authenticated and the data is not tampered with.
- intercept(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
- intercept(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
- intercept(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channelthat will callinterceptorsbefore starting a call on the given channel. - intercept(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channelthat will callinterceptorsbefore starting a call on the given channel. - intercept(ClientInterceptor...) - Method in class io.grpc.ForwardingChannelBuilder
- intercept(ClientInterceptor...) - Method in class io.grpc.ManagedChannelBuilder
-
Adds interceptors that will be called before the channel performs its real work.
- intercept(ServerInterceptor) - Method in class io.grpc.ServerBuilder
-
Adds a
ServerInterceptorthat is run for all services on the server. - intercept(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler. - intercept(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler. - intercept(List<ClientInterceptor>) - Method in class io.grpc.ForwardingChannelBuilder
- intercept(List<ClientInterceptor>) - Method in class io.grpc.ManagedChannelBuilder
-
Adds interceptors that will be called before the channel performs its real work.
- interceptCall(Context, ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.Contexts
-
Make the provided
ContextContext.current()for the creation of a listener to a received call and for all events received by that listener. - interceptCall(MethodDescriptor<R, S>, CallOptions, Channel) - Method in class me.dinowernli.grpc.prometheus.MonitoringClientInterceptor
- interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in interface io.grpc.ClientInterceptor
- interceptCall(ServerCall<R, S>, Metadata, ServerCallHandler<R, S>) - Method in class me.dinowernli.grpc.prometheus.MonitoringServerInterceptor
- interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in interface io.grpc.ServerInterceptor
- interceptCallHandler(ServerInterceptor, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.InternalServerInterceptors
- interceptCallHandlerCreate(ServerInterceptor, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.InternalServerInterceptors
- interceptForward(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
- interceptForward(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
- interceptForward(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channelthat will callinterceptorsbefore starting a call on the given channel. - interceptForward(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
-
Create a new
Channelthat will callinterceptorsbefore starting a call on the given channel. - interceptForward(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler. - interceptForward(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler. - Internal - Annotation Type in io.grpc
-
Annotates a program element (class, method, package, etc) which is internal to gRPC, not part of the public API, and should not be used by users of gRPC.
- INTERNAL - io.grpc.Status.Code
-
Internal errors.
- INTERNAL - Static variable in class io.grpc.Status
-
Internal errors.
- InternalCallOptions - Class in io.grpc
-
Internal accessor for
CallOptions. - InternalChannelz - Class in io.grpc
-
This is an internal API.
- InternalChannelz() - Constructor for class io.grpc.InternalChannelz
- InternalChannelz.ChannelStats - Class in io.grpc
-
A data class to represent a channel's stats.
- InternalChannelz.ChannelStats.Builder - Class in io.grpc
- InternalChannelz.ChannelTrace - Class in io.grpc
- InternalChannelz.ChannelTrace.Builder - Class in io.grpc
- InternalChannelz.ChannelTrace.Event - Class in io.grpc
- InternalChannelz.ChannelTrace.Event.Builder - Class in io.grpc
- InternalChannelz.ChannelTrace.Event.Severity - Enum in io.grpc
- InternalChannelz.OtherSecurity - Class in io.grpc
- InternalChannelz.RootChannelList - Class in io.grpc
- InternalChannelz.Security - Class in io.grpc
- InternalChannelz.ServerList - Class in io.grpc
- InternalChannelz.ServerSocketsList - Class in io.grpc
- InternalChannelz.ServerStats - Class in io.grpc
- InternalChannelz.ServerStats.Builder - Class in io.grpc
- InternalChannelz.SocketOptions - Class in io.grpc
- InternalChannelz.SocketOptions.Builder - Class in io.grpc
- InternalChannelz.SocketStats - Class in io.grpc
- InternalChannelz.TcpInfo - Class in io.grpc
- InternalChannelz.TcpInfo.Builder - Class in io.grpc
- InternalChannelz.Tls - Class in io.grpc
- InternalChannelz.TransportStats - Class in io.grpc
-
A data class to represent transport stats.
- InternalClientCalls - Class in io.grpc.stub
-
Internal
ClientCallsaccessor. - InternalClientCalls() - Constructor for class io.grpc.stub.InternalClientCalls
- InternalClientCalls.StubType - Enum in io.grpc.stub
-
Companion enum for internal enum
ClientCalls.StubType. - InternalClientInterceptors - Class in io.grpc
-
Internal accessor.
- InternalClientInterceptors() - Constructor for class io.grpc.InternalClientInterceptors
- InternalDecompressorRegistry - Class in io.grpc
-
Private accessor for decompressor registries.
- InternalInstrumented<T> - Interface in io.grpc
-
An internal class.
- InternalKnownTransport - Enum in io.grpc
-
All known transports.
- InternalLogId - Class in io.grpc
-
An internal class.
- InternalManagedChannelProvider - Class in io.grpc
- InternalManagedChannelProvider() - Constructor for class io.grpc.InternalManagedChannelProvider
- InternalMetadata - Class in io.grpc
-
Internal
Metadataaccessor. - InternalMetadata() - Constructor for class io.grpc.InternalMetadata
- InternalMetadata.TrustedAsciiMarshaller<T> - Interface in io.grpc
-
A specialized plain ASCII marshaller.
- InternalMethodDescriptor - Class in io.grpc
-
Accesses internal data and methods.
- InternalMethodDescriptor(InternalKnownTransport) - Constructor for class io.grpc.InternalMethodDescriptor
- InternalNotifyOnServerBuild - Interface in io.grpc
-
Provides a callback method for a service to receive a reference to its server.
- InternalServerInterceptors - Class in io.grpc
-
Accessor to internal methods of
ServerInterceptors. - InternalServiceProviders - Class in io.grpc
- InternalServiceProviders.PriorityAccessor<T> - Interface in io.grpc
- InternalStatus - Class in io.grpc
-
Accesses internal data.
- InternalWithLogId - Interface in io.grpc
-
An internal class.
- INVALID_ARGUMENT - io.grpc.Status.Code
-
Client specified an invalid argument.
- INVALID_ARGUMENT - Static variable in class io.grpc.Status
-
Client specified an invalid argument.
- io.grpc - package io.grpc
-
The gRPC core public API.
- io.grpc.stub - package io.grpc.stub
-
API for the Stub layer.
- io.grpc.stub.annotations - package io.grpc.stub.annotations
- isAddCodeLabelToHistograms() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns whether or not status code label should be added to latency histogram.
- isAndroid(ClassLoader) - Static method in class io.grpc.InternalServiceProviders
-
Accessor for
ServiceProviders.isAndroid(java.lang.ClassLoader). - isAvailable() - Method in class io.grpc.LoadBalancerProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isAvailable() - Method in class io.grpc.ManagedChannelProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isAvailable() - Method in class io.grpc.NameResolverProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isAvailable() - Method in class io.grpc.ServerProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- isBefore(Deadline) - Method in class io.grpc.Deadline
-
Is
thisdeadline before another. - isCancelled() - Method in class io.grpc.Context.CancellableContext
- isCancelled() - Method in class io.grpc.Context
-
Is this context cancelled.
- isCancelled() - Method in class io.grpc.ServerCall
-
Returns
truewhen the call is cancelled and the server is encouraged to abort processing to save resources, since the client will not be processing any further methods. - isCancelled() - Method in class io.grpc.stub.ServerCallStreamObserver
-
If
trueindicates that the call has been cancelled by the remote peer. - isCurrent() - Method in class io.grpc.Context.CancellableContext
-
Deprecated.This method violates some GRPC class encapsulation and should not be used. If you must know whether a Context is the current context, check whether it is the same object returned by
Context.current(). - isDrop() - Method in class io.grpc.LoadBalancer.PickResult
-
Returns
trueif this result was created bywithDrop(). - isExpired() - Method in class io.grpc.Deadline
-
Has this deadline expired
- isIdempotent() - Method in class io.grpc.MethodDescriptor
-
Returns whether this method is idempotent.
- isIncludeLatencyHistograms() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns whether or not latency histograms for calls should be included.
- isOk() - Method in class io.grpc.Status
-
Is this status OK, i.e., not an error.
- isPending() - Method in class io.grpc.SynchronizationContext.ScheduledHandle
-
Returns
trueif the task will eventually run, meaning that it has neither started running nor been cancelled. - isReady() - Method in class io.grpc.ClientCall
-
If
true, indicates that the call is capable of sending additional messages without requiring excessive buffering internally. - isReady() - Method in class io.grpc.ServerCall
-
If
true, indicates that the call is capable of sending additional messages without requiring excessive buffering internally. - isReady() - Method in class io.grpc.stub.CallStreamObserver
-
If
true, indicates that the observer is capable of sending additional messages without requiring excessive buffering internally. - isSafe() - Method in class io.grpc.MethodDescriptor
-
Returns whether this method is safe.
- isSampledToLocalTracing() - Method in class io.grpc.MethodDescriptor
-
Returns whether RPCs for this method may be sampled into the local tracing store.
- isShutdown() - Method in class io.grpc.ManagedChannel
-
Returns whether the channel is shutdown.
- isShutdown() - Method in class io.grpc.Server
-
Returns whether the server is shutdown.
- isTerminated() - Method in class io.grpc.ManagedChannel
-
Returns whether the channel is terminated.
- isTerminated() - Method in class io.grpc.Server
-
Returns whether the server is terminated.
- isWaitForReady() - Method in class io.grpc.CallOptions
-
Returns whether 'wait for ready' option is enabled for the call.
K
- keepAlivesSent - Variable in class io.grpc.InternalChannelz.TransportStats
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
- keepAliveTime(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the time without read activity before sending a keepalive ping.
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
- keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the time waiting for read activity after sending a keepalive ping.
- keepAliveWithoutCalls(boolean) - Method in class io.grpc.ForwardingChannelBuilder
- keepAliveWithoutCalls(boolean) - Method in class io.grpc.ManagedChannelBuilder
-
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
- key(String) - Static method in class io.grpc.Context
-
Create a
Context.Keywith the given debug name. - keyOf(String, InternalMetadata.TrustedAsciiMarshaller<T>) - Static method in class io.grpc.InternalMetadata
- keyOf(String, Metadata.AsciiMarshaller<T>) - Static method in class io.grpc.InternalMetadata
- keys() - Method in class io.grpc.Attributes
-
Deprecated.This method is being considered for removal, if you feel this method is needed please reach out on this Github issue: grpc-java/issues/1764.
- keys() - Method in class io.grpc.Metadata
-
Returns set of all keys in store.
- keyWithDefault(String, T) - Static method in class io.grpc.Context
-
Create a
Context.Keywith the given debug name and default value. - KnownLength - Interface in io.grpc
-
An
InputStreamor alike whose total number of bytes that can be read is known upfront.
L
- lastAckRecv - Variable in class io.grpc.InternalChannelz.TcpInfo
- lastAckSent - Variable in class io.grpc.InternalChannelz.TcpInfo
- lastCallStartedNanos - Variable in class io.grpc.InternalChannelz.ChannelStats
- lastCallStartedNanos - Variable in class io.grpc.InternalChannelz.ServerStats
- lastDataRecv - Variable in class io.grpc.InternalChannelz.TcpInfo
- lastDataSent - Variable in class io.grpc.InternalChannelz.TcpInfo
- lastLocalStreamCreatedTimeNanos - Variable in class io.grpc.InternalChannelz.TransportStats
- lastMessageReceivedTimeNanos - Variable in class io.grpc.InternalChannelz.TransportStats
- lastMessageSentTimeNanos - Variable in class io.grpc.InternalChannelz.TransportStats
- lastRemoteStreamCreatedTimeNanos - Variable in class io.grpc.InternalChannelz.TransportStats
- lingerSeconds - Variable in class io.grpc.InternalChannelz.SocketOptions
- Listener() - Constructor for class io.grpc.ClientCall.Listener
- Listener() - Constructor for class io.grpc.ServerCall.Listener
- Listener2() - Constructor for class io.grpc.NameResolver.Listener2
- listenSockets - Variable in class io.grpc.InternalChannelz.ServerStats.Builder
- listenSockets - Variable in class io.grpc.InternalChannelz.ServerStats
- load(Class<T>, Iterable<Class<?>>, ClassLoader, InternalServiceProviders.PriorityAccessor<T>) - Static method in class io.grpc.InternalServiceProviders
-
Accessor for method.
- loadAll(Class<T>, Iterable<Class<?>>, ClassLoader, InternalServiceProviders.PriorityAccessor<T>) - Static method in class io.grpc.InternalServiceProviders
-
Accessor for method.
- LoadBalancer - Class in io.grpc
-
A pluggable component that receives resolved addresses from
NameResolverand provides the channel a usable subchannel when asked. - LoadBalancer() - Constructor for class io.grpc.LoadBalancer
- LoadBalancer.CreateSubchannelArgs - Class in io.grpc
-
Arguments for creating a
LoadBalancer.Subchannel. - LoadBalancer.CreateSubchannelArgs.Builder - Class in io.grpc
- LoadBalancer.CreateSubchannelArgs.Key<T> - Class in io.grpc
-
Key for a key-value pair.
- LoadBalancer.Factory - Class in io.grpc
-
Factory to create
LoadBalancerinstance. - LoadBalancer.Helper - Class in io.grpc
-
Provides essentials for LoadBalancer implementations.
- LoadBalancer.PickResult - Class in io.grpc
-
A balancing decision made by
SubchannelPickerfor an RPC. - LoadBalancer.PickSubchannelArgs - Class in io.grpc
-
Provides arguments for a
LoadBalancer.SubchannelPicker.pickSubchannel( LoadBalancer.PickSubchannelArgs). - LoadBalancer.ResolvedAddresses - Class in io.grpc
-
Represents a combination of the resolved server address, associated attributes and a load balancing policy config.
- LoadBalancer.ResolvedAddresses.Builder - Class in io.grpc
-
Builder for
LoadBalancer.ResolvedAddresses. - LoadBalancer.Subchannel - Class in io.grpc
-
A logical connection to a server, or a group of equivalent servers represented by an
EquivalentAddressGroup. - LoadBalancer.SubchannelPicker - Class in io.grpc
-
The main balancing logic.
- LoadBalancer.SubchannelStateListener - Interface in io.grpc
-
Receives state changes for one
LoadBalancer.Subchannel. - LoadBalancerProvider - Class in io.grpc
-
Provider of
LoadBalancers. - LoadBalancerProvider() - Constructor for class io.grpc.LoadBalancerProvider
- LoadBalancerRegistry - Class in io.grpc
-
Registry of
LoadBalancerProviders. - LoadBalancerRegistry() - Constructor for class io.grpc.LoadBalancerRegistry
- local - Variable in class io.grpc.InternalChannelz.SocketStats
- localCert - Variable in class io.grpc.InternalChannelz.Tls
- localFlowControlWindow - Variable in class io.grpc.InternalChannelz.TransportStats
- log(ChannelLogger.ChannelLogLevel, String) - Method in class io.grpc.ChannelLogger
-
Logs a message.
- log(ChannelLogger.ChannelLogLevel, String, Object...) - Method in class io.grpc.ChannelLogger
-
Logs a message, using a message format and a list of arguments used to generate the log message with
MessageFormat. - lookupCompressor(String) - Method in class io.grpc.CompressorRegistry
- lookupDecompressor(String) - Method in class io.grpc.DecompressorRegistry
-
Returns a decompressor for the given message encoding, or
nullif none has been registered. - lookupMethod(String) - Method in class io.grpc.HandlerRegistry
-
Lookup a
ServerMethodDefinitionby its fully-qualified name. - lookupMethod(String, String) - Method in class io.grpc.HandlerRegistry
-
Lookup a
ServerMethodDefinitionby its fully-qualified name. - lost - Variable in class io.grpc.InternalChannelz.TcpInfo
M
- ManagedChannel - Class in io.grpc
-
A
Channelthat provides lifecycle management. - ManagedChannel() - Constructor for class io.grpc.ManagedChannel
- ManagedChannelBuilder<T extends ManagedChannelBuilder<T>> - Class in io.grpc
-
A builder for
ManagedChannelinstances. - ManagedChannelBuilder() - Constructor for class io.grpc.ManagedChannelBuilder
- ManagedChannelProvider - Class in io.grpc
-
Provider of managed channels for transport agnostic consumption.
- ManagedChannelProvider() - Constructor for class io.grpc.ManagedChannelProvider
- ManagedChannelProvider.ProviderNotFoundException - Exception in io.grpc
-
Thrown when no suitable
ManagedChannelProviderobjects can be found. - maxHedgedAttempts(int) - Method in class io.grpc.ForwardingChannelBuilder
- maxHedgedAttempts(int) - Method in class io.grpc.ManagedChannelBuilder
-
Sets max number of hedged attempts.
- maxInboundMessageSize(int) - Method in class io.grpc.ForwardingChannelBuilder
- maxInboundMessageSize(int) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the maximum message size allowed to be received on the channel.
- maxInboundMessageSize(int) - Method in class io.grpc.ServerBuilder
-
Sets the maximum message size allowed to be received on the server.
- maxInboundMetadataSize(int) - Method in class io.grpc.ForwardingChannelBuilder
- maxInboundMetadataSize(int) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the maximum size of metadata allowed to be received.
- maxInboundMetadataSize(int) - Method in class io.grpc.ServerBuilder
-
Sets the maximum size of metadata allowed to be received.
- maxRetryAttempts(int) - Method in class io.grpc.ForwardingChannelBuilder
- maxRetryAttempts(int) - Method in class io.grpc.ManagedChannelBuilder
-
Sets max number of retry attempts.
- maxTraceEvents(int) - Method in class io.grpc.ForwardingChannelBuilder
- maxTraceEvents(int) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the maximum number of channel trace events to keep in the tracer for each channel or subchannel.
- me.dinowernli.grpc.prometheus - package me.dinowernli.grpc.prometheus
- merge(Metadata) - Method in class io.grpc.Metadata
-
Perform a simple merge of two sets of metadata.
- merge(Metadata, Set<Metadata.Key<?>>) - Method in class io.grpc.Metadata
-
Merge values from the given set of keys into this set of metadata.
- MESSAGE_KEY - Static variable in class io.grpc.InternalStatus
-
Key to bind status message to trailing metadata.
- messagesReceived - Variable in class io.grpc.InternalChannelz.TransportStats
- messagesSent - Variable in class io.grpc.InternalChannelz.TransportStats
- Metadata - Class in io.grpc
-
Provides access to read and write metadata values to be exchanged during a call.
- Metadata() - Constructor for class io.grpc.Metadata
-
Constructor called by the application layer when it wants to send metadata.
- Metadata.AsciiMarshaller<T> - Interface in io.grpc
-
Marshaller for metadata values that are serialized into ASCII strings.
- Metadata.BinaryMarshaller<T> - Interface in io.grpc
-
Marshaller for metadata values that are serialized into raw binary.
- Metadata.BinaryStreamMarshaller<T> - Interface in io.grpc
-
Marshaller for metadata values that are serialized to an InputStream.
- Metadata.Key<T> - Class in io.grpc
-
Key for metadata entries.
- MetadataApplier() - Constructor for class io.grpc.CallCredentials.MetadataApplier
- MetadataApplier() - Constructor for class io.grpc.CallCredentials2.MetadataApplier
-
Deprecated.
- MetadataUtils - Class in io.grpc.stub
-
Utility functions for binding and receiving headers.
- MethodDescriptor<ReqT,RespT> - Class in io.grpc
-
Description of a remote method used by
Channelto initiate a call. - MethodDescriptor.Builder<ReqT,RespT> - Class in io.grpc
-
A builder for a
MethodDescriptor. - MethodDescriptor.Marshaller<T> - Interface in io.grpc
-
A typed abstraction over message serialization and deserialization, a.k.a.
- MethodDescriptor.MethodType - Enum in io.grpc
-
The call type of a method.
- MethodDescriptor.PrototypeMarshaller<T> - Interface in io.grpc
-
A marshaller that uses a fixed instance of the type it produces.
- MethodDescriptor.ReflectableMarshaller<T> - Interface in io.grpc
-
A marshaller that supports retrieving it's type parameter
Tat runtime. - methodType() - Method in annotation type io.grpc.stub.annotations.RpcMethod
-
The call type of the method.
- minimum(Deadline) - Method in class io.grpc.Deadline
-
Return the minimum deadline of
thisor an other deadline. - MonitoringClientInterceptor - Class in me.dinowernli.grpc.prometheus
-
A
ClientInterceptorwhich sends stats about incoming grpc calls to Prometheus. - MonitoringServerInterceptor - Class in me.dinowernli.grpc.prometheus
-
A
ServerInterceptorwhich sends stats about incoming grpc calls to Prometheus.
N
- name - Variable in class io.grpc.InternalChannelz.OtherSecurity
- name() - Method in class io.grpc.Metadata.Key
- NameResolver - Class in io.grpc
-
A pluggable component that resolves a target
URIand return addresses to the caller. - NameResolver() - Constructor for class io.grpc.NameResolver
- NameResolver.Args - Class in io.grpc
-
Information that a
NameResolver.Factoryuses to create aNameResolver. - NameResolver.Args.Builder - Class in io.grpc
-
Builder for
NameResolver.Args. - NameResolver.ConfigOrError - Class in io.grpc
-
Gets the attributes associated with the addresses resolved by name resolution.
- NameResolver.Factory - Class in io.grpc
-
Factory that creates
NameResolverinstances. - NameResolver.Helper - Class in io.grpc
-
Deprecated.use
NameResolver.Argsinstead. - NameResolver.Listener - Interface in io.grpc
-
Receives address updates.
- NameResolver.Listener2 - Class in io.grpc
-
Receives address updates.
- NameResolver.ResolutionResult - Class in io.grpc
-
Represents the results from a Name Resolver.
- NameResolver.ResolutionResult.Builder - Class in io.grpc
-
A builder for
NameResolver.ResolutionResult. - NameResolver.ResolutionResultAttr - Annotation Type in io.grpc
-
Annotation for name resolution result attributes.
- NameResolver.ServiceConfigParser - Class in io.grpc
-
Parses and validates service configuration.
- nameResolverFactory(NameResolver.Factory) - Method in class io.grpc.ForwardingChannelBuilder
- nameResolverFactory(NameResolver.Factory) - Method in class io.grpc.ManagedChannelBuilder
-
Provides a custom
NameResolver.Factoryfor the channel. - NameResolverProvider - Class in io.grpc
-
Provider of name resolvers for name agnostic consumption.
- NameResolverProvider() - Constructor for class io.grpc.NameResolverProvider
- NameResolverRegistry - Class in io.grpc
-
Registry of
NameResolverProviders. - NameResolverRegistry() - Constructor for class io.grpc.NameResolverRegistry
- nanoTime() - Method in class io.grpc.Deadline.Ticker
-
Returns the number of nanoseconds since this source's epoch.
- NETTY - io.grpc.InternalKnownTransport
- NETTY_SHADED - io.grpc.InternalKnownTransport
- newAttachHeadersInterceptor(Metadata) - Static method in class io.grpc.stub.MetadataUtils
-
Returns a client interceptor that attaches a set of headers to requests.
- newBuilder() - Static method in class io.grpc.Attributes
-
Create a new builder.
- newBuilder() - Static method in class io.grpc.ClientStreamTracer.StreamInfo
-
Creates an empty Builder.
- newBuilder() - Static method in class io.grpc.HttpConnectProxiedSocketAddress
-
Create a new builder.
- newBuilder() - Static method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
Creates a new builder.
- newBuilder() - Static method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Factory for constructing a new Builder.
- newBuilder() - Static method in class io.grpc.MethodDescriptor
-
Creates a new builder for a
MethodDescriptor. - newBuilder() - Static method in class io.grpc.NameResolver.Args
-
Creates a new builder.
- newBuilder() - Static method in class io.grpc.NameResolver.ResolutionResult
-
Constructs a new builder of a name resolution result.
- newBuilder(Attributes) - Static method in class io.grpc.Attributes
-
Deprecated.Use
Attributes.toBuilder()on theAttributesinstance instead. This method will be removed in the future. - newBuilder(MethodDescriptor.Marshaller<ReqT>, MethodDescriptor.Marshaller<RespT>) - Static method in class io.grpc.MethodDescriptor
-
Creates a new builder for a
MethodDescriptor. - newBuilder(String) - Static method in class io.grpc.ServiceDescriptor
-
Creates a new builder for a
ServiceDescriptor. - newCall(MethodDescriptor<RequestT, ResponseT>, CallOptions) - Method in class io.grpc.Channel
-
Create a
ClientCallto the remote operation specified by the givenMethodDescriptor. - newCaptureMetadataInterceptor(AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
-
Captures the last received metadata on a channel.
- newClientStreamTracer(CallOptions, Metadata) - Method in class io.grpc.ClientStreamTracer.Factory
- newClientStreamTracer(ClientStreamTracer.StreamInfo, Metadata) - Method in class io.grpc.ClientStreamTracer.Factory
-
Creates a
ClientStreamTracerfor a new client stream. - newEmptyInstance() - Static method in class io.grpc.CompressorRegistry
-
Returns a new instance with no registered compressors.
- newLoadBalancer(LoadBalancer.Helper) - Method in class io.grpc.LoadBalancer.Factory
-
Creates a
LoadBalancerthat will be used inside a channel. - newMetadata(byte[]...) - Static method in class io.grpc.InternalMetadata
- newMetadata(int, byte[]...) - Static method in class io.grpc.InternalMetadata
- newMetadataWithParsedValues(int, Object[]) - Static method in class io.grpc.InternalMetadata
-
Creates a new
Metadatainstance from serialized data, with some values pre-parsed. - newNameResolver(URI, Attributes) - Method in class io.grpc.NameResolver.Factory
-
Deprecated.Implement
NameResolver.Factory.newNameResolver(URI, NameResolver.Helper)instead. This is going to be deleted in a future release. - newNameResolver(URI, NameResolver.Args) - Method in class io.grpc.NameResolver.Factory
-
Creates a
NameResolverfor the given target URI, ornullif the given URI cannot be resolved by this factory. - newNameResolver(URI, NameResolver.Helper) - Method in class io.grpc.NameResolver.Factory
-
Deprecated.implement
NameResolver.Factory.newNameResolver(URI, NameResolver.Args)instead - newServerStreamTracer(String, Metadata) - Method in class io.grpc.ServerStreamTracer.Factory
-
Creates a
ServerStreamTracerfor a new server stream. - newStub(Channel, CallOptions) - Method in interface io.grpc.stub.AbstractStub.StubFactory
- newStub(AbstractStub.StubFactory<T>, Channel) - Static method in class io.grpc.stub.AbstractAsyncStub
-
Returns a new async stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel) - Static method in class io.grpc.stub.AbstractBlockingStub
-
Returns a new blocking stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel) - Static method in class io.grpc.stub.AbstractFutureStub
-
Returns a new future stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel) - Static method in class io.grpc.stub.AbstractStub
-
Returns a new stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel, CallOptions) - Static method in class io.grpc.stub.AbstractAsyncStub
-
Returns a new async stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel, CallOptions) - Static method in class io.grpc.stub.AbstractBlockingStub
-
Returns a new blocking stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel, CallOptions) - Static method in class io.grpc.stub.AbstractFutureStub
-
Returns a new future stub with the given channel for the provided method configurations.
- newStub(AbstractStub.StubFactory<T>, Channel, CallOptions) - Static method in class io.grpc.stub.AbstractStub
-
Returns a new stub with the given channel for the provided method configurations.
- NONE - io.grpc.SecurityLevel
-
No security guarantee.
- NONE - Static variable in class io.grpc.Codec.Identity
-
Special sentinel codec indicating that no compression should be used.
- NOT_FOUND - io.grpc.Status.Code
-
Some requested entity (e.g., file or directory) was not found.
- NOT_FOUND - Static variable in class io.grpc.Status
-
Some requested entity (e.g., file or directory) was not found.
- notifyOnBuild(Server) - Method in interface io.grpc.InternalNotifyOnServerBuild
-
Notifies the service that the server has been built.
- notifyWhenStateChanged(ConnectivityState, Runnable) - Method in class io.grpc.ManagedChannel
-
Registers a one-off callback that will be run if the connectivity state of the channel diverges from the given
source, which is typically what has just been returned byManagedChannel.getState(boolean). - numEventsLogged - Variable in class io.grpc.InternalChannelz.ChannelTrace
O
- of(ClientCalls.StubType) - Static method in enum io.grpc.stub.InternalClientCalls.StubType
-
Returns companion enum value of passed internal enum equivalent.
- of(String) - Static method in class io.grpc.Attributes.Key
-
Deprecated.use
Attributes.Key.create(java.lang.String)instead. This method will be removed in the future. - of(String, Metadata.AsciiMarshaller<T>) - Static method in class io.grpc.Metadata.Key
-
Creates a key for an ASCII header.
- of(String, Metadata.BinaryMarshaller<T>) - Static method in class io.grpc.Metadata.Key
-
Creates a key for a binary header.
- of(String, Metadata.BinaryStreamMarshaller<T>) - Static method in class io.grpc.Metadata.Key
-
Creates a key for a binary header, serializing to input streams.
- of(String, T) - Static method in class io.grpc.CallOptions.Key
-
Deprecated.Use
CallOptions.Key.create(java.lang.String)orCallOptions.Key.createWithDefault(java.lang.String, T)instead. This method will be removed. - offloadExecutor(Executor) - Method in class io.grpc.ForwardingChannelBuilder
- offloadExecutor(Executor) - Method in class io.grpc.ManagedChannelBuilder
-
Provides a custom executor that will be used for operations that block or are expensive.
- offset(long, TimeUnit) - Method in class io.grpc.Deadline
-
Create a new deadline that is offset from
this. - OK - io.grpc.Status.Code
-
The operation completed successfully.
- OK - Static variable in class io.grpc.Status
-
The operation completed successfully.
- onAddresses(List<EquivalentAddressGroup>, Attributes) - Method in interface io.grpc.NameResolver.Listener
-
Handles updates on resolved addresses and attributes.
- onAddresses(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.NameResolver.Listener2
-
Deprecated.This will be removed in 1.22.0
- onCancel() - Method in class io.grpc.ServerCall.Listener
-
The call was cancelled and the server is encouraged to abort processing to save resources, since the client will not process any further messages.
- onClose(Status, Metadata) - Method in class io.grpc.ClientCall.Listener
-
The ClientCall has been closed.
- onComplete() - Method in class io.grpc.ServerCall.Listener
-
The call is considered complete and
ServerCall.Listener.onCancel()is guaranteed not to be called. - onCompleted() - Method in interface io.grpc.stub.StreamObserver
-
Receives a notification of successful stream completion.
- onError(Status) - Method in interface io.grpc.NameResolver.Listener
-
Handles an error from the resolver.
- onError(Status) - Method in class io.grpc.NameResolver.Listener2
-
Handles a name resolving error from the resolver.
- onError(Throwable) - Method in interface io.grpc.stub.StreamObserver
-
Receives a terminating error from the stream.
- onHalfClose() - Method in class io.grpc.ServerCall.Listener
-
The client completed all message sending.
- onHeaders(Metadata) - Method in class io.grpc.ClientCall.Listener
-
The response headers have been received.
- onMessage(ReqT) - Method in class io.grpc.ForwardingServerCallListener
- onMessage(ReqT) - Method in class io.grpc.ServerCall.Listener
-
A request message has been received.
- onMessage(RespT) - Method in class io.grpc.ForwardingClientCallListener
- onMessage(T) - Method in class io.grpc.ClientCall.Listener
-
A response message has been received.
- onNext(V) - Method in interface io.grpc.stub.StreamObserver
-
Receives a value from the stream.
- onReady() - Method in class io.grpc.ClientCall.Listener
-
This indicates that the ClientCall may now be capable of sending additional messages (via
ClientCall.sendMessage(ReqT)) without requiring excessive buffering internally. - onReady() - Method in class io.grpc.ServerCall.Listener
-
This indicates that the call may now be capable of sending additional messages (via
ServerCall.sendMessage(RespT)) without requiring excessive buffering internally. - onResult(NameResolver.ResolutionResult) - Method in class io.grpc.NameResolver.Listener2
-
Handles updates on resolved addresses and attributes.
- onSubchannelState(ConnectivityStateInfo) - Method in interface io.grpc.LoadBalancer.SubchannelStateListener
-
Handles a state change on a Subchannel.
- options - Variable in class io.grpc.InternalChannelz.TcpInfo
- originalName() - Method in class io.grpc.Metadata.Key
- other - Variable in class io.grpc.InternalChannelz.Security
- others - Variable in class io.grpc.InternalChannelz.SocketOptions
- OtherSecurity(String, Object) - Constructor for class io.grpc.InternalChannelz.OtherSecurity
-
Creates an instance.
- OUT_OF_RANGE - io.grpc.Status.Code
-
Operation was attempted past the valid range.
- OUT_OF_RANGE - Static variable in class io.grpc.Status
-
Operation was attempted past the valid range.
- outboundHeaders() - Method in class io.grpc.ClientStreamTracer
-
Headers has been sent to the socket.
- outboundMessage(int) - Method in class io.grpc.StreamTracer
-
An outbound message has been passed to the stream.
- outboundMessageSent(int, long, long) - Method in class io.grpc.StreamTracer
-
An outbound message has been serialized and sent to the transport.
- outboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
-
The uncompressed size of some outbound data is revealed.
- outboundWireSize(long) - Method in class io.grpc.StreamTracer
-
The wire size of some outbound data is revealed.
- overrideAuthority(String) - Method in class io.grpc.ForwardingChannelBuilder
- overrideAuthority(String) - Method in class io.grpc.ManagedChannelBuilder
-
Overrides the authority used with TLS and HTTP virtual hosting.
P
- PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolver.Factory
-
Deprecated.this will be deleted along with
NameResolver.Factory.newNameResolver(URI, Attributes)in a future release. - PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolverProvider
-
Deprecated.
- PARAMS_PROXY_DETECTOR - Static variable in class io.grpc.NameResolver.Factory
-
Deprecated.this will be deleted along with
NameResolver.Factory.newNameResolver(URI, Attributes)in a future release - parse(InputStream) - Method in interface io.grpc.MethodDescriptor.Marshaller
-
Given an
InputStreamparse it into an instance of the declared type so that it can be passed to application code. - parseAsciiString(String) - Method in interface io.grpc.Metadata.AsciiMarshaller
-
Parse a serialized metadata value from an ASCII string.
- parseBytes(byte[]) - Method in interface io.grpc.Metadata.BinaryMarshaller
-
Parse a serialized metadata value from bytes.
- parsedValue(Metadata.BinaryStreamMarshaller<T>, T) - Static method in class io.grpc.InternalMetadata
-
Creates a holder for a pre-parsed value read by the transport.
- parseLoadBalancingPolicyConfig(Map<String, ?>) - Method in class io.grpc.LoadBalancerProvider
-
Parses the config for the Load Balancing policy unpacked from the service config.
- parseRequest(InputStream) - Method in class io.grpc.MethodDescriptor
-
Parse an incoming request message.
- parseResponse(InputStream) - Method in class io.grpc.MethodDescriptor
-
Parse a response payload from the given
InputStream. - parseServiceConfig(Map<String, ?>) - Method in class io.grpc.NameResolver.Helper
-
Deprecated.Parses and validates the service configuration chosen by the name resolver.
- parseServiceConfig(Map<String, ?>) - Method in class io.grpc.NameResolver.ServiceConfigParser
-
Parses and validates the service configuration chosen by the name resolver.
- parseStream(InputStream) - Method in interface io.grpc.Metadata.BinaryStreamMarshaller
-
Parses a serialized metadata value from an
InputStream. - PERMISSION_DENIED - io.grpc.Status.Code
-
The caller does not have permission to execute the specified operation.
- PERMISSION_DENIED - Static variable in class io.grpc.Status
-
The caller does not have permission to execute the specified operation.
- perRpcBufferLimit(long) - Method in class io.grpc.ForwardingChannelBuilder
- perRpcBufferLimit(long) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the per RPC buffer limit in bytes used for retry.
- pickSubchannel(LoadBalancer.PickSubchannelArgs) - Method in class io.grpc.LoadBalancer.SubchannelPicker
-
Make a balancing decision for a new RPC.
- PickSubchannelArgs() - Constructor for class io.grpc.LoadBalancer.PickSubchannelArgs
- pmtu - Variable in class io.grpc.InternalChannelz.TcpInfo
- priority() - Method in class io.grpc.ManagedChannelProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
- priority() - Method in class io.grpc.NameResolverProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
- priority() - Method in class io.grpc.ServerProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
- PRIVACY_AND_INTEGRITY - io.grpc.SecurityLevel
-
In addition to
INTEGRITY, the data is only visible to the intended communication parties. - probes - Variable in class io.grpc.InternalChannelz.TcpInfo
- provider() - Static method in class io.grpc.ManagedChannelProvider
-
Returns the ClassLoader-wide default channel.
- provider() - Static method in class io.grpc.ServerProvider
-
Returns the ClassLoader-wide default server.
- ProviderNotFoundException(String) - Constructor for exception io.grpc.ManagedChannelProvider.ProviderNotFoundException
- providers() - Static method in class io.grpc.NameResolverProvider
-
Deprecated.Has no replacement
- ProxiedSocketAddress - Class in io.grpc
-
An address that contains the information about making a connection via a proxy.
- ProxiedSocketAddress() - Constructor for class io.grpc.ProxiedSocketAddress
- proxyDetector(ProxyDetector) - Method in class io.grpc.ForwardingChannelBuilder
- proxyDetector(ProxyDetector) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the proxy detector to be used in addresses name resolution.
- ProxyDetector - Interface in io.grpc
-
A utility class to detect which proxy, if any, should be used for a given
SocketAddress. - proxyFor(SocketAddress) - Method in interface io.grpc.ProxyDetector
-
Given a target address, returns a proxied address if a proxy should be used.
- put(Metadata.Key<T>, T) - Method in class io.grpc.Metadata
-
Adds the
key, valuepair.
R
- rcvMss - Variable in class io.grpc.InternalChannelz.TcpInfo
- rcvSsthresh - Variable in class io.grpc.InternalChannelz.TcpInfo
- rcvWscale - Variable in class io.grpc.InternalChannelz.TcpInfo
- READY - io.grpc.ConnectivityState
-
The channel has successfully established a connection all the way through TLS handshake (or equivalent) and all subsequent attempt to communicate have succeeded (or are pending without any known failure ).
- refresh() - Method in class io.grpc.NameResolver
-
Re-resolve the name.
- refreshNameResolution() - Method in class io.grpc.LoadBalancer.Helper
-
Call
NameResolver.refresh()on the channel's resolver. - register(Compressor) - Method in class io.grpc.CompressorRegistry
-
Registers a compressor for both decompression and message encoding negotiation.
- register(LoadBalancerProvider) - Method in class io.grpc.LoadBalancerRegistry
-
Register a provider.
- register(NameResolverProvider) - Method in class io.grpc.NameResolverRegistry
-
Register a provider.
- remote - Variable in class io.grpc.InternalChannelz.SocketStats
- remoteCert - Variable in class io.grpc.InternalChannelz.Tls
- remoteFlowControlWindow - Variable in class io.grpc.InternalChannelz.TransportStats
- remove(Metadata.Key<T>, T) - Method in class io.grpc.Metadata
-
Removes the first occurrence of
valueforkey. - removeAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Remove all values for the given key.
- removeClientSocket(InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
- removeListener(Context.CancellationListener) - Method in class io.grpc.Context
-
Remove a
Context.CancellationListener. - removeListenSocket(InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
- removeRootChannel(InternalInstrumented<InternalChannelz.ChannelStats>) - Method in class io.grpc.InternalChannelz
- removeServer(InternalInstrumented<InternalChannelz.ServerStats>) - Method in class io.grpc.InternalChannelz
-
Removes a server.
- removeServerSocket(InternalInstrumented<InternalChannelz.ServerStats>, InternalInstrumented<InternalChannelz.SocketStats>) - Method in class io.grpc.InternalChannelz
-
Removes a server socket.
- removeSubchannel(InternalInstrumented<InternalChannelz.ChannelStats>) - Method in class io.grpc.InternalChannelz
- reordering - Variable in class io.grpc.InternalChannelz.TcpInfo
- request(int) - Method in class io.grpc.ClientCall
-
Requests up to the given number of messages from the call to be delivered to
ClientCall.Listener.onMessage(Object). - request(int) - Method in class io.grpc.ServerCall
-
Requests up to the given number of messages from the call to be delivered to
ServerCall.Listener.onMessage(Object). - request(int) - Method in class io.grpc.stub.CallStreamObserver
-
Requests the peer to produce
countmore messages to be delivered to the 'inbound'StreamObserver. - requestConnection() - Method in class io.grpc.LoadBalancer
-
The channel asks the LoadBalancer to establish connections now (if applicable) so that the upcoming RPC may then just pick a ready connection without waiting for connections.
- requestConnection() - Method in class io.grpc.LoadBalancer.Subchannel
-
Asks the Subchannel to create a connection (aka transport), if there isn't an active one.
- requestConnection() - Method in class io.grpc.LoadBalancer.SubchannelPicker
-
Deprecated.override
LoadBalancer.requestConnection()instead. - RequestInfo() - Constructor for class io.grpc.CallCredentials.RequestInfo
- requestType() - Method in annotation type io.grpc.stub.annotations.RpcMethod
-
The request type of the method.
- resetConnectBackoff() - Method in class io.grpc.ManagedChannel
-
For subchannels that are in TRANSIENT_FAILURE state, short-circuit the backoff timer and make them reconnect immediately.
- RESOURCE_EXHAUSTED - io.grpc.Status.Code
-
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
- RESOURCE_EXHAUSTED - Static variable in class io.grpc.Status
-
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
- responseType() - Method in annotation type io.grpc.stub.annotations.RpcMethod
-
The response type of the method.
- retrans - Variable in class io.grpc.InternalChannelz.TcpInfo
- retransmits - Variable in class io.grpc.InternalChannelz.TcpInfo
- retryBufferSize(long) - Method in class io.grpc.ForwardingChannelBuilder
- retryBufferSize(long) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the retry buffer size in bytes.
- ROOT - Static variable in class io.grpc.Context
-
The logical root context which is the ultimate ancestor of all contexts.
- RootChannelList(List<InternalInstrumented<InternalChannelz.ChannelStats>>, boolean) - Constructor for class io.grpc.InternalChannelz.RootChannelList
-
Creates an instance.
- RpcMethod - Annotation Type in io.grpc.stub.annotations
-
RpcMethodcontains a limited subset of information about the RPC to assist Java Annotation Processors. - rto - Variable in class io.grpc.InternalChannelz.TcpInfo
- rtt - Variable in class io.grpc.InternalChannelz.TcpInfo
- rttvar - Variable in class io.grpc.InternalChannelz.TcpInfo
- run(Runnable) - Method in class io.grpc.Context
-
Immediately run a
Runnablewith this context as theContext.current()context. - runOnExpiration(Runnable, ScheduledExecutorService) - Method in class io.grpc.Deadline
-
Schedule a task to be run when the deadline expires.
- runSerialized(Runnable) - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.use/implement
getSynchronizationContext()instead
S
- sacked - Variable in class io.grpc.InternalChannelz.TcpInfo
- schedule(Runnable, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.SynchronizationContext
-
Schedules a task to be added and run via
SynchronizationContext.execute(java.lang.Runnable)after a delay. - security - Variable in class io.grpc.InternalChannelz.SocketStats
- Security(InternalChannelz.OtherSecurity) - Constructor for class io.grpc.InternalChannelz.Security
- Security(InternalChannelz.Tls) - Constructor for class io.grpc.InternalChannelz.Security
- SecurityLevel - Enum in io.grpc
-
The level of security guarantee in communications.
- sendHeaders(Metadata) - Method in class io.grpc.ServerCall
-
Send response header metadata prior to sending a response message.
- sendMessage(ReqT) - Method in class io.grpc.ClientCall
-
Send a request message to the server.
- sendMessage(ReqT) - Method in class io.grpc.ForwardingClientCall
- sendMessage(RespT) - Method in class io.grpc.ForwardingServerCall
- sendMessage(RespT) - Method in class io.grpc.ServerCall
-
Send a response message.
- serialize(Metadata) - Static method in class io.grpc.InternalMetadata
- serializePartial(Metadata) - Static method in class io.grpc.InternalMetadata
-
Serializes all metadata entries, leaving some values as
InputStreams. - Server - Class in io.grpc
-
Server for listening for and dispatching incoming calls.
- Server() - Constructor for class io.grpc.Server
- SERVER_STREAMING - io.grpc.MethodDescriptor.MethodType
-
One request message followed by zero or more response messages.
- ServerBuilder<T extends ServerBuilder<T>> - Class in io.grpc
-
A builder for
Serverinstances. - ServerBuilder() - Constructor for class io.grpc.ServerBuilder
- ServerCall<ReqT,RespT> - Class in io.grpc
-
Encapsulates a single call received from a remote client.
- ServerCall() - Constructor for class io.grpc.ServerCall
- ServerCall.Listener<ReqT> - Class in io.grpc
-
Callbacks for consuming incoming RPC messages.
- ServerCallHandler<RequestT,ResponseT> - Interface in io.grpc
-
Interface to initiate processing of incoming remote calls.
- ServerCallInfo() - Constructor for class io.grpc.ServerStreamTracer.ServerCallInfo
- ServerCalls - Class in io.grpc.stub
-
Utility functions for adapting
ServerCallHandlers to application service implementation, meant to be used by the generated code. - ServerCalls.BidiStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
-
Adaptor to a bidirectional streaming method.
- ServerCalls.ClientStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
-
Adaptor to a client streaming method.
- ServerCalls.ServerStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
-
Adaptor to a server streaming method.
- ServerCalls.UnaryMethod<ReqT,RespT> - Interface in io.grpc.stub
-
Adaptor to a unary call method.
- serverCallStarted(ServerCall<?, ?>) - Method in class io.grpc.ServerStreamTracer
-
Deprecated.Implement
ServerStreamTracer.serverCallStarted(ServerCallInfo)instead. This method will be removed in a future release of gRPC. - serverCallStarted(ServerStreamTracer.ServerCallInfo<?, ?>) - Method in class io.grpc.ServerStreamTracer
-
Called when
ServerCallis created. - ServerCallStreamObserver<V> - Class in io.grpc.stub
-
A refinement of
CallStreamObserverto allows for interaction with call cancellation events on the server side. - ServerCallStreamObserver() - Constructor for class io.grpc.stub.ServerCallStreamObserver
- ServerInterceptor - Interface in io.grpc
-
Interface for intercepting incoming calls before that are dispatched by
ServerCallHandler. - ServerInterceptors - Class in io.grpc
-
Utility methods for working with
ServerInterceptors. - ServerList(List<InternalInstrumented<InternalChannelz.ServerStats>>, boolean) - Constructor for class io.grpc.InternalChannelz.ServerList
-
Creates an instance.
- ServerMethodDefinition<ReqT,RespT> - Class in io.grpc
-
Definition of a method exposed by a
Server. - ServerProvider - Class in io.grpc
-
Provider of servers for transport agnostic consumption.
- ServerProvider() - Constructor for class io.grpc.ServerProvider
- servers - Variable in class io.grpc.InternalChannelz.ServerList
- serverSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
Returns
trueforUNARYandCLIENT_STREAMING, which do not permit the server to stream. - ServerServiceDefinition - Class in io.grpc
-
Definition of a service to be exposed via a Server.
- ServerServiceDefinition.Builder - Class in io.grpc
-
Builder for constructing Service instances.
- ServerSocketsList(List<InternalWithLogId>, boolean) - Constructor for class io.grpc.InternalChannelz.ServerSocketsList
-
Creates an instance.
- ServerStats(long, long, long, long, List<InternalInstrumented<InternalChannelz.SocketStats>>) - Constructor for class io.grpc.InternalChannelz.ServerStats
-
Creates an instance.
- ServerStreamTracer - Class in io.grpc
-
Listens to events on a stream to collect metrics.
- ServerStreamTracer() - Constructor for class io.grpc.ServerStreamTracer
- ServerStreamTracer.Factory - Class in io.grpc
- ServerStreamTracer.ServerCallInfo<ReqT,RespT> - Class in io.grpc
-
A data class with info about the started
ServerCall. - ServerTransportFilter - Class in io.grpc
-
Listens on server transport life-cycle events, with the capability to read and/or change transport attributes.
- ServerTransportFilter() - Constructor for class io.grpc.ServerTransportFilter
- ServiceConfigParser() - Constructor for class io.grpc.NameResolver.ServiceConfigParser
- ServiceDescriptor - Class in io.grpc
-
Descriptor for a service.
- ServiceDescriptor(String, MethodDescriptor<?, ?>...) - Constructor for class io.grpc.ServiceDescriptor
-
Constructs a new Service Descriptor.
- ServiceDescriptor(String, Collection<MethodDescriptor<?, ?>>) - Constructor for class io.grpc.ServiceDescriptor
-
Constructs a new Service Descriptor.
- ServiceDescriptor.Builder - Class in io.grpc
-
A builder for a
ServiceDescriptor. - set(Attributes.Key<T>, T) - Method in class io.grpc.Attributes.Builder
- setAddresses(EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
The addresses to connect to.
- setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
The addresses to connect to.
- setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
-
Sets the addresses.
- setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
-
Sets the addresses resolved by name resolution.
- setAdvmss(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setAll(Attributes) - Method in class io.grpc.Attributes.Builder
- setAto(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setAttributes(Attributes) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
Attributes provided here will be included in
LoadBalancer.Subchannel.getAttributes(). - setAttributes(Attributes) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
-
Sets the attributes.
- setAttributes(Attributes) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
-
Sets the attributes for the addresses resolved by name resolution.
- setBackoff(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setBinaryLog(BinaryLog) - Method in class io.grpc.ForwardingChannelBuilder
- setBinaryLog(BinaryLog) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the BinaryLog object that this channel should log to.
- setBinaryLog(BinaryLog) - Method in class io.grpc.ServerBuilder
-
Sets the BinaryLog object that this server should log to.
- setCallOptions(CallOptions) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Sets the effective CallOptions of the call.
- setCallsFailed(long) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setCallsFailed(long) - Method in class io.grpc.InternalChannelz.ServerStats.Builder
- setCallsStarted(long) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setCallsStarted(long) - Method in class io.grpc.InternalChannelz.ServerStats.Builder
- setCallsSucceeded(long) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setCallsSucceeded(long) - Method in class io.grpc.InternalChannelz.ServerStats.Builder
- setCaState(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setChannelLogger(ChannelLogger) - Method in class io.grpc.NameResolver.Args.Builder
- setChannelRef(InternalWithLogId) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- setChannelTrace(InternalChannelz.ChannelTrace) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setCompression(String) - Method in class io.grpc.ServerCall
-
Sets the compression algorithm for this call.
- setCompression(String) - Method in class io.grpc.stub.ServerCallStreamObserver
-
Sets the compression algorithm to use for the call.
- setCreationTimeNanos(long) - Method in class io.grpc.InternalChannelz.ChannelTrace.Builder
- setDefaultPort(int) - Method in class io.grpc.NameResolver.Args.Builder
- setDescription(String) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- setEvents(List<InternalChannelz.ChannelTrace.Event>) - Method in class io.grpc.InternalChannelz.ChannelTrace.Builder
- setFackets(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setFullMethodName(String) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the fully qualified (service and method) method name.
- setIdempotent(boolean) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets whether the method is idempotent.
- setLastAckRecv(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setLastAckSent(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setLastCallStartedNanos(long) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setLastCallStartedNanos(long) - Method in class io.grpc.InternalChannelz.ServerStats.Builder
- setLastDataRecv(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setLastDataSent(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setLoadBalancingPolicyConfig(Object) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
-
Sets the load balancing policy config.
- setLost(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setMessageCompression(boolean) - Method in class io.grpc.ClientCall
-
Enables per-message compression, if an encoding type has been negotiated.
- setMessageCompression(boolean) - Method in class io.grpc.ServerCall
-
Enables per-message compression, if an encoding type has been negotiated.
- setMessageCompression(boolean) - Method in class io.grpc.stub.CallStreamObserver
-
Sets message compression for subsequent calls to
StreamObserver.onNext(V). - setName(String) - Method in class io.grpc.ServiceDescriptor.Builder
-
Sets the name.
- setNumEventsLogged(long) - Method in class io.grpc.InternalChannelz.ChannelTrace.Builder
- setOffloadExecutor(Executor) - Method in class io.grpc.NameResolver.Args.Builder
- setOnCancelHandler(Runnable) - Method in class io.grpc.stub.ServerCallStreamObserver
-
Set a
Runnablethat will be called if the callsServerCallStreamObserver.isCancelled()state changes fromfalsetotrue. - setOnReadyHandler(Runnable) - Method in class io.grpc.stub.CallStreamObserver
-
Set a
Runnablethat will be executed every time the streamCallStreamObserver.isReady()state changes fromfalsetotrue. - setOptions(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setPassword(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the password used to connect to the proxy.
- setPmtu(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setProbes(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setProxyAddress(SocketAddress) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the address to the proxy, which is already resolved.
- setProxyDetector(ProxyDetector) - Method in class io.grpc.NameResolver.Args.Builder
- setRawMethodName(MethodDescriptor<?, ?>, Object) - Method in class io.grpc.InternalMethodDescriptor
- setRcvMss(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRcvSsthresh(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRcvWscale(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setReordering(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRequestMarshaller(MethodDescriptor.Marshaller<ReqT>) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the request marshaller.
- setResponseMarshaller(MethodDescriptor.Marshaller<RespT>) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the response marshaller.
- setRetrans(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRetransmits(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRto(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRtt(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setRttvar(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSacked(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSafe(boolean) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets whether this method is safe.
- setSampledToLocalTracing(boolean) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets whether RPCs for this method may be sampled into the local tracing store.
- setScheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.NameResolver.Args.Builder
- setSchemaDescriptor(Object) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the schema descriptor for this builder.
- setSchemaDescriptor(Object) - Method in class io.grpc.ServiceDescriptor.Builder
-
Sets the schema descriptor for this builder.
- setServiceConfig(NameResolver.ConfigOrError) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
-
Sets the Service Config parsed by
NameResolver.Helper.parseServiceConfig(Map). - setServiceConfigParser(NameResolver.ServiceConfigParser) - Method in class io.grpc.NameResolver.Args.Builder
- setSeverity(InternalChannelz.ChannelTrace.Event.Severity) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- setSndCwnd(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSndMss(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSndSsthresh(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSndWscale(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setSocketOptionLingerSeconds(Integer) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
-
The value of
Socket.getSoLinger(). - setSocketOptionTimeoutMillis(Integer) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
-
The value of
Socket.getSoTimeout(). - setSockets(List<InternalWithLogId>) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
-
Sets the sockets.
- setState(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setState(ConnectivityState) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setSubchannelRef(InternalWithLogId) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- setSubchannels(List<InternalWithLogId>) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
-
Sets the subchannels.
- setSynchronizationContext(SynchronizationContext) - Method in class io.grpc.NameResolver.Args.Builder
- setTarget(String) - Method in class io.grpc.InternalChannelz.ChannelStats.Builder
- setTargetAddress(InetSocketAddress) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the address to the target.
- setTcpInfo(InternalChannelz.TcpInfo) - Method in class io.grpc.InternalChannelz.SocketOptions.Builder
- setTimestampNanos(long) - Method in class io.grpc.InternalChannelz.ChannelTrace.Event.Builder
- setTransportAttrs(Attributes) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Sets the attributes of the transport that this stream was created on.
- setType(MethodDescriptor.MethodType) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the method type.
- setUnacked(int) - Method in class io.grpc.InternalChannelz.TcpInfo.Builder
- setUsername(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the username used to connect to the proxy.
- severity - Variable in class io.grpc.InternalChannelz.ChannelTrace.Event
- shortName() - Method in class io.grpc.InternalLogId
- shutdown() - Method in class io.grpc.LoadBalancer
-
The channel asks the load-balancer to shutdown.
- shutdown() - Method in class io.grpc.LoadBalancer.Subchannel
-
Shuts down the Subchannel.
- shutdown() - Method in class io.grpc.ManagedChannel
-
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
- shutdown() - Method in class io.grpc.NameResolver
-
Stops the resolution.
- shutdown() - Method in class io.grpc.Server
-
Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
- SHUTDOWN - io.grpc.ConnectivityState
-
This channel has started shutting down.
- shutdownNow() - Method in class io.grpc.ManagedChannel
-
Initiates a forceful shutdown in which preexisting and new calls are cancelled.
- shutdownNow() - Method in class io.grpc.Server
-
Initiates a forceful shutdown in which preexisting and new calls are rejected.
- SimpleForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
- SimpleForwardingClientCallListener(ClientCall.Listener<RespT>) - Constructor for class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
- SimpleForwardingServerCall(ServerCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
- SimpleForwardingServerCallListener(ServerCall.Listener<ReqT>) - Constructor for class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
- sndCwnd - Variable in class io.grpc.InternalChannelz.TcpInfo
- sndMss - Variable in class io.grpc.InternalChannelz.TcpInfo
- sndSsthresh - Variable in class io.grpc.InternalChannelz.TcpInfo
- sndWscale - Variable in class io.grpc.InternalChannelz.TcpInfo
- socketOptions - Variable in class io.grpc.InternalChannelz.SocketStats
- SocketOptions(Integer, Integer, InternalChannelz.TcpInfo, Map<String, String>) - Constructor for class io.grpc.InternalChannelz.SocketOptions
-
Creates an instance.
- sockets - Variable in class io.grpc.InternalChannelz.ChannelStats
- sockets - Variable in class io.grpc.InternalChannelz.ServerSocketsList
- SocketStats(InternalChannelz.TransportStats, SocketAddress, SocketAddress, InternalChannelz.SocketOptions, InternalChannelz.Security) - Constructor for class io.grpc.InternalChannelz.SocketStats
-
Creates an instance.
- soTimeoutMillis - Variable in class io.grpc.InternalChannelz.SocketOptions
- start() - Method in class io.grpc.Server
-
Bind and start the server.
- start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientCall
-
Start a call, using
responseListenerfor processing response messages. - start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
- start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ForwardingClientCall
- start(LoadBalancer.SubchannelStateListener) - Method in class io.grpc.LoadBalancer.Subchannel
-
Starts the Subchannel.
- start(NameResolver.Listener) - Method in class io.grpc.NameResolver
-
Starts the resolution.
- start(NameResolver.Listener2) - Method in class io.grpc.NameResolver
-
Starts the resolution.
- startCall(ServerCall<RequestT, ResponseT>, Metadata) - Method in interface io.grpc.ServerCallHandler
-
Produce a non-
nulllistener for the incoming call. - state - Variable in class io.grpc.InternalChannelz.ChannelStats
- state - Variable in class io.grpc.InternalChannelz.TcpInfo
- Status - Class in io.grpc
-
Defines the status of an operation by providing a standard
Status.Codein conjunction with an optional descriptive message. - Status.Code - Enum in io.grpc
-
The set of canonical status codes.
- StatusException - Exception in io.grpc
-
Statusin Exception form, for propagating Status information via exceptions. - StatusException(Status) - Constructor for exception io.grpc.StatusException
-
Constructs an exception with both a status.
- StatusException(Status, Metadata) - Constructor for exception io.grpc.StatusException
-
Constructs an exception with both a status and trailers.
- statusFromCancelled(Context) - Static method in class io.grpc.Contexts
-
Returns the
Statusof a cancelled context ornullif the context is not cancelled. - StatusRuntimeException - Exception in io.grpc
-
Statusin RuntimeException form, for propagating Status information via exceptions. - StatusRuntimeException(Status) - Constructor for exception io.grpc.StatusRuntimeException
-
Constructs the exception with both a status.
- StatusRuntimeException(Status, Metadata) - Constructor for exception io.grpc.StatusRuntimeException
-
Constructs the exception with both a status and trailers.
- Storage() - Constructor for class io.grpc.Context.Storage
- stream(T) - Method in interface io.grpc.MethodDescriptor.Marshaller
-
Given a message, produce an
InputStreamfor it so that it can be written to the wire. - streamClosed(Status) - Method in class io.grpc.StreamTracer
-
Stream is closed.
- StreamObserver<V> - Interface in io.grpc.stub
-
Receives notifications from an observable stream of messages.
- StreamObservers - Class in io.grpc.stub
-
Utility functions for working with
StreamObserverand it's common subclasses likeCallStreamObserver. - StreamObservers() - Constructor for class io.grpc.stub.StreamObservers
- streamRequest(ReqT) - Method in class io.grpc.MethodDescriptor
-
Convert a request message to an
InputStream. - streamResponse(RespT) - Method in class io.grpc.MethodDescriptor
-
Serialize an outgoing response message.
- streamsFailed - Variable in class io.grpc.InternalChannelz.TransportStats
- streamsStarted - Variable in class io.grpc.InternalChannelz.TransportStats
- streamsSucceeded - Variable in class io.grpc.InternalChannelz.TransportStats
- StreamTracer - Class in io.grpc
-
Listens to events on a stream to collect metrics.
- StreamTracer() - Constructor for class io.grpc.StreamTracer
- Subchannel() - Constructor for class io.grpc.LoadBalancer.Subchannel
- SubchannelPicker() - Constructor for class io.grpc.LoadBalancer.SubchannelPicker
- subchannelRef - Variable in class io.grpc.InternalChannelz.ChannelTrace.Event
- subchannels - Variable in class io.grpc.InternalChannelz.ChannelStats
- SynchronizationContext - Class in io.grpc
-
A synchronization context is a queue of tasks that run in sequence.
- SynchronizationContext(Thread.UncaughtExceptionHandler) - Constructor for class io.grpc.SynchronizationContext
-
Creates a SynchronizationContext.
- SynchronizationContext.ScheduledHandle - Class in io.grpc
-
Allows the user to check the status and/or cancel a task scheduled by
SynchronizationContext.schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit, java.util.concurrent.ScheduledExecutorService).
T
- target - Variable in class io.grpc.InternalChannelz.ChannelStats
- tcpInfo - Variable in class io.grpc.InternalChannelz.SocketOptions
- thisT() - Method in class io.grpc.ForwardingChannelBuilder
-
Returns the correctly typed version of the builder.
- thisUsesUnstableApi() - Method in class io.grpc.CallCredentials
-
Should be a noop but never called; tries to make it clearer to implementors that they may break in the future.
- throwIfNotInThisSynchronizationContext() - Method in class io.grpc.SynchronizationContext
-
Throw
IllegalStateExceptionif this method is not called from this synchronization context. - Ticker() - Constructor for class io.grpc.Deadline.Ticker
- timeRemaining(TimeUnit) - Method in class io.grpc.Deadline
-
How much time is remaining in the specified time unit.
- timestampNanos - Variable in class io.grpc.InternalChannelz.ChannelTrace.Event
- tls - Variable in class io.grpc.InternalChannelz.Security
- Tls(String, Certificate, Certificate) - Constructor for class io.grpc.InternalChannelz.Tls
-
A constructor only for testing.
- Tls(SSLSession) - Constructor for class io.grpc.InternalChannelz.Tls
-
Creates an instance.
- toAsciiString(T) - Method in interface io.grpc.Metadata.AsciiMarshaller
-
Serialize a metadata value to a ASCII string that contains only the characters listed in the class comment of
Metadata.AsciiMarshaller. - toBuilder() - Method in class io.grpc.Attributes
-
Creates a new builder that is pre-populated with the content of this container.
- toBuilder() - Method in class io.grpc.ClientStreamTracer.StreamInfo
-
Converts this StreamInfo into a new Builder.
- toBuilder() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
Returns a builder with the same initial values as this object.
- toBuilder() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Converts this back to a builder.
- toBuilder() - Method in class io.grpc.MethodDescriptor
-
Turns this descriptor into a builder.
- toBuilder() - Method in class io.grpc.NameResolver.Args
-
Returns a builder with the same initial values as this object.
- toBuilder() - Method in class io.grpc.NameResolver.ResolutionResult
-
Converts these results back to a builder.
- toBuilder(MethodDescriptor.Marshaller<NewReqT>, MethodDescriptor.Marshaller<NewRespT>) - Method in class io.grpc.MethodDescriptor
-
Turns this descriptor into a builder, replacing the request and response marshallers.
- toBytes(T) - Method in interface io.grpc.Metadata.BinaryMarshaller
-
Serialize a metadata value to bytes.
- toStatus() - Method in enum io.grpc.Status.Code
-
Returns a
Statusobject corresponding to this status code. - toStream(T) - Method in interface io.grpc.Metadata.BinaryStreamMarshaller
-
Serializes a metadata value to an
InputStream. - toString() - Method in class io.grpc.Attributes.Key
- toString() - Method in class io.grpc.Attributes
- toString() - Method in class io.grpc.CallOptions.Key
- toString() - Method in class io.grpc.CallOptions
- toString() - Method in class io.grpc.ClientStreamTracer.StreamInfo
- toString() - Method in class io.grpc.ConnectivityStateInfo
- toString() - Method in class io.grpc.Context.Key
- toString() - Method in class io.grpc.Deadline
- toString() - Method in class io.grpc.EquivalentAddressGroup
- toString() - Method in class io.grpc.ForwardingChannelBuilder
- toString() - Method in class io.grpc.HttpConnectProxiedSocketAddress
- toString() - Method in class io.grpc.InternalChannelz.ChannelTrace.Event
- toString() - Method in class io.grpc.InternalLogId
- toString() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
- toString() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
- toString() - Method in class io.grpc.LoadBalancer.PickResult
- toString() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
- toString() - Method in class io.grpc.LoadBalancerProvider
- toString() - Method in class io.grpc.Metadata.Key
- toString() - Method in class io.grpc.Metadata
- toString() - Method in class io.grpc.MethodDescriptor
- toString() - Method in class io.grpc.NameResolver.Args
- toString() - Method in class io.grpc.NameResolver.ConfigOrError
- toString() - Method in class io.grpc.NameResolver.ResolutionResult
- toString() - Method in class io.grpc.ServiceDescriptor
- toString() - Method in class io.grpc.Status
-
A string representation of the status useful for debugging.
- trailersFromThrowable(Throwable) - Static method in class io.grpc.Status
-
Extract an error trailers from the causal chain of a
Throwable. - TRANSIENT_FAILURE - io.grpc.ConnectivityState
-
There has been some transient failure (such as a TCP 3-way handshake timing out or a socket error).
- TRANSPORT_ATTR_LOCAL_ADDR - Static variable in class io.grpc.Grpc
-
Attribute key for the local address of a transport.
- TRANSPORT_ATTR_REMOTE_ADDR - Static variable in class io.grpc.Grpc
-
Attribute key for the remote address of a transport.
- TRANSPORT_ATTR_SSL_SESSION - Static variable in class io.grpc.Grpc
-
Attribute key for SSL session of a transport.
- transportReady(Attributes) - Method in class io.grpc.ServerTransportFilter
-
Called when a transport is ready to process streams.
- TransportStats(long, long, long, long, long, long, long, long, long, long, long, long) - Constructor for class io.grpc.InternalChannelz.TransportStats
-
Creates an instance.
- transportTerminated(Attributes) - Method in class io.grpc.ServerTransportFilter
-
Called when a transport is terminated.
U
- unacked - Variable in class io.grpc.InternalChannelz.TcpInfo
- UNARY - io.grpc.MethodDescriptor.MethodType
-
One request message followed by one response message.
- UNAUTHENTICATED - io.grpc.Status.Code
-
The request does not have valid authentication credentials for the operation.
- UNAUTHENTICATED - Static variable in class io.grpc.Status
-
The request does not have valid authentication credentials for the operation.
- UNAVAILABLE - io.grpc.Status.Code
-
The service is currently unavailable.
- UNAVAILABLE - Static variable in class io.grpc.Status
-
The service is currently unavailable.
- UNIMPLEMENTED - io.grpc.Status.Code
-
Operation is not implemented or not supported/enabled in this service.
- UNIMPLEMENTED - Static variable in class io.grpc.Status
-
Operation is not implemented or not supported/enabled in this service.
- UNKNOWN - io.grpc.MethodDescriptor.MethodType
-
Cardinality and temporal relationships are not known.
- UNKNOWN - io.grpc.Status.Code
-
Unknown error.
- UNKNOWN - Static variable in class io.grpc.Status
-
Unknown error.
- updateAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.Subchannel
-
Replaces the existing addresses used with this
Subchannel. - updateBalancingState(ConnectivityState, LoadBalancer.SubchannelPicker) - Method in class io.grpc.LoadBalancer.Helper
-
Set a new state with a new picker to the channel.
- updateOobChannelAddresses(ManagedChannel, EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.Helper
-
Updates the addresses used for connections in the
Channelthat was created byLoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String). - updateSubchannelAddresses(LoadBalancer.Subchannel, EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.
- updateSubchannelAddresses(LoadBalancer.Subchannel, List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.Helper
-
Deprecated.
- US_ASCII - Static variable in class io.grpc.InternalMetadata
-
Copy of StandardCharsets, which is only available on Java 1.7 and above.
- useInputStreamMessages(ServerServiceDefinition) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseMethodDescriptorserializes to and from InputStream for all methods. - useMarshalledMessages(ServerServiceDefinition, MethodDescriptor.Marshaller<T>) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinitionwhoseMethodDescriptorserializes to and from T for all methods. - usePlaintext() - Method in class io.grpc.ForwardingChannelBuilder
- usePlaintext() - Method in class io.grpc.ManagedChannelBuilder
-
Use of a plaintext connection to the server.
- userAgent(String) - Method in class io.grpc.ForwardingChannelBuilder
- userAgent(String) - Method in class io.grpc.ManagedChannelBuilder
-
Provides a custom
User-Agentfor the application. - useTransportSecurity() - Method in class io.grpc.ForwardingChannelBuilder
- useTransportSecurity() - Method in class io.grpc.ManagedChannelBuilder
-
Makes the client use TLS.
- useTransportSecurity(File, File) - Method in class io.grpc.ServerBuilder
-
Makes the server use TLS.
- useTransportSecurity(InputStream, InputStream) - Method in class io.grpc.ServerBuilder
-
Makes the server use TLS.
V
- value() - Method in annotation type io.grpc.ExperimentalApi
-
Context information such as links to discussion thread, tracking issue etc.
- value() - Method in enum io.grpc.Status.Code
-
The numerical value of the code.
- valueOf(String) - Static method in enum io.grpc.ChannelLogger.ChannelLogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.ConnectivityState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.InternalChannelz.ChannelTrace.Event.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.InternalKnownTransport
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.MethodDescriptor.MethodType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.SecurityLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.Status.Code
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.grpc.stub.InternalClientCalls.StubType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.grpc.ChannelLogger.ChannelLogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.ConnectivityState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.InternalChannelz.ChannelTrace.Event.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.InternalKnownTransport
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.MethodDescriptor.MethodType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.SecurityLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.Status.Code
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.grpc.stub.InternalClientCalls.StubType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WARNING - io.grpc.ChannelLogger.ChannelLogLevel
- with(Decompressor, boolean) - Method in class io.grpc.DecompressorRegistry
-
Registers a decompressor for both decompression and message encoding negotiation.
- withAuthority(String) - Method in class io.grpc.CallOptions
-
Override the HTTP/2 authority the channel claims to be connecting to.
- withCallCredentials(CallCredentials) - Method in class io.grpc.CallOptions
-
Returns a new
CallOptionswith the given call credentials. - withCallCredentials(CallCredentials) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub that uses the given call credentials.
- withCancellation() - Method in class io.grpc.Context
-
Create a new context which is independently cancellable and also cascades cancellation from its parent.
- withCause(Throwable) - Method in class io.grpc.Status
-
Create a derived instance of
Statuswith the given cause. - withChannel(Channel) - Method in class io.grpc.stub.AbstractStub
-
Deprecated.
- withCodeLabelInLatencyHistogram() - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a copy
Configurationwith the difference that status code label will be added to latency histogram. - withCollectorRegistry(CollectorRegistry) - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a copy
Configurationwith the difference that Prometheus metrics are recorded using the suppliedCollectorRegistry. - withCompression(String) - Method in class io.grpc.CallOptions
-
Sets the compression to use for the call.
- withCompression(String) - Method in class io.grpc.stub.AbstractStub
-
Set's the compressor name to use for the call.
- withDeadline(Deadline) - Method in class io.grpc.CallOptions
-
Returns a new
CallOptionswith the given absolute deadline. - withDeadline(Deadline) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub with an absolute deadline.
- withDeadline(Deadline, ScheduledExecutorService) - Method in class io.grpc.Context
-
Create a new context which will cancel itself at the given
Deadline. - withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.CallOptions
-
Returns a new
CallOptionswith a deadline that is after the givendurationfrom now. - withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub with a deadline that is after the given
durationfrom now. - withDeadlineAfter(long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.Context
-
Create a new context which will cancel itself after the given
durationfrom now. - withDescription(String) - Method in class io.grpc.Status
-
Create a derived instance of
Statuswith the given description. - withDrop(Status) - Static method in class io.grpc.LoadBalancer.PickResult
-
A decision to fail an RPC immediately.
- withError(Status) - Static method in class io.grpc.LoadBalancer.PickResult
-
A decision to report a connectivity error to the RPC.
- withExecutor(Executor) - Method in class io.grpc.CallOptions
-
Returns a new
CallOptionswithexecutorto be used instead of the default executor specified withManagedChannelBuilder.executor(java.util.concurrent.Executor). - withExecutor(Executor) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub with the given executor that is to be used instead of the default one specified with
ManagedChannelBuilder.executor(java.util.concurrent.Executor). - withInterceptors(ClientInterceptor...) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub that has the given interceptors attached to the underlying channel.
- withLabelHeaders(List<String>) - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a copy
Configurationthat recognizes the given list of header names and uses their value from each request as prometheus labels. - withLatencyBuckets(double[]) - Method in class me.dinowernli.grpc.prometheus.Configuration
-
Returns a copy
Configurationwith the difference that the latency histogram values are recorded with the specified set of buckets. - withMaxInboundMessageSize(int) - Method in class io.grpc.CallOptions
-
Sets the maximum allowed message size acceptable from the remote peer.
- withMaxInboundMessageSize(int) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub that limits the maximum acceptable message size from a remote peer.
- withMaxOutboundMessageSize(int) - Method in class io.grpc.CallOptions
-
Sets the maximum allowed message size acceptable sent to the remote peer.
- withMaxOutboundMessageSize(int) - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub that limits the maximum acceptable message size to send a remote peer.
- withNoResult() - Static method in class io.grpc.LoadBalancer.PickResult
-
No decision could be made.
- withOption(CallOptions.Key<T>, T) - Method in class io.grpc.CallOptions
-
Sets a custom option.
- withOption(CallOptions.Key<T>, T) - Method in class io.grpc.stub.AbstractStub
-
Sets a custom option to be passed to client interceptors on the channel
ClientInterceptorvia the CallOptions parameter. - withoutWaitForReady() - Method in class io.grpc.CallOptions
-
Disables 'wait for ready' feature for the call.
- withServerCallHandler(ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerMethodDefinition
-
Create a new method definition with a different call handler.
- withStreamTracerFactory(ClientStreamTracer.Factory) - Method in class io.grpc.CallOptions
-
Returns a new
CallOptionswith aClientStreamTracerFactoryin addition to the existing factories. - withSubchannel(LoadBalancer.Subchannel) - Static method in class io.grpc.LoadBalancer.PickResult
-
Equivalent to
withSubchannel(subchannel, null). - withSubchannel(LoadBalancer.Subchannel, ClientStreamTracer.Factory) - Static method in class io.grpc.LoadBalancer.PickResult
-
A decision to proceed the RPC on a Subchannel.
- withValue(Context.Key<V>, V) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withValues(Context.Key<V1>, V1, Context.Key<V2>, V2) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withValues(Context.Key<V1>, V1, Context.Key<V2>, V2, Context.Key<V3>, V3) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withValues(Context.Key<V1>, V1, Context.Key<V2>, V2, Context.Key<V3>, V3, Context.Key<V4>, V4) - Method in class io.grpc.Context
-
Create a new context with the given key value set.
- withWaitForReady() - Method in class io.grpc.CallOptions
-
Enables 'wait for ready' feature for the call.
- withWaitForReady() - Method in class io.grpc.stub.AbstractStub
-
Returns a new stub that uses the 'wait for ready' call option.
- wrap(Runnable) - Method in class io.grpc.Context
-
Wrap a
Runnableso that it executes with this context as theContext.current()context. - wrap(Callable<C>) - Method in class io.grpc.Context
-
Wrap a
Callableso that it executes with this context as theContext.current()context. - wrapChannel(Channel) - Method in class io.grpc.BinaryLog
- wrapClientInterceptor(ClientInterceptor, MethodDescriptor.Marshaller<ReqT>, MethodDescriptor.Marshaller<RespT>) - Static method in class io.grpc.InternalClientInterceptors
- wrapMethod(ServerMethodDefinition<OrigReqT, OrigRespT>, MethodDescriptor<WrapReqT, WrapRespT>) - Static method in class io.grpc.InternalServerInterceptors
- wrapMethodDefinition(ServerMethodDefinition<ReqT, RespT>) - Method in class io.grpc.BinaryLog
All Classes All Packages