Options
Less than 1 minute
Options
class Options extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Properties
ttl
Default time-to-live (in seconds) applied to stored values. A value of 0 disables expiry/keepalive.
public int $ttlType: int
ns_index
public NsIndex $ns_indexType: Hazaar\Cache\Backend\Shm\Options\NsIndex
size
Size (in bytes) of the shared memory segment used for the namespace's cache data.
public int $size = 1000000Type: int
permissions
Permissions applied to the namespace's shared memory segment.
public int $permissions = 666Type: int
gc_interval
Minimum interval (in seconds) between garbage collection sweeps run on close.
public int $gc_interval = 300Type: int
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000