Class Ruote::FsStorage
In: lib/ruote/storage/fs_storage.rb
Parent: Object

A basic FS-bound ruote storage. Leverages rufus-cloche (github.com/jmettraux/rufus-cloche).

Warning : for JRuby 1.4.0 on Ubuntu, passing the cloche_nolock option set to true seems necessary. See groups.google.com/group/openwferu-users/t/d82516ed3bdd8f23

Methods

add_type   delete   dir   get   get_many   ids   new   purge!   purge_type!   put   shutdown  

Included Modules

StorageBase

Public Class methods

Creates a FsStorage pointing to the given dir.

The options are classical engine configuration, but the ‘cloche_nolock’ option is read by the storage and followed.

Public Instance methods

No need for that here (FsStorage can add types on the fly).

Purges the storage completely.

Shuts this storage down.

[Validate]