zcollection.sync.ProcessSync#
- class zcollection.sync.ProcessSync(path)[source]#
Bases:
Sync
This class is used when the user wants to synchronize accesses to the collection, in other words, when there is concurrency.
Public Methods
Returns True if the lock is acquired, False otherwise.
Protected Methods
Special Methods
__exit__
(exc_type, exc_value, traceback)Helper for pickle.
- Parameters:
path (str) –