Jifty::CAS::Store - The default, per-process, in-memory store for Jifty's


Jifty documentation  | view source Contained in the Jifty distribution.

Index


NAME

Top

Jifty::CAS::Store - The default, per-process, in-memory store for Jifty's Content-Addressable Storage facility

DESCRIPTION

Top

This is the default backend store for Jifty::CAS. For more information, see DESCRIPTION in Jifty::CAS.

publish DOMAIN NAME CONTENT METADATA

Publishes the given CONTENT at the address DOMAIN and NAME. METADATA is an arbitrary hash; see Jifty::CAS::Blob for more. Returns the key.

_store DOMAIN NAME BLOB

Stores the BLOB (a Jifty::CAS::Blob) in the backend. Returns the key. Don't use this directly, use publish instead.

key DOMAIN NAME

Returns the most recent key for the given pair of DOMAIN and NAME, or undef if none such exists.

retrieve DOMAIN KEY

Returns a Jifty::CAS::Blob for the given pair of DOMAIN and KEY, or undef if none such exists.


Jifty documentation  | view source Contained in the Jifty distribution.