码迷,mamicode.com
首页 > 其他好文 > 详细

ExecutorService.execute()

时间:2016-07-02 17:22:46      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:

技术分享 void java.util.concurrent.Executor.execute(Runnable command)

 

 

  • 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 the Executor implementation.
    Parameters:
    command - the runnable task
    Throws:
    RejectedExecutionException - if this task cannot be accepted for execution
    NullPointerException - if command is null 

ExecutorService.execute()

标签:

原文地址:http://www.cnblogs.com/xxdfly/p/5635506.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!