set the maximum number of seconds that this forkjoinpool is supposed to block on shutdown in order to wait for remaining tasks to complete their execution before the rest of the container continues to shut down . this is particularly useful if your remaining tasks are likely to need access to other resources that are also managed by the container . by default , this forkjoinpool wo n't wait for the termination of tasks at all . it will continue to fully execute all ongoing tasks as well as all remaining tasks in the queue , in parallel to the rest of the container shutting down . in contrast , if you specify an await-termination period using this property , this executor will wait for the given time max for the termination of tasks . note that this feature works for the #setcommonpool `` commonpool '' mode as well . the underlying forkjoinpool wo n't actually terminate in that case but will wait for all tasks to terminate . concode_field_sep int parallelism concode_elem_sep int awaitTerminationSeconds concode_elem_sep ForkJoinPool forkJoinPool concode_elem_sep boolean commonPool concode_elem_sep ForkJoinPool.ForkJoinWorkerThreadFactory threadFactory concode_elem_sep boolean asyncMode concode_elem_sep Thread.UncaughtExceptionHandler uncaughtExceptionHandler concode_field_sep ForkJoinPool getObject concode_elem_sep void setCommonPool concode_elem_sep void setUncaughtExceptionHandler concode_elem_sep void setThreadFactory concode_elem_sep void afterPropertiesSet concode_elem_sep void setAsyncMode concode_elem_sep Class<?> getObjectType concode_elem_sep boolean isSingleton concode_elem_sep void destroy concode_elem_sep void setParallelism
void function ( int arg0 ) { this . awaitTerminationSeconds = arg0 ; }