Package io.grpc.xds.client
Interface XdsClient.ResourceStore
-
- All Known Implementing Classes:
XdsClientImpl
- Enclosing class:
- XdsClient
public static interface XdsClient.ResourceStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
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.java.util.Map<java.lang.String,XdsResourceType<?>>
getSubscribedResourceTypesWithTypeUrl()
-
-
-
Method Detail
-
getSubscribedResources
@Nullable java.util.Collection<java.lang.String> 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.Note an empty collection indicates subscribing to resources of the given type with wildcard mode.
-
getSubscribedResourceTypesWithTypeUrl
java.util.Map<java.lang.String,XdsResourceType<?>> getSubscribedResourceTypesWithTypeUrl()
-
-