ServerInfo class
ServerInfo
Constructors
- ServerInfo({required String redisVersion, required String redisGitSha1, required bool redisGitDirty, required String redisBuildId, required String redisMode, required String os, required int archBits, required String multiplexingApi, required String atomicvarApi, required String gccVersion, required int processId, required String runId, required int tcpPort, required int uptimeInSeconds, required int uptimeInDays, required int hz, required int lruClock, required String executable, required String configFile})
- ServerInfo
-
ServerInfo.fromMap(Map<
String, String> map) -
fromMap
factory
Properties
- archBits → int
-
架构位数(32 或 64)
final
- atomicvarApi → String
-
原子变量 API
final
- configFile → String
-
配置文件的路径
final
- executable → String
-
Redis 可执行文件的路径
final
- gccVersion → String
-
GCC 编译器版本
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hz → int
-
Redis 每秒进行的调度次数
final
- lruClock → int
-
服务器的 LRU 时钟
final
- multiplexingApi → String
-
多路复用 API
final
- os → String
-
操作系统
final
- processId → int
-
当前 Redis 服务器的进程 ID
final
- redisBuildId → String
-
构建 ID
final
- redisGitDirty → bool
-
Git 仓库是否有未提交的修改
final
- redisGitSha1 → String
-
Git SHA1
final
- redisMode → String
-
Redis 运行模式(例如 standalone)
final
- redisVersion → String
-
Redis 版本
final
- runId → String
-
Redis 服务器的运行 ID
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tcpPort → int
-
TCP 连接的端口
final
- uptimeInDays → int
-
Redis 已运行的时间(天)
final
- uptimeInSeconds → int
-
Redis 已运行的时间(秒)
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