681682683684685686687688689690691
{ exitLockLatch.await(500, TimeUnit.MILLISECONDS); } catch (InterruptedException e1) { throw new HornetQInterruptedException(e1); } } } // Now we absolutely know that no threads are executing in or blocked in
11411142114311441145114611471148114911501151
if (waitLatch.await(interval, TimeUnit.MILLISECONDS)) return; } catch (InterruptedException ignore) { throw new HornetQInterruptedException(traceException); } // Exponential back-off long newInterval = (long) (interval * retryIntervalMultiplier);
350351352353354355356357358359360
{ this.wait(timeWait == 0 ? readTimeout : timeWait); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } if (!streamEnded && handledException == null) { if (timeWait != 0 && System.currentTimeMillis() > timeOut)
670671672673674675676677678
{ join(); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } } }
159160161162163164165166167168169
HornetQClientLogger.LOGGER.timedOutStoppingDiscovery(); } } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } thread = null; if (notificationService != null)
215216217218219220221222223224225
{ waitLock.wait(toWait); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } if (timeout != 0) { long now = System.currentTimeMillis();
322323324325326327328329330331332
theCredits.acquireCredits(msgI.getEncodeSize()); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } SessionSendMessage packet = new SessionSendMessage(msgI, sendBlocking, handler); if (sendBlocking)
399400401402403404405406
{ credits.acquireCredits(msgI.getHeadersAndPropertiesEncodeSize()); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } }
462463464465466467468469470471472
{ credits.acquireCredits(chunk.getPacketSize()); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } } } finally {
613614615616617618619620621622623
{ credits.acquireCredits(chunk.getPacketSize()); } catch (InterruptedException e) { throw new HornetQInterruptedException(e); } } try {