NodeGroup class

Represents a collection of cache nodes in a replication group. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.

Constructors

NodeGroup({String? nodeGroupId, List<NodeGroupMember>? nodeGroupMembers, Endpoint? primaryEndpoint, Endpoint? readerEndpoint, String? slots, String? status})
NodeGroup.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
nodeGroupId String?
The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.
final
nodeGroupMembers List<NodeGroupMember>?
A list containing information about individual nodes within the node group (shard).
final
primaryEndpoint Endpoint?
The endpoint of the primary node in this node group (shard).
final
readerEndpoint Endpoint?
The endpoint of the replica nodes in this node group (shard).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slots String?
The keyspace for this node group (shard).
final
status String?
The current state of this replication group - creating, available, modifying, deleting.
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