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;
}
}
Aggregations