zcollection.sync.NoSync#

class zcollection.sync.NoSync[source]#

Bases: Sync

This class is used when the user does not want to synchronize accesses to the collection, in other words, when there is no concurrency.

Public Methods

is_locked()

As this class does not perform any synchronization, this method always returns False.

Protected Methods

Special Methods

__enter__()

__exit__(exc_type, exc_value, traceback)

As this class does not perform any synchronization, this method has nothing to do.