-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum RedisHeimdallException.Reason extends Enum<RedisHeimdallException.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNSUPPORTED_ACTIONWhen a client is used the wrong way, e.g. send a non subscription related command over the subscription client.
INTERNALInternal purposes. Should not get propagated to user.
ACCESS_DURING_RECONNECTOn try to send / batch during reconnection process. (Fast-fail)
MAX_ATTEMPTS_REACHEDIf the RedisHeimdallOptions.maxReconnectAttempts is not infinite and the attempts are reached.
RECONNECT_DISABLEDIf the client did lost the connection and reconnect is disabled.
CONNECTION_ISSUEMost usual failure case. Thrown in the case of a connection issue.
CLIENT_BUSYIf the user of the client tries to execute too many commands at once.
UNABLE_TO_STARTIf the ch.sourcemotion.vertx.redis.client.heimdall.subscription.RedisHeimdallSubscription was not able to start
UNSPECIFIEDIf the underlying client throws an unexpected exception type.
-
Method Summary
Modifier and Type Method Description final RedisHeimdallException.ReasonvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<RedisHeimdallException.Reason>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final RedisHeimdallException.Reason valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<RedisHeimdallException.Reason> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-