ClusteredRedisQueue class
Class ClusteredRedisQueue Implements possibility to scale queues horizontally between several redis instances.
Signature:
export declare class ClusteredRedisQueue implements IMessageQueue, EventEmitter
Implements: IMessageQueue, EventEmitter
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Class constructor |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Logger instance associated with this queue instance {ILogger} | |||
|
string |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Clears queue data in queue host application. Supposed to be an async function. | ||
|
Safely destroys current queue, unregistered all set event listeners and connections. Supposed to be an async function. | ||
|
Sends a message to given queue name with the given data. Supposed to be an async function. | ||
|
Starts the messaging queue. Supposed to be an async function. | ||
|
Stops the queue (should stop handle queue messages). Supposed to be an async function. | ||