662663664665666667668669670671672
public void flushExecutors() { Future future = new Future(); executor.execute(future); while (!future.await(1000)) { PageSubscriptionImpl.log.warn("Waiting page cursor to finish executors - " + this); } }
182183184185186187188189190191192
Future future = new Future(); executor.execute(future); while (!future.await(10000)) { log.warn("Waiting cursor provider " + this + " to finish executors"); } }
200201202203204205206207208209210
405406407408409410411412413414415
Future future = new Future(); executor.execute(future); if (!future.await(60000)) { PagingStoreImpl.log.warn("Timed out on waiting PagingStore " + address + " to shutdown"); } }
415416417418419420421422423424425
{ Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { throw new IllegalStateException("Timed out waiting for future to complete"); }
873874875876877878879880881882883
org.hornetq.utils.Future future = new Future(); sessionExecutor.execute(future); boolean ok = future.await(ClientConsumerImpl.CLOSE_TIMEOUT_MILLISECONDS); if (!ok) { ClientConsumerImpl.log.warn("Timed out waiting for handler to complete processing"); }
844845846847848849850851852853854
521522523524525526527528529530531
Future future = new Future(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { log.warn("Timed out waiting for executor to complete"); }
93949596979899100101102103
Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { Redistributor.log.warn("Timed out waiting for tasks to complete"); }
107108109110111112113114115116117
{ Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { throw new IllegalStateException("Timed out waiting for executor to complete"); }