Monday, 2 May 2016

What happens if you submit task, when queue of thread pool is already fill ?


ThreadPoolExecutor 's submit() method throws RejectedExecutionException if the task cannot be scheduled for execution.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.