Lines Matching refs:terminated
72 boolean terminated = group.awaitTermination(3, TimeUnit.SECONDS);
73 if (!terminated)
74 throw new RuntimeException("Group should have terminated");
76 throw new RuntimeException("Executor should have terminated");
105 boolean terminated = group.awaitTermination(3, TimeUnit.SECONDS);
106 if (!terminated)
107 throw new RuntimeException("Group should have terminated");
109 throw new RuntimeException("Executor should have terminated");
141 boolean terminated = group.awaitTermination(3, TimeUnit.SECONDS);
142 if (!terminated)
143 throw new RuntimeException("Group should have terminated");
145 throw new RuntimeException("Executor should have terminated");
219 boolean terminated = group.awaitTermination(3, TimeUnit.SECONDS);
220 if (terminated)
221 throw new RuntimeException("Group should not have terminated");
226 terminated = group.awaitTermination(3, TimeUnit.SECONDS);
227 if (!terminated)
228 throw new RuntimeException("Group should have terminated");