ReplicationInfo class
ReplicationInfo
Constructors
-
ReplicationInfo({required String role, required int connectedSlaves, required List<
SlaveInfo> slaves, required String masterReplid, required String masterReplid2, required int masterReplOffset, required int secondReplOffset, required int replBacklogActive, required int replBacklogSize, required int replBacklogFirstByteOffset, required int replBacklogHistlen}) - ReplicationInfo
-
ReplicationInfo.fromMap(Map<
String, String> map) -
fromMap
factory
Properties
- connectedSlaves → int
-
已连接的从节点数量
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- masterReplid → String
-
主节点复制 ID
final
- masterReplid2 → String
-
主节点复制 ID(第二个)
final
- masterReplOffset → int
-
主节点复制偏移量
final
- replBacklogActive → int
-
是否启用复制积压
final
- replBacklogFirstByteOffset → int
-
复制积压第一个字节偏移量
final
- replBacklogHistlen → int
-
复制积压历史长度
final
- replBacklogSize → int
-
复制积压大小
final
- role → String
-
角色(master 或 slave)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondReplOffset → int
-
第二个复制偏移量
final
-
slaves
→ List<
SlaveInfo> -
从节点信息
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