Search in sources :

Example 1 with ChannelClosedException

use of org.apache.drill.exec.rpc.ChannelClosedException in project drill by apache.

the class WebSessionResources method close.

@Override
public void close() {
    try {
        AutoCloseables.close(webUserSession, allocator);
    } catch (Exception ex) {
        logger.error("Failure while closing the session resources", ex);
    }
    // Set the close future associated with this session.
    if (closeFuture != null) {
        closeFuture.setFailure(new ChannelClosedException("Http Session of the user is closed."));
        closeFuture = null;
    }
}
Also used : ChannelClosedException(org.apache.drill.exec.rpc.ChannelClosedException) ChannelClosedException(org.apache.drill.exec.rpc.ChannelClosedException)

Aggregations

ChannelClosedException (org.apache.drill.exec.rpc.ChannelClosedException)1