ref_backend_factory


Description:

public CollectionBackendFactory? ref_backend_factory (Source source)

Returns the CollectionBackendFactory for source, if available.

If source does not have an SourceCollection extension, or if the SourceCollection extension names an backend_name for which there is no corresponding CollectionBackendFactory, the function returns null .

The returned CollectionBackendFactory is referenced for thread-safety. Unreference the CollectionBackendFactory with unref when finished with it.

Parameters:

this

an SourceRegistryServer

source

an Source

Returns:

the CollectionBackendFactory for source, or null