This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Executor Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Executor Interface" Watch "Executor Interface" New topic
Author

Executor Interface

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 226

  • Executor Implementation


  • t1
    t2

  • Withou Executor Implementation


  • t1
    t2

    I don't understand use of Executor.In both cases same output, then why will anyone implement this ?


    OCAJP
    meeta gaur
    Ranch Hand

    Joined: Dec 05, 2012
    Posts: 226

    Oh, got it.I didn't use implementer class.
     
    I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
     
    subject: Executor Interface
     
    Similar Threads
    How to make one thread die before another thread
    Thread doubt
    ThreadGroup question
    Confusion in threads