---
name: "Jifty::CAS::Store"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::CAS::Store"
---

# Jifty::CAS::Store(3pm)

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

## NAME

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

## DESCRIPTION

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.
