Ty very much for the quick reply.<br><br>I see. <br><br>Btw, is DeferredStore meant to be threadsafe?<br><br><div class="gmail_quote">2010/4/26 Thomas Hervé <span dir="ltr"><<a href="mailto:thomas.herve@canonical.com">thomas.herve@canonical.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Le lundi 26 avril 2010 à 21:50 +0200, Oscar Campos a écrit :<br>
<div class="im">> Greetings,<br>
><br>
> This is my first post on this list, so hi everybody!.<br>
><br>
> I have some questions about DeferredStores on twsited-storm branch<br>
> from Thomas Herve. I did read the numerous tests located under<br>
> tests/twisted, I also pass all of them with an ok result. My questions<br>
> are related about some things I did see at tests/twisted/base.py.<br>
> On this file we got a DeferredStoreTest object's method called<br>
> test_remove, this method just try to remove the Foo table register id<br>
> 10 and hit an assert about the removed register is None when done.<br>
> This is all clear but... there is not a remove method on DeferredStore<br>
> class (just looking at the API docs). Are those remove, rollback,<br>
> reload, commit and flush missing methods on DeferredStore just mapped<br>
> to any delegate Store object elsewhere?<br>
<br>
</div>Hello!<br>
<br>
Indeed, a bunch of methods are wrapped dynamically once the<br>
DeferredStore object is created: commit, flush, remove, reload,<br>
rollback. Those methods will call the corresponding Store methods in a<br>
thread and returned a Deferred which will fire with the result, if any.<br>
<br>
--<br>
<font color="#888888">Thomas<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Oscar Campos Ruiz-Adame -<a href="mailto:oscar.campos@open-phoenix.com">oscar.campos@open-phoenix.com</a><br>Consultor - Consultant<br>Open Phoenix IT Consultoría Tecnológica - IT Consulting<br>
_________________________________________________<br>Tel. +34 644569088<br><a href="http://www.open-phoenix.com">http://www.open-phoenix.com</a><br>