Options class used by the Set() method.
void ClearExistsOption |
( |
| ) |
|
|
inline |
Clears/unsets any key existence modifiers that have been set.
Both the NX and XX modifiers will be omitted from the command.
Clears/unsets any expiration modifiers that have been set.
Both the EX and PX modifiers will be omitted from the command.
Sets the NX or XX modifier.
Note: the NX and XX modifiers are mutually exclusive.
- Parameters
-
option | The key existence modifier. |
void SetExpirationMilliseconds |
( |
long |
milliseconds | ) |
|
|
inline |
Sets the PX modifier.
Note: the EX and PX modifiers are mutually exclusive.
- Parameters
-
milliseconds | The expiration value, in milliseconds. |
void SetExpirationSeconds |
( |
long |
seconds | ) |
|
|
inline |
Sets the EX modifier.
Note: the EX and PX modifiers are mutually exclusive.
- Parameters
-
seconds | The expiration value, in seconds. |
The documentation for this class was generated from the following file:
- /mnt/e/cosmo/program/repos/trunk/RedisClient/Assets/phants/ClientForRedis/Assets/Scripts/CmdClient/groups/util/ParameterTypes.cs