| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/persisted/journal/ |
Upload File : |
ó
[³XMc @ sd d Z d d l m Z d d l m Z d d l Z e d ƒ \ Z Z Z d e j
f d „ ƒ YZ d S( sæ Journal using twisted.enterprise.row RDBMS support.
You're going to need the following table in your database::
| CREATE TABLE journalinfo
| (
| commandIndex int
| );
| INSERT INTO journalinfo VALUES (0);
iÿÿÿÿ( t
nested_scopes( t deferNi t
RowJournalc B sk e Z d Z d „ Z d „ Z d „ Z d „ Z d d d d d „ Z d „ Z d „ Z
d „ Z d
„ Z RS( sÅ Journal that stores data 'snapshot' in using twisted.enterprise.row.
Use this as the reflector instead of the original reflector.
It may block on creation, if it has to run recovery.
c C s5 | | _ g | _ d | _ t j j | | | ƒ d S( Ni ( t reflectort commandst syncingt baset Journalt __init__( t selft logt journaledServiceR ( ( sH /usr/lib/python2.7/dist-packages/twisted/persisted/journal/rowjournal.pyR ' s c C s | j j t | f ƒ d S( s+ Mark on object for updating when sync()ing.N( R t appendt UPDATE( R t obj( ( sH /usr/lib/python2.7/dist-packages/twisted/persisted/journal/rowjournal.pyt updateRow- s c C s | j j t | f ƒ d S( s, Mark on object for inserting when sync()ing.N( R R t INSERT( R R ( ( sH /usr/lib/python2.7/dist-packages/twisted/persisted/journal/rowjournal.pyt insertRow1 s c C s | j j t | f ƒ d S( s+ Mark on object for deleting when sync()ing.N( R R t DELETE( R R ( ( sH /usr/lib/python2.7/dist-packages/twisted/persisted/journal/rowjournal.pyt deleteRow5 s i c s5 ˆ j ƒ } | j ‡ ‡ ‡ ‡ ‡ ‡ f d † ƒ | S( s8 Flush all objects to the database and then load objects.c
s( ˆ j j ˆ d ˆ d ˆ d ˆ d ˆ ƒS( Nt parentRowt datat whereClauset
forceChildren( R t loadObjectsFrom( t result( R R t tableNameR R R ( sH /usr/lib/python2.7/dist-packages/twisted/persisted/journal/rowjournal.pyt <lambda><