• Post Reply Bookmark Topic Watch Topic
  • New Topic

Callable and Executor  RSS feed

 
Ranch Hand
Posts: 197
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rancher
Posts: 2346
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a question?
 
Santosh Kumar Nayak
Ranch Hand
Posts: 197
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


 
Santosh Kumar Nayak
Ranch Hand
Posts: 197
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
author
Sheriff
Posts: 23306
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Santosh Kumar Nayak wrote:



Your last code example, has nothing to do with Callables or Executors.

Henry
 
Santosh Kumar Nayak
Ranch Hand
Posts: 197
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


what if we use newCachedThreadPool or SingleThreadExecutor ?
 
Saloon Keeper
Posts: 8097
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then your executor will contain an instance with different settings. What of it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!