Interface XdsClient.ResourceStore

  • All Known Implementing Classes:
    XdsClientImpl
    Enclosing class:
    XdsClient

    public static interface XdsClient.ResourceStore
    • 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 or null 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()