Package Products :: Package ZenUtils :: Module Map :: Class Locked |
[hide private]
[frames] | no frames]

# Class Locked

source code

    object --+
             |
            Locked

Use a simple lock for all read/write access to a map

Instance Methods | [hide private]
__init__(self, map) | source code
__contains__(self, key) | source code
has_key(self, key) Deprecated, convert to using 'key in map' form | source code
get(self, *args) | source code
__setitem__(self, key, item) | source code
__getitem__(self, key) | source code
update(self, other) | source code

Method Details | [hide private]

### __init__(self, map) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)

### __contains__(self, key) (In operator) | source code
Decorators: `@Locked_synchronize`

### get(self, *args) | source code
Decorators: `@Locked_synchronize`

### __setitem__(self, key, item) (Index assignment operator) | source code
Decorators: `@Locked_synchronize`

### __getitem__(self, key) (Indexing operator) | source code
Decorators: `@Locked_synchronize`

### update(self, other) | source code
Decorators: `@Locked_synchronize`