0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class AppendFsync.

Available fsync modes.

Protobuf type `google.cloud.redis.cluster.v1.ClusterPersistenceConfig.AOFConfig.AppendFsync`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1 \\ ClusterPersistenceConfig \\ AOFConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### APPEND_FSYNC_UNSPECIFIED

    Value: 0

Not set. Default: EVERYSEC

Generated from protobuf enum `APPEND_FSYNC_UNSPECIFIED = 0;`

### NO

    Value: 1

Never fsync. Normally Linux will flush data every 30 seconds with this
configuration, but it's up to the kernel's exact tuning.

Generated from protobuf enum `NO = 1;`

### EVERYSEC

    Value: 2

fsync every second. Fast enough, and you may lose 1 second of data if
there is a disaster

Generated from protobuf enum `EVERYSEC = 2;`

### ALWAYS

    Value: 3

fsync every time new write commands are appended to the AOF. It has the
best data loss protection at the cost of performance

Generated from protobuf enum `ALWAYS = 3;`