-í
ULn=c       sf      y  d  k  l Z Wn,  e j
 o  d f  d „  ƒ  YZ n X d e f d „  ƒ  YZ d S(   (   s   Bases   Basec      s    t  Z  RS(   N(   s   __name__s
   __module__(    (    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   Base s   	s   ICachec      s€    t  Z d  Z   d „  Z   d „  Z # d „  Z * d „  Z - d „  Z 4 d „  Z 7 d „  Z	 @ d „  Z
 G d	 „  Z RS(
   s  ZEO client cache.

    __init__(storage, size, client, var)

    All arguments optional.

    storage -- name of storage
    size -- max size of cache in bytes
    client -- a string; if specified, cache is persistent.
    var -- var directory to store cache files in
    c      s
     d S(   sP  Returns a sequence of object info tuples.

        An object info tuple is a pair containing an object id and a
        pair of serialnos, a non-version serialno and a version serialno:
        oid, (serial, ver_serial)

        This method builds an index of the cache and returns a
        sequence used for cache validation.
        N(    (    (    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   open s   	c      s
     ! d S(   s   Closes the cache.N(    (    (    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   close  s   c    s
   # ( d S(   s   Call func on every object in cache.

        func is called with three arguments
        func(oid, serial, ver_serial)
        N(    (   s   func(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   verify# s   c    s
   * + d S(   s   Remove object from cache.N(    (   s   oids   version(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys
   invalidate* s   c    s
   - 2 d S(   s‚   Load object from cache.

        Return None if object not in cache.
        Return data, serialno if object is in cache.
        N(    (   s   oids   version(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   load- s   c    s
   4 5 d S(   s    Store a new object in the cache.N(    (   s   oids   ps   ss   versions   pvs   sv(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   store4 s   c    s
   7 > d S(   s  Update an object already in the cache.

        XXX This method is called to update objects that were modified by
        a transaction.  It's likely that it is already in the cache,
        and it may be possible for the implementation to operate more
        efficiently.
        N(    (   s   oids   serials   versions   data(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   update7 s   c    s
   @ E d S(   sŽ   Return the version an object is modified in.

        '' signifies the trunk.
        Returns None if the object is not in the cache.
        N(    (   s   oid(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   modifiedInVersion@ s   c    s
   G M d S(   s  Check if adding size bytes would exceed cache limit.

        This method is often called just before store or update.  The
        size is a hint about the amount of data that is about to be
        stored.  The cache may want to evict some data to make space.
        N(    (   s   size(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys	   checkSizeG s   (   s   __name__s
   __module__s   __doc__s   opens   closes   verifys
   invalidates   loads   stores   updates   modifiedInVersions	   checkSize(    (    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   ICache s   	N(   s	   Interfaces   Bases   ImportErrors   ICache(   s   Bases   ICache(    (    s2   /usr/pkg/lib/python2.2/site-packages/ZEO/ICache.pys   ? s   	