ExecutorService.execute()
时间:2016-07-02 17:20:41
收藏:0
阅读:781
-
execute
void execute(Runnable command)
Executes the given command at some time in the future. The command may execute in a new thread, in a pooled thread, or in the calling thread, at the discretion of theExecutorimplementation.- Parameters:
command- the runnable task- Throws:
RejectedExecutionException- if this task cannot be accepted for executionNullPointerException- if command is null
原文:http://www.cnblogs.com/xxdfly/p/5635506.html
评论(0)