Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions
wicked.interfaces.ICacheManager Class Reference
Inheritance diagram for wicked.interfaces.ICacheManager:
Inheritance graph
[legend]
Collaboration diagram for wicked.interfaces.ICacheManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def get
def set
def unset

Static Public Attributes

tuple cache_attr = Attribute('attribute to access cache through')
tuple section = Attribute('attribute to access sub-cache through')
tuple cache = Attribute('Actually persisted cache object')

Private Member Functions

def _get_store
def _get_cache

Detailed Description

a cache manager that cache per content instance
on the content type itself. It manages a dual level data
structure: dict(section=dict(key=value))

Definition at line 106 of file interfaces.py.


Constructor & Destructor Documentation

def wicked.interfaces.ICacheManager.__init__ (   field,
  context 
)
cache manager multiadapts the field and the context

Definition at line 116 of file interfaces.py.

00116 
00117     def __init__(field, context):
00118         """
00119         cache manager multiadapts the field and the context
00120         """

Here is the caller graph for this function:


Member Function Documentation

@return actual datastructure
for getting and setting

Definition at line 142 of file interfaces.py.

00142 
00143     def _get_cache():
00144         """
00145         @return actual datastructure
00146         for getting and setting
00147         """
        
create and / or
@return the  master store

Definition at line 136 of file interfaces.py.

00136 
00137     def _get_store():
00138         """
00139         create and / or
00140         @return the  master store
00141         """
        
def wicked.interfaces.ICacheManager.get (   key,
  default,
  kwargs 
)
@rendered wicked link

Definition at line 121 of file interfaces.py.

00121 
00122     def get(key, default, **kwargs):
00123         """
00124         @rendered wicked link
00125         """
        
def wicked.interfaces.ICacheManager.set (   key,
  text 
)
sets text to cache

Definition at line 126 of file interfaces.py.

00126 
00127     def set(key, text):
00128         """
00129         sets text to cache
00130         """
        

Here is the caller graph for this function:

invalidates cache key

Definition at line 131 of file interfaces.py.

00131 
00132     def unset(key):
00133         """
00134         invalidates cache key
00135         """


Member Data Documentation

tuple wicked.interfaces.ICacheManager.cache = Attribute('Actually persisted cache object') [static]

Definition at line 114 of file interfaces.py.

tuple wicked.interfaces.ICacheManager.cache_attr = Attribute('attribute to access cache through') [static]
a cache manager that cache per content instance
on the content type itself. It manages a dual level data
structure: dict(section=dict(key=value))

Definition at line 112 of file interfaces.py.

tuple wicked.interfaces.ICacheManager.section = Attribute('attribute to access sub-cache through') [static]

Definition at line 113 of file interfaces.py.


The documentation for this class was generated from the following file: