462463464465466467468469470471472
{ Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Couldn't finish waiting executors. Try increasing the thread pool size", new Exception ("trace")); }
373374375376377378379380381382383
Future future = new Future(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Timed out waiting for executor"); }
484485486487488489490491492493494
Future future = new Future(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Timed out waiting for executor to complete"); }
254255256257258259260261262263264
Future future = new Future(); executor.execute(future); while (!future.await(10000)) { log.warn("Waiting cursor provider " + this + " to finish executors"); } }
272273274275276277278279280281282
392393394395396397398399400401402
Future future = new Future(); executor.execute(future); if (!future.await(60000)) { PagingStoreImpl.log.warn("Timed out on waiting PagingStore " + address + " to shutdown"); } }
672673674675676677678679680681682
public void flushExecutors() { Future future = new Future(); executor.execute(future); while (!future.await(1000)) { PageSubscriptionImpl.log.warn("Waiting page cursor to finish executors - " + this); } }
533534535536537538539540541542543
279280281282283284285286287288289
// Wait for any create objects runnable to complete Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { BridgeImpl.log.warn("Timed out waiting to stop"); }
294295296297298299300301302303304
public void flushExecutor() { Future future = new Future(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't flush ClusterManager executor (" + this + ") in 10 seconds, verify your thread pool size"); } }