Class AzureManager<T,​K>

    • Field Detail

      • resourceGroup

        protected final String resourceGroup
        The resource group.
      • region

        protected final String region
        The region.
    • Constructor Detail

      • AzureManager

        public AzureManager​(@NonNull
                            AzureProperties azureProperties)
        Creates a new instance of AzureManager.
        Parameters:
        azureProperties - The Azure properties.
    • Method Detail

      • exists

        public boolean exists​(K key)
        Description copied from interface: ResourceManager
        Checks for the existence of a given key.
        Specified by:
        exists in interface ResourceManager<T,​K>
        Parameters:
        key - The key.
        Returns:
        Whether the key exists.
      • get

        public T get​(K key)
        Description copied from interface: ResourceManager
        Gets a value for a given key.
        Specified by:
        get in interface ResourceManager<T,​K>
        Parameters:
        key - The key.
        Returns:
        The retrieved value.
      • create

        public T create​(K key)
        Description copied from interface: ResourceManager
        Creates a value for a given key.
        Specified by:
        create in interface ResourceManager<T,​K>
        Parameters:
        key - The key.
        Returns:
        The created value.
      • getOrCreate

        public T getOrCreate​(K key)
        Description copied from interface: ResourceManager
        Gets or creates a value for a given key.
        Specified by:
        getOrCreate in interface ResourceManager<T,​K>
        Parameters:
        key - The key.
        Returns:
        The retrieved or created value.