yr.SetParam#
- class yr.SetParam(existence: ExistenceOpt = ExistenceOpt.NONE, write_mode: WriteMode = WriteMode.NONE_L2_CACHE, ttl_second: int = 0, cache_type: CacheType = CacheType.MEMORY)[source]#
Bases:
objectSet parameters.
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