Share via


Persistence Class

Definition

Persistence settings

public class Persistence
type Persistence = class
Public Class Persistence
Inheritance
Persistence

Remarks

Persistence-related configuration for the RedisEnterprise database

Constructors

Persistence()

Initializes a new instance of the Persistence class.

Persistence(Nullable<Boolean>, Nullable<Boolean>, String, String)

Initializes a new instance of the Persistence class.

Properties

AofEnabled

Gets or sets sets whether AOF is enabled.

AofFrequency

Gets or sets sets the frequency at which data is written to disk. Possible values include: '1s', 'always'

RdbEnabled

Gets or sets sets whether RDB is enabled.

RdbFrequency

Gets or sets sets the frequency at which a snapshot of the database is created. Possible values include: '1h', '6h', '12h'

Applies to