DSSX_Cache

DSSX_Cache

dssx

1998 12-06


CLASS

DSSX_Cache - A DSS extended construct analogous to a cache


SYNOPSIS

This class provides a cache-like construct built using DSS. DSSX_Cache provides a fixed number of entries that is set during cache construction. An entry is basicly a DSS_Chunk with a cache specific name. Therefore, entries themselves are not fixed in size. The basic idea of DSSX_Cache is that the Atomic() member function checks for an entry matching a key and returns the corresponding data. If Atomic() does not find an entry matching the key, it populates an entry for that key with the user provided function.


PARENTS


DSSX_Chunk public


CONSTRUCTOR


MEMBER FUNCTIONS