Class: Persistence::Adapter::FlatFile::Marshal

Inherits:
Object
  • Object
show all
Includes:
AdapterInterface
Defined in:
lib/persistence/adapter/flat_file/marshal.rb

Overview

FIX - when concerned with multi-threading, Files will need to be locked while attribute modifications occur

(or otherwise virtually locked using corresponding lock files).

FIX - add :lock_non_atomic option and corresponding :release to declare modifications to a non-atomic object complete FIX - add transactions

Constant Summary collapse

SerializationClass =
::Marshal
SerializationMethod =
:dump
UnserializationMethod =
:load
StringifyClassnames =
false
FileContentsAreTextNotBinary =
false
SerializationExtension =
'.ruby_marshal.bin'

Constants included from AdapterInterface

AdapterInterface::Delimiter

Instance Attribute Summary

Attributes included from AdapterInterface

#parent_bucket

Method Summary

Methods included from AdapterInterface

#adapter_class, #delete_bucket_for_object_id, #delete_class_for_object_id, #ensure_object_has_globally_unique_id, #get_bucket_name_for_object_id, #get_class_for_object_id, #initialize, #persistence_bucket