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"); }
411412413414415416417418419420421
{ Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { throw new IllegalStateException("Timed out waiting for future to complete"); }
425426427428429430431432433434435
{ 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"); }
376377378379380381382383384385386
Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Timed out waiting for executor"); }
483484485486487488489490491492493
Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Timed out waiting for executor to complete"); }
402403404405406407408409410411412
Future future = new Future(); executor.execute(future); if (!future.await(60000)) { PagingStoreImpl.log.warn("Timed out on waiting PagingStore " + address + " to shutdown"); } }
189190191192193194195196197198199
Future future = new Future(); executor.execute(future); while (!future.await(10000)) { log.warn("Waiting cursor provider " + this + " to finish executors"); } }
207208209210211212213214215216217
615616617618619620621622623624625
Future future = new Future(); executor.execute(future); while (!future.await(5000)) { PageSubscriptionImpl.log.warn("Timeout on waiting cursor " + this + " to be closed"); } if (isPersistent.get())
689690691692693694695696697698699
public void flushExecutors() { Future future = new Future(); executor.execute(future); while (!future.await(1000)) { PageSubscriptionImpl.log.warn("Waiting page cursor to finish executors - " + this); } }