RedisConnectionState enum

State of the Redis client.

Inheritance

Values

connecting → const RedisConnectionState

The connector is attempting to connect to the Redis server.

ready → const RedisConnectionState

The connector is connected to the Redis server.

closing → const RedisConnectionState

The connector is attempting to disconnect from the Redis server. This is usually only indicated when close() is called on the underlying connector.

closed → const RedisConnectionState

The connector is disconnected from the Redis server. This is the default state for new instances of the connectors.

error → const RedisConnectionState

An error has occurred when attempting to connect to the Redis server or when the connection is closed due to an error. Sent after the closed state.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RedisConnectionState>
A constant List of the values in this enum, in order of their declaration.