public class ConnectionReset extends ConnectionException
Connection to indicate that the connection to redis was
reset (typically due to timeout on Redis side).
If the Connection is specified to use
auto-reconnect, the connection has been re-established, but, the status of the request that
gave rise to this exception is indeterminate, in the sense that while this exception certainly indicates
that the response was not received from Redis, it is not clear whether the request itself was
received by the server. This is due to the fact that writing to the OutputStream of a Socket
that has been closed by the remote peer does NOT raise an exception. The exception is raised (reliably) only
on the receive when reading from the Socket's InputStream.
Depending on the application domain and the Command of the request, the user may retry
the request.
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
info |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ConnectionReset(java.lang.String msg) |
ConnectionReset(java.lang.String msg,
java.net.SocketException e) |
getLocalizedMessage, getMessageprivate static final long serialVersionUID
private static final java.lang.String info