Class: Valkyrie::Persistence::DeleteTrackingBuffer
- Inherits:
-
Memory::MetadataAdapter
- Object
- Memory::MetadataAdapter
- Valkyrie::Persistence::DeleteTrackingBuffer
- Defined in:
- lib/valkyrie/persistence/delete_tracking_buffer.rb
Overview
Implements the DataMapper Pattern to store metadata in Memory
In Addition this stores an array of all deleted resources
This is used by the Valkyrie::Persistence::BufferedPersister to
buffer deletes for efficiency
Defined Under Namespace
Classes: Persister
Instance Attribute Summary
Attributes inherited from Memory::MetadataAdapter
Instance Method Summary collapse
Methods inherited from Memory::MetadataAdapter
Instance Method Details
#persister ⇒ Object
12 13 14 |
# File 'lib/valkyrie/persistence/delete_tracking_buffer.rb', line 12 def persister @persister ||= DeleteTrackingBuffer::Persister.new(self) end |