Ty very much for the quick reply. I see.
Btw, is DeferredStore meant to be threadsafe? 2010/4/26 Thomas Hervé <[email protected]> > Le lundi 26 avril 2010 à 21:50 +0200, Oscar Campos a écrit : > > Greetings, > > > > This is my first post on this list, so hi everybody!. > > > > I have some questions about DeferredStores on twsited-storm branch > > from Thomas Herve. I did read the numerous tests located under > > tests/twisted, I also pass all of them with an ok result. My questions > > are related about some things I did see at tests/twisted/base.py. > > On this file we got a DeferredStoreTest object's method called > > test_remove, this method just try to remove the Foo table register id > > 10 and hit an assert about the removed register is None when done. > > This is all clear but... there is not a remove method on DeferredStore > > class (just looking at the API docs). Are those remove, rollback, > > reload, commit and flush missing methods on DeferredStore just mapped > > to any delegate Store object elsewhere? > > Hello! > > Indeed, a bunch of methods are wrapped dynamically once the > DeferredStore object is created: commit, flush, remove, reload, > rollback. Those methods will call the corresponding Store methods in a > thread and returned a Deferred which will fire with the result, if any. > > -- > Thomas > > -- Oscar Campos Ruiz-Adame [email protected] Consultor - Consultant Open Phoenix IT Consultoría Tecnológica - IT Consulting _________________________________________________ Tel. +34 644569088 http://www.open-phoenix.com
-- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
