/AWS1/CL_MEMSHARD¶
Represents a collection of nodes in a cluster. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_NAME
TYPE /AWS1/MEMSTRING
/AWS1/MEMSTRING
¶
The name of the shard
IV_STATUS
TYPE /AWS1/MEMSTRING
/AWS1/MEMSTRING
¶
The current state of this replication group - creating, available, modifying, deleting.
IV_SLOTS
TYPE /AWS1/MEMSTRING
/AWS1/MEMSTRING
¶
The keyspace for this shard.
IT_NODES
TYPE /AWS1/CL_MEMNODE=>TT_NODELIST
TT_NODELIST
¶
A list containing information about individual nodes within the shard
IV_NUMBEROFNODES
TYPE /AWS1/MEMINTEGEROPTIONAL
/AWS1/MEMINTEGEROPTIONAL
¶
The number of nodes in the shard
Queryable Attributes¶
Name¶
The name of the shard
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Status¶
The current state of this replication group - creating, available, modifying, deleting.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
Slots¶
The keyspace for this shard.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SLOTS() |
Getter for SLOTS, with configurable default |
ASK_SLOTS() |
Getter for SLOTS w/ exceptions if field has no value |
HAS_SLOTS() |
Determine if SLOTS has a value |
Nodes¶
A list containing information about individual nodes within the shard
Accessible with the following methods¶
Method | Description |
---|---|
GET_NODES() |
Getter for NODES, with configurable default |
ASK_NODES() |
Getter for NODES w/ exceptions if field has no value |
HAS_NODES() |
Determine if NODES has a value |
NumberOfNodes¶
The number of nodes in the shard
Accessible with the following methods¶
Method | Description |
---|---|
GET_NUMBEROFNODES() |
Getter for NUMBEROFNODES, with configurable default |
ASK_NUMBEROFNODES() |
Getter for NUMBEROFNODES w/ exceptions if field has no value |
HAS_NUMBEROFNODES() |
Determine if NUMBEROFNODES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SHARDLIST
¶
TYPES TT_SHARDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MEMSHARD WITH DEFAULT KEY
.