Interface StorageQueueClientFactory
public interface StorageQueueClientFactory
The strategy to produce
QueueAsyncClient
instance.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Called whenever aQueueAsyncClient
is added or removed. -
Method Summary
Modifier and TypeMethodDescriptiondefault void
Add a listener for this factory.com.azure.storage.queue.QueueAsyncClient
createQueueClient
(String queueName) CreateQueueAsyncClient
to send and receive messages to/from Storage Queue.default boolean
Remove a listener
-
Method Details
-
createQueueClient
CreateQueueAsyncClient
to send and receive messages to/from Storage Queue.- Parameters:
queueName
- the queue name- Returns:
- the QueueAsyncClient.
-
addListener
Add a listener for this factory.- Parameters:
listener
- the listener
-
removeListener
Remove a listener- Parameters:
listener
- the listener- Returns:
- true if removed.
-