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); } }
282283284285286287288289290291292
{ FutureLatch future = new FutureLatch(); executor.execute(future); while (!future.await(10000)) { HornetQServerLogger.LOGGER.timedOutStoppingPagingCursor(future, executor); } }
638639640641642643644645646647648
{ FutureLatch future = new FutureLatch(); getExecutor().execute(future); boolean result = future.await(timeout); if (!result) { HornetQServerLogger.LOGGER.queueBusy(this.name.toString(), timeout); }
310311312313314315316317318319320
// 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(); }
632633634635636637638639640641642
FutureLatch future = new FutureLatch(); messageQueue.getExecutor().execute(future); boolean ok = future.await(10000); if (!ok) { HornetQServerLogger.LOGGER.errorTransferringConsumer(); }
10251026102710281029103010311032103310341035
org.hornetq.utils.FutureLatch future = new FutureLatch(); sessionExecutor.execute(future); boolean ok = future.await(ClientConsumerImpl.CLOSE_TIMEOUT_MILLISECONDS); if (!ok) { HornetQClientLogger.LOGGER.timeOutWaitingForProcessing(); }
925926927928929930931932933934935
927928929930931932933934935936937