Interface CloudRegistry

  • All Known Implementing Classes:
    CloudRegistryImpl

    public interface CloudRegistry
    Registry interface for cloud clients.
    • Method Detail

      • findCloudFactoryByName

        @Nullable
        CloudClientFactory findCloudFactoryByName​(@NotNull
                                                  String name)
        Looks for a factory with the specified name.
        Parameters:
        name - name of cloud (in lower case).
        Returns:
        regsitered cloud factory, or null if no such cloud.
      • getAllCloudFactories

        @NotNull
        List<CloudClientFactory> getAllCloudFactories()
        Returns Returns all available "Real" cloud types, excluding ReadOnlyClient (which is not a "real" cloud type, but rather used to show instances on the secondary nodes).
        Returns:
        unmodifiable list of factories; order of factories is undefined; empty list if no clouds registered.