384385386387388389390391392393394
FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(60000)) { HornetQServerLogger.LOGGER.pageStoreTimeout(address); } }
619620621622623624625626627628629
{ FutureLatch future = new FutureLatch(); getExecutor().execute(future); boolean result = future.await(timeout); if (!result) { HornetQServerLogger.LOGGER.queueBusy(this.name.toString(), timeout); }
345346347348349350351352353354355
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"); } }
423424425426427428429430431432433
public void flushExecutor() { FutureLatch future = new FutureLatch(); executor.execute(future); if (!future.await(10000)) { server.threadDump("Couldn't finish executor on " + this); } }
629630631632633634635636637638639
FutureLatch future = new FutureLatch(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { HornetQServerLogger.LOGGER.errorTransferringConsumer(); }
328329330331332333334335336337338
// 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(); }
424425426427428429430431432433434
342343344345346347348349350351352
751752753754755756757758759760761
public void flushExecutors() { FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(1000)) { HornetQServerLogger.LOGGER.timedOutFlushingExecutorsPagingCursor(this); } }