Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:lsmcd:commands:replace [2016/04/07 18:42]
Rob Holda
litespeed_wiki:lsmcd:commands:replace [2016/04/07 18:53] (current)
Rob Holda
Line 10: Line 10:
  
 **parameters:​** **parameters:​**
 +  * **key** - The name of the unique key by which data is accessed.
   * **flags** - A 32-bit unsigned integer that the server stores with the data provided by the user, and returns along with the data when the item is retrieved.   * **flags** - A 32-bit unsigned integer that the server stores with the data provided by the user, and returns along with the data when the item is retrieved.
- 
   * **TTL** - The length of time (in seconds) the key/value pair will be stored in cache. A 0 value means the data will “never expire” and should not be removed from the cache unless required. If the TTL is more than 30 days then LSMCD interprets it as UNIX timestamp for expiration.   * **TTL** - The length of time (in seconds) the key/value pair will be stored in cache. A 0 value means the data will “never expire” and should not be removed from the cache unless required. If the TTL is more than 30 days then LSMCD interprets it as UNIX timestamp for expiration.
- 
   * **length** - The length of the data in bytes that needs to be stored in LSMCD.   * **length** - The length of the data in bytes that needs to be stored in LSMCD.
- 
   * **noreply** - This **optional** parameter tells the server not to send any reply.   * **noreply** - This **optional** parameter tells the server not to send any reply.
- 
   * **value** - The data that needs to be stored. This parameter needs to be given on the new line after executing the command with the above options.   * **value** - The data that needs to be stored. This parameter needs to be given on the new line after executing the command with the above options.
  
  • Admin
  • Last modified: 2016/04/07 18:42
  • by Rob Holda