Search found 2 matches
- 20 Sep 2016, 20:34
- Forum: Server Side Extension Development
- Topic: Saving ScheduledFuture Stops Code Execution
- Replies: 3
- Views: 5535
Re: Saving ScheduledFuture Stops Code Execution
Thanks Lapo. I'm catching errors in the run method. I've pasted my runnable class code below. public class AIDraftPlayer implements Runnable { User user; RoomExtension roomExt; public AIDraftPlayer(User usr, RoomExtension ext){ user = usr; roomExt = ext; } public void run(){ try{ Logger logger = roo...
- 17 Sep 2016, 16:11
- Forum: Server Side Extension Development
- Topic: Saving ScheduledFuture Stops Code Execution
- Replies: 3
- Views: 5535
Saving ScheduledFuture Stops Code Execution
Hi, I'm trying to schedule at fixed rate a task for each of 9~ ai users. For some reason saving the ScheduledFuture object seems to stop the loop. When i run like below, the bolded trace does not run. public void addAIDrafters(List<User> aiDrafterList){ Integer x = 5; for (User aiDrafter : aiDrafter...