| Author |
ScheduledExecutorService.newSingleThreadScheduledExecutor appears to launch two threads
|
Alan Sandhurst
Greenhorn
Joined: Apr 30, 2004
Posts: 21
|
|
I have the following code:
My ProcessorTask performs simple business logic.
However, each time I run the above, the task gets invoked twice, i.e. after the initial delay it runs twice, and after each subsequent interval, it runs twice.
Any ideas what I'm doing wrong? Apologies if it's something obvious. Running on Windows XP SP3.
Thanks
Alan
|
 |
 |
|
|
subject: ScheduledExecutorService.newSingleThreadScheduledExecutor appears to launch two threads
|
|
|