RedisCommandLowPriority()
This function works the same way as RedisCommand with only one difference. In case the connection pool is down to one free connection. The thread will wait for at least one connection more get free. So this command will not use the last connection available.
Requires Extension: Redis driver
RedisCommandLowPriority( arguments=any, async=boolean, listener=any, cache=string );
Returns: any
| Argument | Description | Default |
|---|---|---|
|
arguments
any,
required
|
edit
arguments you wanna pass, can be a string or a string array. |
|
|
async
boolean,
optional
|
edit
Execute the command in a separate thread, if set to true pass a listener to get the result of the errors. |
false |
|
listener
any,
optional
|
edit
Listener only used when argument async is set to true. This can be a component or a struct containing functions with the following names.
Alias: component, cfc |
|
|
cache
string,
optional
|
edit
name of the cache to use, this must be a redis cache. Alias: cacheName |
Examples
There are currently no examples for this function 39,438ms WARN No examples for function RedisCommandLowPrioritySee also
- Cache
- Redis
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)