GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::CAS::Store::Nested(3) User Contributed Perl Documentation Jifty::CAS::Store::Nested(3)

Jifty::CAS::Store::Nested - A layered CAS store

This is a layered backend for Jifty::CAS, which provides a way to combine multiple CAS backends. Writes are passed through to every layer, whereas reads stop on the first layer which contains the data. This allows a fast in-memory store to be layered on top of a durable file store, for instance.

Configuration requires providing two or more CAS classes:

    framework:
      CAS:
        Default:
          Class: Jifty::CAS::Store::Nested
          Parts:
            - Class: Jifty::CAS::Store::Memory
            - Class: Jifty::CAS::Store::LocalFile
              Path: %var/cas%

Constructs the sub-parts and stores them.

Stores the BLOB (a Jifty::CAS::Blob) in all parts, starting at the bottom. Returns the key on success or undef on failure.

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

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

If any of the parts are durable, the entire nested CAS backend is durable.
2013-01-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.