Interface StorageQueueClientFactory.Listener

Enclosing interface:
StorageQueueClientFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StorageQueueClientFactory.Listener
Called whenever a QueueAsyncClient is added or removed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    queueClientAdded(String name, com.azure.storage.queue.QueueAsyncClient client)
    The callback method that the queue client has been added.
    default void
    queueClientRemoved(String name, com.azure.storage.queue.QueueAsyncClient client)
    The default callback method that the queue client has been removed.
  • Method Details

    • queueClientAdded

      void queueClientAdded(String name, com.azure.storage.queue.QueueAsyncClient client)
      The callback method that the queue client has been added.
      Parameters:
      name - the name for the queue.
      client - the queue client.
    • queueClientRemoved

      default void queueClientRemoved(String name, com.azure.storage.queue.QueueAsyncClient client)
      The default callback method that the queue client has been removed.
      Parameters:
      name - the name for the queue.
      client - the queue client.