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

is_locked()

Returns True if the lock is acquired, False otherwise.

Protected Methods

Special Methods

__enter__()

__exit__(exc_type, exc_value, traceback)

__reduce__()

Helper for pickle.

Parameters:

path (str) –