首页 > 其他 > 详细

ExecutorService.execute()

时间:2016-07-02 17:20:41      阅读:779      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!