Class FileTreeProcessor

java.lang.Object
se.datadosen.jalbum.io.FileTreeProcessor
All Implemented Interfaces:
AutoCloseable

public class FileTreeProcessor extends Object implements AutoCloseable
Front end for ForkJoinPool capable of processing parallel Streams from FileTreeCollection. To ensure that embedded ForkJoinPool is shut down, follow these rules: 1) Always call process within try-with-arguments block (this class is Autocloseable) 2) Ensure that stream processing throws OperationAbortedException or InterruptedException if Thread.interrupted() is true
Since:
26.1