Class: Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/memorystore/v1beta/memorystore.rb
Overview
Configuration for AOF based persistence.
Defined Under Namespace
Modules: AppendFsync
Instance Attribute Summary collapse
-
#append_fsync ⇒ ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig::AppendFsync
Optional.
Instance Attribute Details
#append_fsync ⇒ ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig::AppendFsync
Returns Optional. The fsync mode.
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 |
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 452 class AOFConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible fsync modes. module AppendFsync # Not set. Default: EVERY_SEC APPEND_FSYNC_UNSPECIFIED = 0 # Never fsync. Normally Linux will flush data every 30 seconds with this # configuration, but it's up to the kernel's exact tuning. NEVER = 1 # Fsync every second. You may lose 1 second of data if there is a # disaster. EVERY_SEC = 2 # Fsync every time new write commands are appended to the AOF. The best # data loss protection at the cost of performance. ALWAYS = 3 end end |