question: public CompletableFuture < NewFile > run ( ) { LOG . log ( Level . FINE , "starting optimized file creation for {0} files" , files . size ( ) ) ; CompletableFuture < NewFile > fileCreation = new CompletableFuture < > ( ) ; final List < TSData > fjpFiles = this . files ; TASK_POOL . execute ( null ) ; synchronized ( OUTSTANDING ) { OUTSTANDING . add ( fileCreation ) ; } this . files = new LinkedList < > ( ) ; return fileCreation ; }
target:  Start creating the optimized file. This operation resets the state of the optimizer task, so it can be re-used for subsequent invocations.