Redis - (string) - set value
Search form
Description - Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with the key is discarded on successful SET operation.
Runtime Class - com.ibi.agents.XDRedisStringSet
Parameter Groups
Parameter Type Description
* Key: string Key used to store the string
Value: string The value to store
Policy: string Policy which controls the set operation.
Select from one of the following options:
- Set value when Key not Found {NX} - Only set the key if it does not already exist.
- Set value when Key Found {XX} - Only set the key if it already exist.
* - denotes required
Parameter Type Description
Time (secs): integer Sets the specified expiration time, in seconds.
Time (msecs): integer Sets the specified expiration time, in milliseconds.
* - denotes required
Parameter Type Description
Return: string Document to return from the object.
Select from one of the following options:
- Status Document {status} - Status document will be the out document.
- Input Document {input} - Input document will be the out document.
* - denotes required
Output Events
Runtime Class - com.ibi.agents.XDRedisStringSet
Parameter Groups
Parameter Type Description
* Key: string Key used to store the string
Value: string The value to store
Policy: string Policy which controls the set operation.
Select from one of the following options:
- Set value when Key not Found {NX} - Only set the key if it does not already exist.
- Set value when Key Found {XX} - Only set the key if it already exist.
* - denotes required
Parameter Type Description
Time (secs): integer Sets the specified expiration time, in seconds.
Time (msecs): integer Sets the specified expiration time, in milliseconds.
* - denotes required
Parameter Type Description
Return: string Document to return from the object.
Select from one of the following options:
- Status Document {status} - Status document will be the out document.
- Input Document {input} - Input document will be the out document.
* - denotes required
Output Events
Parameter Groups
Parameter | Type | Description | |
---|---|---|---|
* | Key: | string | Key used to store the string | Value: | string | The value to store | Policy: | string | Policy which controls the set operation.
Select from one of the following options:
|
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
Time (secs): | integer | Sets the specified expiration time, in seconds. | Time (msecs): | integer | Sets the specified expiration time, in milliseconds. |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
Return: | string | Document to return from the object.
Select from one of the following options:
|
* - denotes required
Output Events
Name | Description |
---|---|
onFailConnect | Could not connect to the external system. |
fail_parse | Could not parse a document. |
fail_redis | A fail Redis API |
onFailOperation | Could not perform the operation requested. |