public SessionFailedMessage deserialize(ReadableByteChannel in, int version, StreamSession session) { return new SessionFailedMessage(); }
public SessionFailedMessage deserialize(ReadableByteChannel in, int version, StreamSession session) throws IOException { return new SessionFailedMessage(); }
public SessionFailedMessage deserialize(ReadableByteChannel in, int version, StreamSession session) { return new SessionFailedMessage(); }
public SessionFailedMessage deserialize(ReadableByteChannel in, int version, StreamSession session) { return new SessionFailedMessage(); }
/**l * Call back for handling exception during streaming. * * @param e thrown exception */ public void onError(Throwable e) { logError(e); // send session failure message if (handler.isOutgoingConnected()) handler.sendMessage(new SessionFailedMessage()); // fail session closeSession(State.FAILED); }
/**l * Call back for handling exception during streaming. * * @param e thrown exception */ public void onError(Throwable e) { logError(e); // send session failure message if (handler.isOutgoingConnected()) handler.sendMessage(new SessionFailedMessage()); // fail session closeSession(State.FAILED); }
/**l * Call back for handling exception during streaming. * * @param e thrown exception */ public void onError(Throwable e) { logError(e); // send session failure message if (handler.isOutgoingConnected()) handler.sendMessage(new SessionFailedMessage()); // fail session closeSession(State.FAILED); }
/**l * Call back for handling exception during streaming. * * @param e thrown exception */ public void onError(Throwable e) { if (e instanceof SocketTimeoutException) { logger.error("[Stream #{}] Streaming socket timed out. This means the session peer stopped responding or " + "is still processing received data. If there is no sign of failure in the other end or a very " + "dense table is being transferred you may want to increase streaming_socket_timeout_in_ms " + "property. Current value is {}ms.", planId(), DatabaseDescriptor.getStreamingSocketTimeout(), e); } else { logger.error("[Stream #{}] Streaming error occurred", planId(), e); } // send session failure message if (handler.isOutgoingConnected()) handler.sendMessage(new SessionFailedMessage()); // fail session closeSession(State.FAILED); }