Ñò
sÖIc @ s6 d d k Z d d k Z d d k l Z d d k l Z l Z d d k l Z l Z d d k l
Z
l Z d d k l
Z
l Z d Z e i e ƒ Z y5 d d k Z d d k i Z d d k l Z d Z Wn e j
o e d ƒ ‚ n Xe e d
ƒ p
d Z n d e f d
„ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿN( t datetime( t OpenResourceNamespaceManagert Container( t InvalidCacheBackendErrort MissingCacheParameter( t file_synchronizert null_synchronizer( t verify_directoryt SyncDict( t typess 0.3s8 Database cache backend requires the 'sqlalchemy' libraryt
BoundMetaDatas 0.4t DatabaseNamespaceManagerc B s e Z e ƒ Z e ƒ Z d d e d d d d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z d „ Z RS(
t beaker_cachec sÕ t i | | ƒ ˆ d j o
| ‰ n | o
| | _ n | o | d | _ n | i o t | i ƒ n ˆ p ˆ d ‰ ˆ ˆ } ‡ ‡ ‡ f d † }
h | _ t | _ t | _ t i
i | |
ƒ | _ d S( s Creates a database namespace manager
``url``
SQLAlchemy compliant db url
``sa_opts``
A dictionary of SQLAlchemy keyword options to initialize the engine
with.
``optimistic``
Use optimistic session locking, note that this will result in an
additional select when updating a cache value to compare version
numbers.
``table_name``
The table name to use in the database for the cache.
s /container_db_locks sa.urlc
sä ˆ ˆ } ‡ ‡ f d † } t i i | | ƒ } t i ˆ | t i d t i d t ƒt i d t i d ƒ d t
ƒt i d t i d t
ƒt i d t i d t
ƒt i d t i ƒ d t
ƒt i
d ƒ ƒ } | i d
t ƒ | S( Nc s t d j oN ˆ i d ƒ o ˆ o t i ˆ d