Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
num-owners | positiveInteger | 2 | Sets the number of copies of the counter's value available in the cluster. | ||||
reliability |
| AVAILABLE | Sets the reliability mode for the partitions when the cluster splits. |
strong-counter
Configures a strong consistent counter. Its state is well know before and after an update.
Name | Type | Default | Description |
---|---|---|---|
lower-bound | int | Sets the counter's lower bound (inclusive). It makes the strong consistent counter bounded. | |
upper-bound | int | Sets the counter's upper bound (inclusive). it makes the strong consistent counter bounded. |
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
name | ID | Sets the counter's name. It must be unique. | |||||
initial-value | int | 0 | Sets the counter's initial value. | ||||
storage |
| VOLATILE | Sets the counter's storage mode. |
weak-counter
Configures a weak consistent counter. Its state before and after an update is not knows and it is calculated when the counter is read.
Name | Type | Default | Description |
---|---|---|---|
concurrency-level | positiveInteger | 16 | Sets the weak consistent counter's concurrency level. The concurrency level configures the number of concurrent updates allowed in the counter. |
Name | Type | Default | Description | ||||
---|---|---|---|---|---|---|---|
name | ID | Sets the counter's name. It must be unique. | |||||
initial-value | int | 0 | Sets the counter's initial value. | ||||
storage |
| VOLATILE | Sets the counter's storage mode. |