yr.MSetParam#
- class yr.MSetParam(existence: ExistenceOpt = ExistenceOpt.NX, write_mode: WriteMode = WriteMode.NONE_L2_CACHE, ttl_second: int = 0, cache_type: CacheType = CacheType.MEMORY)[source]#
Bases:
objectRepresents the parameter configuration class for the mset operation.
Attributes
Used to indicate whether the assigned storage medium is memory or disk.
Whether duplicate key writing is supported.
Data lifetime; keys exceeding this time will be deleted.
Configures data reliability.
Methods