Interface StorageQueueClientFactory
public interface StorageQueueClientFactory
The strategy to produce
QueueAsyncClient instance.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCalled whenever aQueueAsyncClientis added or removed. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidAdd a listener for this factory.com.azure.storage.queue.QueueAsyncClientcreateQueueClient(String queueName) CreateQueueAsyncClientto send and receive messages to/from Storage Queue.default booleanRemove a listener
-
Method Details
-
createQueueClient
CreateQueueAsyncClientto 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.
-