RedisCommandOptions class

Options for sending commands to a Redis server. 向Redis服务器发送命令的选项。

Constructors

RedisCommandOptions({Duration timeout = const Duration(seconds: 3), Duration retryInterval = const Duration(seconds: 1), int retryAttempts = 3})
Options for sending commands to a Redis server. 向Redis服务器发送命令的选项。
const

Properties

hashCode int
The hash code for this object.
no setterinherited
retryAttempts int
The maximum number of command attempts. Defaults to 3. 命令重试的最大次数。 默认为3。
final
retryInterval Duration
The delay between command attempts. Defaults to 1 second. 命令尝试之间的延迟。 默认为1秒。
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
The timeout for sending commands to the Redis server. Defaults to 3 seconds. 向Redis服务器发送命令的超时时间。 默认为3秒。
final

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