zcollection.sync.Sync#

class zcollection.sync.Sync[source]#

Bases: ABC

Interface of the classes handling the synchronization of concurrent accesses.

Public Methods

is_locked()

Returns True if the lock is acquired, False otherwise.

Protected Methods

Special Methods

__enter__()

__exit__(exc_type, exc_value, traceback)