- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clients |
Object | Holds the redis clients. Contains 3 redis connections: 'client', 'subscriber' and 'tasks'. Configured via Properties
|
||||||||||||
subscriptionHandlers |
Object | Callbacks for redis pub/sub |
||||||||||||
rpcCallbacks |
Object | RPC callbacks for responses to other clients |
||||||||||||
status |
Object | Redis connection statuses |
Redis helpers and connections.
Extends
Methods
(async, static) doCluster(method, args, connectionId, waitForRespons) → {Promise}
- Source:
Invoke a command on all servers in this cluster.
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | The method to call on the remote server. |
args |
Array | The arguments to pass to |
connectionId |
string | (optional) Should this method only apply to a server which |
waitForRespons |
Boolean | (optional) Should we await a response from a remote server in the cluster? |
Returns:
The return value from the remote server.
- Type
- Promise