File: glossary.rst

package info (click to toggle)
python-persistent 4.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 680 kB
  • ctags: 1,140
  • sloc: python: 4,156; ansic: 2,727; xml: 845; makefile: 112
file content (44 lines) | stat: -rw-r--r-- 1,498 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.. _glossary:

Glossary
========

.. glossary::
   :sorted:

   data manager
     The object responsible for storing and loading an object's
     :term:`pickled data` in a backing store.  Also called a :term:`jar`.

   jar
     Alias for :term:`data manager`:  short for "pickle jar", because
     it traditionally holds the :term:`pickled data` of persistent objects.

   object cache
     An MRU cache for objects associated with a given :term:`data manager`.

   ghost
     An object whose :term:`pickled data` has not yet been loaded from its
     :term:`jar`.  Accessing or mutating any of its attributes causes
     that data to be loaded, which is referred to as :term:`activation`.

   volatile attribute
     Attributes of a persistent object which are *not* caputured as part
     of its :term:`pickled data`.  These attributes thus disappear during
     :term:`deactivation` or :term:`invalidation`.

   pickled data
     The serialized data of a persistent object, stored in and retrieved
     from a backing store by a :term:`data manager`.

   activation
     Moving an object from the ``GHOST`` state to the ``UPTODATE`` state,
     load its :term:`pickled data` from its :term:`jar`.

   deactivation
     Moving an object from the ``UPTODATE`` state to the ``GHOST`` state,
     discarding its :term:`pickled data`.

   invalidation
     Moving an object from either the ``UPTODATE`` state or the ``CHANGED``
     state to the ``GHOST`` state, discarding its :term:`pickled data`.