201202203204205206207208209210211
{ if (sockets.isEmpty()) { try { sockets.wait(timeout); } catch (InterruptedException ignored) { log.warn("unexpected interrupt"); throw new InterruptedIOException("Attempt to create control socket interrupted");
368369370371372373374375376377378
{ if (sockets.isEmpty()) { try { sockets.wait(timeout); } catch (InterruptedException e) { log.warn("unexpected interrupt"); throw new InterruptedIOException("Attempt to create callback socket interrupted");
254255256257258259260261262263264
while (timeout == 0 || wait > 0) { try { sockets.wait(wait); break; } catch (InterruptedException e) { log.debug("unexpected interrupt");
468469470471472473474475476477478
{ synchronized (sockets) { try { sockets.wait(1000); } catch (InterruptedException e) { log.debug("unexpected interrupt"); }
202203204205206207208209210211212
382383384385386387388389390391392
258259260261262263264265266267268
476477478479480481482483484485486