Interface UpsamplerSpiRegistry

  • All Known Implementing Classes:
    UpsamplerSpiRegistryImpl

    public interface UpsamplerSpiRegistry
    Created by obarrile on 11/04/2019.
    • Method Detail

      • loadUpsamplerSpis

        void loadUpsamplerSpis()
        Loads the SPIs defined in META-INF/services.
      • getUpsamplerSpis

        Set<UpsamplerSpi> getUpsamplerSpis()
        Returns:
        The set of all registered operator SPIs.
        Since:
        BEAM 5
      • getUpsamplerSpi

        UpsamplerSpi getUpsamplerSpi​(String alias)
        Gets a registered upsampler SPI.
        Parameters:
        alias - a name identifying the upsampler SPI.
        Returns:
        the upsampler SPI, or null
      • addUpsamplerSpi

        boolean addUpsamplerSpi​(UpsamplerSpi upsamplerSpi)
        Adds the given upsamplerSpi to this registry.
        Parameters:
        upsamplerSpi - the SPI to add
        Returns:
        true, if the UpsamplerSpi could be successfully added, otherwise false
      • addUpsamplerSpi

        boolean addUpsamplerSpi​(String upsamplerAlias,
                                UpsamplerSpi upsamplerSpi)
        Adds the given upsamplerSpi to this registry.
        Parameters:
        upsamplerSpi - the SPI to add
        Returns:
        true, if the UpsamplerSpi could be successfully added, otherwise false
      • removeUpsamplerSpi

        boolean removeUpsamplerSpi​(UpsamplerSpi upsamplerSpi)
        Removes the given upsamplerSpi this registry.
        Parameters:
        upsamplerSpi - the SPI to remove
        Returns:
        true, if the SPI could be removed, otherwise false
      • getAliases

        Set getAliases()
        Gets a set of all aliases
        Returns:
        the Set<string> of alias keys