CBFS Connect 2020 Java Edition

Questions / Feedback?

SerializeEvents Property

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

Syntax

public boolean isSerializeEvents();
public void setSerializeEvents(boolean serializeEvents);

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 SerializeAccess 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 Java Edition - Version 20.0 [Build 8348]