class ConnectionClosedException extends RedisIOException
Command or operation is failed with this exception when it has been already sent through network but the connection was closed before receiving a response. Even though connections are automatically restarted, such command cannot be resent because we don't know whether it was actually executed on the Redis instance or not. In a Redis Cluster deployment, this is likely to happen when a node fails.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConnectionClosedException
- RedisIOException
- RedisException
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ConnectionClosedException(address: NodeAddress, cause: commons.Opt[String])
Value Members
-
final
def
addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- val address: NodeAddress
- val cause: commons.Opt[String]
-
def
fillInStackTrace(): Throwable
- Definition Classes
- Throwable
-
def
getCause(): Throwable
- Definition Classes
- Throwable
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
def
getMessage(): String
- Definition Classes
- Throwable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
-
def
initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any