@Override public void failed(Throwable throwable) { c.setMaxAsyncWriteQueueSize(origMaxPendingBytes); if (delegate != null) { delegate.failed(throwable); } }
@Override public void failed(Throwable throwable) { if (parentCompletionHandler != null) { parentCompletionHandler.failed(throwable); } }
@Override public void failed(final Throwable throwable) { for (int i = 0; i < sz; i++) { handlers[i].failed(throwable); } }
private void notifyFailure(final FilterChainContext context, final Throwable e) { final CompletionHandler completionHandler = context.operationCompletionHandler; if (completionHandler != null) { completionHandler.failed(e); } final CompletionHandler transportCompletionHandler = context.transportFilterContext.completionHandler; if (transportCompletionHandler != null) { transportCompletionHandler.failed(e); } }
private static void failure( final Throwable failure, final CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler) { if (completionHandler != null) { completionHandler.failed(failure); } } }
@Override public void failed(final Throwable throwable) { for (int i = 0; i < sz; i++) { handlers[i].failed(throwable); } }
private static void failure( final Throwable failure, final CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler) { if (completionHandler != null) { completionHandler.failed(failure); } }
protected void notifyFailure(final CompletionHandler<Integer> completionHandler, final Throwable failure) { if (completionHandler != null) { completionHandler.failed(failure); } } }
@Override public void cancel() { if (completionHandler != null) { completionHandler.failed(new IOException("Selector is closed")); } } }
@Override public void cancel() { if (completionHandler != null) { completionHandler.failed(new IOException("Selector is closed")); } } }
@Override public void notifyFailure(final Throwable e) { final CompletionHandler<WriteResult> chLocal = getCompletionHandler(); if (chLocal != null) { chLocal.failed(e); } }
public void notifyFailure(final Throwable e) { if (completionHandler != null) { completionHandler.failed(e); } else { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, LogMessages.FINE_GRIZZLY_ASYNCQUEUE_ERROR_NOCALLBACK_ERROR(e)); } } }
@Override public void failed(Throwable throwable) { if (completionHandler != null) { completionHandler.failed(throwable); } if (future != null) { future.failure(throwable); } }
private static void abortConnection(final UDPNIOConnection connection, final CompletionHandler<Connection> completionHandler, final Throwable failure) { connection.closeSilently(); if (completionHandler != null) { completionHandler.failed(failure); } }
@Override public void failed(Throwable throwable) { if (completionHandler != null) { completionHandler.failed(throwable); } if (future != null) { future.failure(throwable); } }
@Override public void failed(Throwable throwable) { handler.failed(throwable); serverResponse.resume(); }
private static void abortConnection(final UDPNIOConnection connection, final CompletionHandler<Connection> completionHandler, final Throwable failure) { connection.closeSilently(); if (completionHandler != null) { completionHandler.failed(failure); } }
@Override public void failed(Throwable throwable) { if (completionHandler != null) { completionHandler.failed(throwable); } if (future != null) { future.failure(throwable); } }
private static void abortConnection(final TCPNIOConnection connection, final CompletionHandler<Connection> completionHandler, final Throwable failure) { connection.closeSilently(); if (completionHandler != null) { completionHandler.failed(failure); } }
public void notifyFailure(final Throwable e) { if (completionHandler != null) { completionHandler.failed(e); } else { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, LogMessages.FINE_GRIZZLY_ASYNCQUEUE_ERROR_NOCALLBACK_ERROR(e)); } } }