751752753754755756757758759760761
public void flushExecutors() { FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(1000)) { HornetQServerLogger.LOGGER.timedOutFlushingExecutorsPagingCursor(this); } }
640641642643644645646647648649650
FutureLatch future = new FutureLatch(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { HornetQServerLogger.LOGGER.errorTransferringConsumer(); }
619620621622623624625626627628629
{ FutureLatch future = new FutureLatch(); getExecutor().execute(future); boolean result = future.await(timeout); if (!result) { HornetQServerLogger.LOGGER.queueBusy(this.name.toString(), timeout); }
618619620621622623624625626627628
398399400401402403404405406407408
public void flushExecutor() { FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't finish executor on " + this); } }
116117118119120121122123124125126
{ FutureLatch future = new FutureLatch(); executor.execute(future); boolean ok = future.await(10000); return ok; } public synchronized HandleStatus handle(final MessageReference reference) throws Exception {
389390391392393394395396397398399
FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(60000)) { HornetQLogger.LOGGER.pageStoreTimeout(address); } }
685686687688689690691692693694695
public void flushExecutors() { FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(1000)) { HornetQLogger.LOGGER.timedOutFlushingExecutorsPagingCursor(this); } }
298299300301302303304305306307308
public void flushExecutor() { FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't flush ClusterManager executor (" + this + ") in 10 seconds, verify your thread pool size"); } }
273274275276277278279280281282283
// Wait for any create objects runnable to complete FutureLatch future = new FutureLatch(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { HornetQLogger.LOGGER.timedOutWaitingToStopBridge(); }