Uses of Class
io.grpc.xds.client.XdsResourceType
Packages that use XdsResourceType
Package
Description
Library for gPRC proxyless service mesh using Envoy xDS protocol.
-
Uses of XdsResourceType in io.grpc.xds
Subclasses of XdsResourceType in io.grpc.xdsModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
Methods in io.grpc.xds that return types with arguments of type XdsResourceTypeModifier and TypeMethodDescriptionprivate static Map
<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>> CsdsService.awaitSubscribedResourcesMetadata
(com.google.common.util.concurrent.ListenableFuture<Map<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>>> future) Method parameters in io.grpc.xds with type arguments of type XdsResourceTypeModifier and TypeMethodDescriptionprivate static Map
<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>> CsdsService.awaitSubscribedResourcesMetadata
(com.google.common.util.concurrent.ListenableFuture<Map<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>>> future) -
Uses of XdsResourceType in io.grpc.xds.client
Fields in io.grpc.xds.client declared as XdsResourceTypeModifier and TypeFieldDescriptionprivate final XdsResourceType
<T> XdsClientImpl.ResourceSubscriber.type
Fields in io.grpc.xds.client with type parameters of type XdsResourceTypeModifier and TypeFieldDescriptionprivate final Map
<XdsResourceType<? extends XdsClient.ResourceUpdate>, Map<String, XdsClientImpl.ResourceSubscriber<? extends XdsClient.ResourceUpdate>>> XdsClientImpl.resourceSubscribers
private final Map
<XdsResourceType<?>, String> ControlPlaneClient.AdsStream.respNonces
private final Map
<String, XdsResourceType<?>> XdsClientImpl.subscribedResourceTypeUrls
private final Map
<XdsResourceType<?>, String> ControlPlaneClient.versions
Methods in io.grpc.xds.client that return XdsResourceTypeModifier and TypeMethodDescription(package private) XdsResourceType
<?> ControlPlaneClient.fromTypeUrl
(String typeUrl) Methods in io.grpc.xds.client that return types with arguments of type XdsResourceTypeModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture
<Map<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>>> XdsClient.getSubscribedResourcesMetadataSnapshot()
Returns aListenableFuture
to the snapshot of the subscribed resources as they are at the moment of the call.com.google.common.util.concurrent.ListenableFuture
<Map<XdsResourceType<?>, Map<String, XdsClient.ResourceMetadata>>> XdsClientImpl.getSubscribedResourcesMetadataSnapshot()
Map
<String, XdsResourceType<?>> XdsClient.ResourceStore.getSubscribedResourceTypesWithTypeUrl()
Map
<String, XdsResourceType<?>> XdsClientImpl.getSubscribedResourceTypesWithTypeUrl()
Methods in io.grpc.xds.client with parameters of type XdsResourceTypeModifier and TypeMethodDescription(package private) void
ControlPlaneClient.ackResponse
(XdsResourceType<?> type, String versionInfo, String nonce) Accepts the update for the given resource type by updating the latest resource version and sends an ACK request to the management server.(package private) void
ControlPlaneClient.adjustResourceSubscription
(XdsResourceType<?> resourceType) Updates the resource subscription for the given resource type.<T extends XdsClient.ResourceUpdate>
voidXdsClient.cancelXdsResourceWatch
(XdsResourceType<T> type, String resourceName, XdsClient.ResourceWatcher<T> watcher) Unregisters the given resource watcher.<T extends XdsClient.ResourceUpdate>
voidXdsClientImpl.cancelXdsResourceWatch
(XdsResourceType<T> type, String resourceName, XdsClient.ResourceWatcher<T> watcher) XdsClientImpl.getResourceKeys
(XdsResourceType<?> xdsResourceType) XdsClient.ResourceStore.getSubscribedResources
(Bootstrapper.ServerInfo serverInfo, XdsResourceType<? extends XdsClient.ResourceUpdate> type) Returns the collection of resources currently subscribing to ornull
if not subscribing to any resources for the given type.XdsClientImpl.getSubscribedResources
(Bootstrapper.ServerInfo serverInfo, XdsResourceType<? extends XdsClient.ResourceUpdate> type) void
XdsClient.XdsResponseHandler.handleResourceResponse
(XdsResourceType<?> resourceType, Bootstrapper.ServerInfo serverInfo, String versionInfo, List<com.google.protobuf.Any> resources, String nonce, XdsClient.ProcessingTracker processingTracker) Called when a xds response is received.void
XdsClientImpl.handleResourceResponse
(XdsResourceType<?> xdsResourceType, Bootstrapper.ServerInfo serverInfo, String versionInfo, List<com.google.protobuf.Any> resources, String nonce, XdsClient.ProcessingTracker processingTracker) private <T extends XdsClient.ResourceUpdate>
voidXdsClientImpl.handleResourceUpdate
(XdsResourceType.Args args, List<com.google.protobuf.Any> resources, XdsResourceType<T> xdsResourceType, XdsClient.ProcessingTracker processingTracker) (package private) final void
ControlPlaneClient.AdsStream.handleRpcResponse
(XdsResourceType<?> type, String versionInfo, List<com.google.protobuf.Any> resources, String nonce) (package private) void
ControlPlaneClient.nackResponse
(XdsResourceType<?> type, String nonce, String errorDetail) Rejects the update for the given resource type and sends an NACK request (request with last accepted version) to the management server.(package private) void
ControlPlaneClient.AdsStream.sendDiscoveryRequest
(XdsResourceType<?> type, String versionInfo, Collection<String> resources, String nonce, String errorDetail) Sends a discovery request with the givenversionInfo
,nonce
anderrorDetail
.(package private) final void
ControlPlaneClient.AdsStream.sendDiscoveryRequest
(XdsResourceType<?> type, Collection<String> resources) Sends a client-initiated discovery request.<T extends XdsClient.ResourceUpdate>
voidXdsClient.watchXdsResource
(XdsResourceType<T> type, String resourceName, XdsClient.ResourceWatcher<T> watcher) <T extends XdsClient.ResourceUpdate>
voidXdsClient.watchXdsResource
(XdsResourceType<T> type, String resourceName, XdsClient.ResourceWatcher<T> watcher, Executor executor) Registers a data watcher for the given Xds resource.<T extends XdsClient.ResourceUpdate>
voidXdsClientImpl.watchXdsResource
(XdsResourceType<T> type, String resourceName, XdsClient.ResourceWatcher<T> watcher, Executor watcherExecutor) Constructors in io.grpc.xds.client with parameters of type XdsResourceTypeModifierConstructorDescription(package private)
ResourceSubscriber
(XdsResourceType<T> type, String resource)