KamaeliaNuts & Bolts | Components | Tools | Cookbook | Systems
wiki:( guest790654, Dev Console, Index, Recent, Edit )
For examples and more explanations, see the module level docs.
Store() -> new Store object
A thread-safe versioning store for key-value pairs
You instantiate this as per the documentation for this module
Returns true if a value can be safely updated. Potentially not thread-safe
Update a key-value pair and increment the version. Not thread-safe
Retreive a value. Returns a clone of the Value. Not thread-safe.
Create a new key-value pair. Not thread-safe
Tries to update a value in the store. If the store is already in use a BusyRetry error is raised. If the value has been updated by another thread a ConcurrentUpdate error is raised
Tries to update a selection of values in the store. If the store is already in use a BusyRetry error is raised. If one of the values has been updated by another thread a ConcurrentUpdate error is raised.
Tries to get an item from the store. Returns the requested Value object. If the store is already in use a BusyRetry error is raised.
Tries to get a selection of items from the store. Returns a Collection dictionary containing the requested values. If the store is already in use a BusyRetry error is raised.
Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!
Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.
-- Automatic documentation generator, 27 Aug 2008 at 03:00:34 UTC/GMT
(C) 2005 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved,
This is an ongoing community based development site. As a result the
contents of this page is the opinions of the contributors of the pages
involved not the organisations involved. Specificially, this page
may contain personal views which are not the views of the BBC.