atcache(3)

atcache3

Derived object cache handling

Usage

#include <atfs.h>
#include <atfstk.h>

int atSaveCache (Af_key *aso, Af_key *cachedAso, char *uniqAttribute, int storeType);

char* atCacheKey (Af_key *aso);

Overview

atSaveCache adds the given busy object aso to the current derived object cache. It does this by calling af_savecache (manual page af_cache(3)). Prior to that, atSaveCache attaches a key attribute with the name __CacheKey__ to aso, by which the resulting cached object can be uniquely identified within the cache. Return values are the same as from af_savecache (manual page af_cache(3)).

atCacheKey returns an attribute string consisting of the attribute name __CacheKey__ and an attribute value built of the aso modification date, the process number and a (per process unique) serial number. This attribute can (and will) be used to uniquely identify attributed software objects in derived object caches.

Releases

Unchanged in 13 releases since Debian 2.1 (Slink).

  1. 2.1–12

From atfs-dev 1.4pl6-15+b1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.