DesignCache

Contents

DesignCache#

class pulserver.proxy.DesignCache[source]#

Bases: object

The designs of a store, the most recently read kept tabulated.

Reading a design tabulates its sequence chain, which is the expensive part of accepting a series; concurrent streams of one design wait for the first to finish rather than tabulating it again. A design that is no longer among the most recently read is read again when next named. The store is read and never written.

Methods

locate

Return the directory of the design a header names.

read

Return a design directory read, tabulating its chain unless kept.

resolve

Return the design a header names; see locate() and read().