Class: Valkyrie::Persistence::DeleteTrackingBuffer

Inherits:
Memory::MetadataAdapter show all
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

See Also:

Defined Under Namespace

Classes: Persister

Instance Attribute Summary

Attributes inherited from Memory::MetadataAdapter

#cache

Instance Method Summary collapse

Methods inherited from Memory::MetadataAdapter

#id, #query_service

Instance Method Details

#persisterObject



12
13
14
# File 'lib/valkyrie/persistence/delete_tracking_buffer.rb', line 12

def persister
  @persister ||= DeleteTrackingBuffer::Persister.new(self)
end