CBFS Connect 2020 Python Edition

Questions / Feedback?

serialize_events Property

Whether events should be fired on a single worker thread, or many.

Syntax

def get_serialize_events() -> bool: ...
def set_serialize_events(value: bool) -> None: ...

serialize_events = property(get_serialize_events, set_serialize_events)

Default Value

FALSE

Remarks

This property specifies whether the class should fire all events serially on a single worker thread, or concurrently on multiple worker threads. When this property is disabled (default), the MinWorkerThreadCount and MaxWorkerThreadCount configuration settings control how many worker threads are used to fire events.

Please note that, in general, the class will always fire events related to a single file sequentially (though not necessarily on the same worker thread), regardless of how this property is set. The one exception is that, if this property is disabled, the serialize_access property can be enabled to allow multiple read requests made against a single file to execute concurrently. Please refer to the Threading and Concurrency topic for more information.

Note: This property cannot be changed when active is True, and cannot be changed within events.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 Python Edition - Version 20.0 [Build 8348]