540541542543544545546547548549550
FutureLatch future = new FutureLatch(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { HornetQServerLogger.LOGGER.errorTransferringConsumer(); }
128129130131132133134135136137138
{ FutureLatch future = new FutureLatch(); executor.execute(future); boolean ok = future.await(10000); return ok; } public synchronized HandleStatus handle(final MessageReference reference) throws Exception {
424425426427428429430431432433434
public void flushExecutor() { FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't finish executor on " + this); } }
284285286287288289290291292293294
// Wait for any create objects runnable to complete FutureLatch future = new FutureLatch(); executor.execute(future); boolean ok = future.await(10000); if (!ok) { HornetQServerLogger.LOGGER.timedOutWaitingToStopBridge(); }
384385386387388389390391392393394
FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(60000)) { HornetQServerLogger.LOGGER.pageStoreTimeout(address); } }
749750751752753754755756757758759
public void flushExecutors() { FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(1000)) { HornetQServerLogger.LOGGER.timedOutFlushingExecutorsPagingCursor(this); } }
272273274275276277278279280281282
{ FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(10000)) { HornetQServerLogger.LOGGER.timedOutStoppingPagingCursor(future, executor); } }
330331332333334335336337338339340
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"); } }
315316317318319320321322323324325
389390391392393394395396397398399