A B C D E F G I N O R S T U W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Args(Bootstrapper.ServerInfo, String, String, Bootstrapper.BootstrapInfo, Object, Set<String>) - Constructor for class io.grpc.xds.XdsResourceType.Args
B
- bindService() - Method in class io.grpc.xds.orca.OrcaServiceImpl
- build() - Method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig.Builder
-
Creates a new
OrcaOobUtil.OrcaReportingConfigobject. - build() - Method in class io.grpc.xds.XdsServerBuilder
C
- cancelXdsResourceWatch(XdsResourceType<T>, String, XdsClient.ResourceWatcher<T>) - Method in class io.grpc.xds.XdsClient
-
Unregisters the given resource watcher.
- create(ChannelCredentials) - Static method in class io.grpc.xds.XdsChannelCredentials
-
Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.
- create(ServerCredentials) - Static method in class io.grpc.xds.XdsServerCredentials
-
Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.
- create(MetricRecorder) - Static method in class io.grpc.xds.orca.OrcaMetricReportingServerInterceptor
-
Creates a new
OrcaMetricReportingServerInterceptorinstance with the givenMetricRecorder. - create(Bootstrapper.ServerInfo) - Method in interface io.grpc.xds.XdsTransportFactory
- createService(ScheduledExecutorService, MetricRecorder) - Static method in class io.grpc.xds.orca.OrcaServiceImpl
- createService(ScheduledExecutorService, MetricRecorder, long, TimeUnit) - Static method in class io.grpc.xds.orca.OrcaServiceImpl
-
Constructs a service to report server metrics.
- createStreamingCall(String, MethodDescriptor.Marshaller<ReqT>, MethodDescriptor.Marshaller<RespT>) - Method in interface io.grpc.xds.XdsTransportFactory.XdsTransport
- CsdsService - Class in io.grpc.xds
-
The CSDS service provides information about the status of a running xDS client.
D
- DEFAULT_MIN_REPORT_INTERVAL_NANOS - Static variable in class io.grpc.xds.orca.OrcaServiceImpl
-
Empty or invalid (non-positive) minInterval config in will be treated to this default value.
- delegate() - Method in class io.grpc.xds.XdsServerBuilder
- doParse(XdsResourceType.Args, Message) - Method in class io.grpc.xds.XdsResourceType
- drainGraceTime(long, TimeUnit) - Method in class io.grpc.xds.XdsServerBuilder
-
Sets the grace time when draining connections with outdated configuration.
E
- extractResourceName(Message) - Method in class io.grpc.xds.XdsResourceType
F
- fetchClientStatus(ClientStatusRequest, StreamObserver<ClientStatusResponse>) - Method in class io.grpc.xds.CsdsService
- filterRegistry - Variable in class io.grpc.xds.XdsResourceType
- forPort(int) - Static method in class io.grpc.xds.XdsServerBuilder
- forPort(int, ServerCredentials) - Static method in class io.grpc.xds.XdsServerBuilder
-
Creates a gRPC server builder for the given port.
G
- getInstance() - Static method in class io.grpc.xds.orca.OrcaMetricReportingServerInterceptor
- getInstance() - Static method in class io.grpc.xds.orca.OrcaPerRequestUtil
-
Gets an
OrcaPerRequestUtilinstance that provides actual implementation ofOrcaPerRequestUtil.newOrcaClientStreamTracerFactory(io.grpc.xds.orca.OrcaPerRequestUtil.OrcaPerRequestReportListener). - getReportIntervalNanos() - Method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig
-
Returns the configured maximum interval of receiving out-of-band ORCA reports.
- getRingSizeCap() - Static method in class io.grpc.xds.RingHashOptions
-
Get the global limit for min and max ring hash sizes.
I
- interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.xds.orca.OrcaMetricReportingServerInterceptor
- io.grpc.xds - package io.grpc.xds
-
Library for gPRC proxyless service mesh using Envoy xDS protocol.
- io.grpc.xds.orca - package io.grpc.xds.orca
- isFullStateOfTheWorld() - Method in class io.grpc.xds.XdsResourceType
- isReady() - Method in interface io.grpc.xds.XdsTransportFactory.StreamingCall
-
Indicates whether call is capable of sending additional messages without requiring excessive buffering internally.
N
- newBuilder() - Static method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig
-
Creates a new builder.
- newInstance() - Static method in class io.grpc.xds.CsdsService
-
Creates an instance.
- newOrcaClientStreamTracerFactory(ClientStreamTracer.Factory, OrcaPerRequestUtil.OrcaPerRequestReportListener) - Method in class io.grpc.xds.orca.OrcaPerRequestUtil
-
Creates a new
ClientStreamTracer.Factorywith providedOrcaPerRequestUtil.OrcaPerRequestReportListenerinstalled to receive callback when a per-request ORCA report is received. - newOrcaClientStreamTracerFactory(OrcaPerRequestUtil.OrcaPerRequestReportListener) - Method in class io.grpc.xds.orca.OrcaPerRequestUtil
-
Creates a new
ClientStreamTracer.Factorywith providedOrcaPerRequestUtil.OrcaPerRequestReportListenerinstalled to receive callback when a per-request ORCA report is received. - newOrcaReportingHelper(LoadBalancer.Helper) - Static method in class io.grpc.xds.orca.OrcaOobUtil
-
Creates a new
LoadBalancer.Helperwith providedOrcaOobUtil.OrcaOobReportListenerinstalled to receive callback when an out-of-band ORCA report is received.
O
- onChanged(T) - Method in interface io.grpc.xds.XdsClient.ResourceWatcher
- onError(Status) - Method in interface io.grpc.xds.XdsClient.ResourceWatcher
-
Called when the resource discovery RPC encounters some transient error.
- onLoadReport(MetricReport) - Method in interface io.grpc.xds.orca.OrcaOobUtil.OrcaOobReportListener
-
Invoked when an out-of-band ORCA report is received.
- onLoadReport(MetricReport) - Method in interface io.grpc.xds.orca.OrcaPerRequestUtil.OrcaPerRequestReportListener
-
Invoked when a per-request ORCA report is received.
- onNotServing(Throwable) - Method in interface io.grpc.xds.XdsServerBuilder.XdsServingStatusListener
-
Callback invoked when server is forced to be "not serving" due to an error.
- onReady() - Method in interface io.grpc.xds.XdsTransportFactory.EventHandler
-
Called when the stream is ready to send additional messages.
- onRecvMessage(RespT) - Method in interface io.grpc.xds.XdsTransportFactory.EventHandler
-
Called when a message is received on the stream.
- onResourceDoesNotExist(String) - Method in interface io.grpc.xds.XdsClient.ResourceWatcher
-
Called when the requested resource is not available.
- onServing() - Method in interface io.grpc.xds.XdsServerBuilder.XdsServingStatusListener
-
Callback invoked when server begins serving.
- onStatusReceived(Status) - Method in interface io.grpc.xds.XdsTransportFactory.EventHandler
-
Called when status is received on the stream.
- OrcaMetricReportingServerInterceptor - Class in io.grpc.xds.orca
-
A
ServerInterceptorthat intercepts aServerCallby running server-side RPC handling under aContextthat records custom per-request metrics provided by server applications and sends to client side along with the response in the format of Open Request Cost Aggregation (ORCA). - OrcaOobUtil - Class in io.grpc.xds.orca
-
Utility class that provides method for
LoadBalancerto install listeners to receive out-of-band backend metrics in the format of Open Request Cost Aggregation (ORCA). - OrcaOobUtil.OrcaOobReportListener - Interface in io.grpc.xds.orca
-
The listener interface for receiving out-of-band ORCA reports from backends.
- OrcaOobUtil.OrcaReportingConfig - Class in io.grpc.xds.orca
-
Configuration for out-of-band ORCA reporting service RPC.
- OrcaOobUtil.OrcaReportingConfig.Builder - Class in io.grpc.xds.orca
- OrcaPerRequestUtil - Class in io.grpc.xds.orca
-
Utility class that provides method for
LoadBalancerto install listeners to receive per-request backend cost metrics in the format of Open Request Cost Aggregation (ORCA). - OrcaPerRequestUtil() - Constructor for class io.grpc.xds.orca.OrcaPerRequestUtil
- OrcaPerRequestUtil.OrcaPerRequestReportListener - Interface in io.grpc.xds.orca
-
The listener interface for receiving per-request ORCA reports from backends.
- OrcaServiceImpl - Class in io.grpc.xds.orca
-
Implements a
BindableServicethat generates Out-Of-Band server metrics. - overrideBootstrapForTest(Map<String, ?>) - Method in class io.grpc.xds.XdsServerBuilder
-
Allows providing bootstrap override, useful for testing.
R
- ResourceInvalidException(String) - Constructor for exception io.grpc.xds.XdsResourceType.ResourceInvalidException
- ResourceInvalidException(String, Throwable) - Constructor for exception io.grpc.xds.XdsResourceType.ResourceInvalidException
- RingHashOptions - Class in io.grpc.xds
-
Utility class that provides a way to configure ring hash size limits.
S
- sendError(Exception) - Method in interface io.grpc.xds.XdsTransportFactory.StreamingCall
-
An error is encountered.
- sendMessage(ReqT) - Method in interface io.grpc.xds.XdsTransportFactory.StreamingCall
-
Sends a message on the stream.
- setListener(LoadBalancer.Subchannel, OrcaOobUtil.OrcaOobReportListener, OrcaOobUtil.OrcaReportingConfig) - Static method in class io.grpc.xds.orca.OrcaOobUtil
-
Update
OrcaOobUtil.OrcaOobReportListenerto receive Out-of-Band metrics report for the particular subchannel connection, and set the configuration of receiving ORCA reports, such as the interval of receiving reports. - setReportInterval(long, TimeUnit) - Method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig.Builder
-
Sets the maximum expected interval of receiving out-of-band ORCA report.
- setRingSizeCap(long) - Static method in class io.grpc.xds.RingHashOptions
-
Set the global limit for the min and max number of ring hash entries per ring.
- shutdown() - Method in interface io.grpc.xds.XdsTransportFactory.XdsTransport
- start(XdsTransportFactory.EventHandler<RespT>) - Method in interface io.grpc.xds.XdsTransportFactory.StreamingCall
- startRecvMessage() - Method in interface io.grpc.xds.XdsTransportFactory.StreamingCall
-
Requests a message to be received.
- streamClientStatus(StreamObserver<ClientStatusResponse>) - Method in class io.grpc.xds.CsdsService
T
- toBuilder() - Method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig
-
Returns a builder with the same initial values as this object.
- toString() - Method in class io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig
- transportBuilder() - Method in class io.grpc.xds.XdsServerBuilder
-
Returns the delegate
NettyServerBuilderto allow experimental level transport-specific configuration. - typeName() - Method in class io.grpc.xds.XdsResourceType
- typeUrl() - Method in class io.grpc.xds.XdsResourceType
U
- unpackedClassName() - Method in class io.grpc.xds.XdsResourceType
W
- watchXdsResource(XdsResourceType<T>, String, XdsClient.ResourceWatcher<T>) - Method in class io.grpc.xds.XdsClient
- watchXdsResource(XdsResourceType<T>, String, XdsClient.ResourceWatcher<T>, Executor) - Method in class io.grpc.xds.XdsClient
-
Registers a data watcher for the given Xds resource.
X
- XdsChannelCredentials - Class in io.grpc.xds
- XdsClient - Class in io.grpc.xds
-
An
XdsClientinstance encapsulates all of the logic for communicating with the xDS server. - XdsClient() - Constructor for class io.grpc.xds.XdsClient
- XdsClient.ResourceUpdate - Interface in io.grpc.xds
- XdsClient.ResourceWatcher<T extends XdsClient.ResourceUpdate> - Interface in io.grpc.xds
-
Watcher interface for a single requested xDS resource.
- XdsResourceType<T extends XdsClient.ResourceUpdate> - Class in io.grpc.xds
- XdsResourceType() - Constructor for class io.grpc.xds.XdsResourceType
- XdsResourceType.Args - Class in io.grpc.xds
- XdsResourceType.ResourceInvalidException - Exception in io.grpc.xds
- XdsServerBuilder - Class in io.grpc.xds
-
A version of
ServerBuilderto create xDS managed servers. - XdsServerBuilder.XdsServingStatusListener - Interface in io.grpc.xds
-
Applications can register this listener to receive "serving" and "not serving" states of the server using
XdsServerBuilder.xdsServingStatusListener(XdsServingStatusListener). - XdsServerCredentials - Class in io.grpc.xds
- xdsServingStatusListener(XdsServerBuilder.XdsServingStatusListener) - Method in class io.grpc.xds.XdsServerBuilder
-
Set the
XdsServerBuilder.XdsServingStatusListenerto receive "serving" and "not serving" states. - XdsTransportFactory - Interface in io.grpc.xds
-
A factory for creating new XdsTransport instances.
- XdsTransportFactory.EventHandler<RespT> - Interface in io.grpc.xds
-
An interface for handling events on a streaming call.
- XdsTransportFactory.StreamingCall<ReqT,RespT> - Interface in io.grpc.xds
-
Represents a bidi streaming RPC call.
- XdsTransportFactory.XdsTransport - Interface in io.grpc.xds
-
Represents transport for xDS communication (e.g., a gRPC channel).
All Classes All Packages