Class MultithreadedFileCopyHelper

java.lang.Object
htmlpublisher.util.MultithreadedFileCopyHelper

public class MultithreadedFileCopyHelper extends Object
Provides copying of files from the node (controller or agent) to the controller using multiple threads. On the node (controller or agent) the directory and sub-directories are scanned and all files found are collected into a temporary queue on the node.
Beside this, multiple copy-workers are started on the controller: They are calling the node (controller or agent) to copy the files to the controller. This processes takes the previously collected files from the queue on the node and transfers them to the controller.
Finally, the node (controller or agent) is requested to cleanup the queue as it is not needed anymore.