533534535536537538539540541542543
{ Future future = new Future(); getExecutor().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")); }
389390391392393394395396397398399
public void flushExecutor() { Future future = new Future(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't finish executor on " + this); } }
756757758759760761762763764765766
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"); }
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"); }
96979899100101102103104105106
Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { Redistributor.log.warn("Timed out waiting for tasks to complete"); }
110111112113114115116117118119120
{ Future future = new Future(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { throw new IllegalStateException("Timed out waiting for executor to complete"); }
390391392393394395396397398399400
260261262263264265266267268269270
Future future = new Future(); executor.execute(future); while (!future.await(10000)) { log.warn("Waiting cursor provider " + this + " to finish executors"); } }
278279280281282283284285286287288
743744745746747748749750751752753
public void flushExecutors() { Future future = new Future(); executor.execute(future); while (!future.await(1000)) { PageSubscriptionImpl.log.warn("Waiting page cursor to finish executors - " + this); } }