diff --git a/hazelcast/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx b/hazelcast/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx index e567d516..6c2872b4 100644 --- a/hazelcast/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx @@ -210,40 +210,12 @@ The default backwards-compatible event publishing strategy only publishes `UPDAT When you configure Hazelcast members with property `hazelcast.map.entry.filtering.natural.event.types` set to `true`, handling of entry updates conceptually treats value transition as entry, update or exit with regards to the predicate value space. The following table compares how a listener is notified about an update to a map entry value under the default backwards-compatible Hazelcast behavior (when property `hazelcast.map.entry.filtering.natural.event.types` is not set or is set to `false`) versus when set to `true`: - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
`hazelcast.map.entry.filtering.natural.event.types = false` (default)`hazelcast.map.entry.filtering.natural.event.types = true`
When old value matches predicate, new value does not match predicateNo event is delivered to entry listener`REMOVED` event is delivered to entry listener
When old value matches predicate, new value matches predicate`UPDATED` event is delivered to entry listener`UPDATED` event is delivered to entry listener
When old value does not match predicate, new value does not match predicateNo event is delivered to entry listenerNo event is delivered to entry listener
When old value does not match predicate, new value matches predicate`UPDATED` event is delivered to entry listener`ADDED` event is delivered to entry listener
+| | `hazelcast.map.entry.filtering.natural.event.types = false` (default) | `hazelcast.map.entry.filtering.natural.event.types = true` | +| --- | --- | --- | +| When old value matches predicate, new value does not match predicate | No event is delivered to entry listener | `REMOVED` event is delivered to entry listener | +| When old value matches predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `UPDATED` event is delivered to entry listener | +| When old value does not match predicate, new value does not match predicate | No event is delivered to entry listener | No event is delivered to entry listener | +| When old value does not match predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `ADDED` event is delivered to entry listener | ## Interceptors @@ -269,38 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
`interceptGet`Replace returned `map.get()` value with new value
`afterGet`Action to take after `map.get()` operation is complete
`interceptPut`Replace value in `map.put()` with new value
`afterPut`Action to take after `map.put()` is complete
`interceptRemove`Collects removed map entry
`afterRemove`Action to take after `map.remove()` is complete
+| Method | Description | +| --- | --- | +| `interceptGet` | Replace returned `map.get()` value with new value | +| `afterGet` | Action to take after `map.get()` operation is complete | +| `interceptPut` | Replace value in `map.put()` with new value | +| `afterPut` | Action to take after `map.put()` is complete | +| `interceptRemove` | Collects removed map entry | +| `afterRemove` | Action to take after `map.remove()` is complete | The following is an example usage. diff --git a/hazelcast/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx index 67ff692a..63767951 100644 --- a/hazelcast/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -30,50 +30,56 @@ All primitive types, user types, array size, number of items, length of data, sc You cannot redefine the endianness in Compact Serialization; it is inherited from [existing configuration](../serialization-configuration.mdx#configuration-options). +
+
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+
### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast/develop-and-build/serialization/compact-serialization/overview.mdx b/hazelcast/develop-and-build/serialization/compact-serialization/overview.mdx index 6e465041..e6c2a7ae 100644 --- a/hazelcast/develop-and-build/serialization/compact-serialization/overview.mdx +++ b/hazelcast/develop-and-build/serialization/compact-serialization/overview.mdx @@ -537,50 +537,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast/develop-and-build/sql/functions-and-operators.mdx b/hazelcast/develop-and-build/sql/functions-and-operators.mdx index 5bf69a31..335a18a1 100644 --- a/hazelcast/develop-and-build/sql/functions-and-operators.mdx +++ b/hazelcast/develop-and-build/sql/functions-and-operators.mdx @@ -308,6 +308,14 @@ Conversion functions allow you to convert the result type of one expression to a + + +Function +Description +Example +Result + + `TO_CHAR(expression [, format model] [, NLS parameter])` diff --git a/hazelcast/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx index 56508754..30588c37 100644 --- a/hazelcast/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx b/hazelcast/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx index 3d7bb555..96f00aac 100644 --- a/hazelcast/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx +++ b/hazelcast/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx @@ -243,11 +243,13 @@ There are some options that can be added only in `CREATE MAPPING`: - + -Name -Description +Name +Description + + `startAt` diff --git a/hazelcast/develop-and-build/sql/statements/delete.mdx b/hazelcast/develop-and-build/sql/statements/delete.mdx index e40e5889..00797f5c 100644 --- a/hazelcast/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast/develop-and-build/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast/develop-and-build/sql/statements/update.mdx b/hazelcast/develop-and-build/sql/statements/update.mdx index 7f3cb6a4..f38ae02f 100644 --- a/hazelcast/develop-and-build/sql/statements/update.mdx +++ b/hazelcast/develop-and-build/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx index 2e0f0737..1173998f 100644 --- a/hazelcast/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before (`MapReduce`)/after (Hazelcast Jet) word - + -***3.12.x (`MapReduce`)*** -***5.0 (Jet Engine)*** +3.12.x (`MapReduce`) +5.0 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing a Migration Listener @@ -602,11 +614,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -674,11 +688,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -727,11 +743,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -778,11 +796,13 @@ See the following table for the before/after sample - - - - - - - -Option Name -Default Value -Description - - -`roleAttribute` -`cn` -Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. - - - +| Option Name | Default Value | Description | +| --- | --- | --- | +| `roleAttribute` | `cn` | Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. | diff --git a/hazelcast/reference/list-of-metrics.mdx b/hazelcast/reference/list-of-metrics.mdx index c3a6f7dd..be60a00c 100644 --- a/hazelcast/reference/list-of-metrics.mdx +++ b/hazelcast/reference/list-of-metrics.mdx @@ -307,13 +307,15 @@ The Reset column shows the reset behavior of the metrics. There are two types of - + -Name -Unit -Description -Reset +Name +Unit +Description +Reset + + `map.backupCount` count @@ -658,12 +660,14 @@ The above `*latency` metrics are only measured for the members and they do not r - + -Name -Unit -Description +Name +Unit +Description + + `vectorCollection.backupCount` count @@ -911,397 +915,676 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` +| Name | Unit | Description | +| --- | --- | --- | +| `multiMap.backupCount` | count | Number of backups per entry | +| `multiMap.backupEntryCount` | count | Number of backup entries held by the member | +| `multiMap.creationTime` | ms | Creation time of the multimap in the member | +| `multiMap.dirtyEntryCount` | count | Number of dirty (updated but not persisted yet) entries that the member owns | +| `multiMap.entrySetCount` | count | Number of entry set operations on this member | +| `multiMap.evictionCount` | count | Number of evictions completed on locally owned entries, backups are not included | +| `multiMap.expirationCount` | count | Number of expirations completed on locally owned entries, backups are not included | +| `multiMap.getCount` | count | Number of local get operations on the multimap | +| `multiMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `multiMap.indexedQueryCount` | count | Total number of indexed local queries performed on the multimap | +| `multiMap.indexesSkippedQueryCount` | count | Total number of local queries performed on the multimap which cannot use indexes | +| `multiMap.noMatchingIndexQueryCount` | count | Total number of local queries performed on the multimap which had no matching index | +| `multiMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `multiMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `multiMap.lockedEntryCount` | count | Number of locked entries that the member owns | +| `multiMap.merkleTreesCost` | count | Heap cost of the Merkle trees | +| `multiMap.numberOfEvents` | count | Number of local events received | +| `multiMap.numberOfOtherOperations` | count | Total number of other operations | +| `multiMap.ownedEntryCount` | count | Number of multimap entries owned by the member | +| `multiMap.putCount` | count | Number of local put operations on the multimap | +| `multiMap.queryCount` | count | Number of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage) | +| `multiMap.queryLimiterHitCount` | count | Number of times the query result size limiter was hit on this member | +| `multiMap.removeCount` | count | Number of local remove operations on the multimap | +| `multiMap.setCount` | count | Number of local set operations on the multimap | +| `multiMap.totalGetLatency` | ms | Total latency of local get operations | +| `multiMap.totalMaxGetLatency` | ms | Maximum latency of local get operations | +| `multiMap.totalMaxPutLatency` | ms | Maximum latency of local put operations | +| `multiMap.totalMaxRemoveLatency` | ms | Maximum latency of local remove operations | +| `multiMap.totalMaxSetLatency` | ms | Maximum latency of local set operations | +| `multiMap.totalPutLatency` | ms | Total latency of local put operations | +| `multiMap.totalRemoveLatency` | ms | Total latency of local remove operations | +| `multiMap.totalSetLatency` | ms | Total latency of local set operations | +| `multiMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Replicated Map + +| Name | Unit | Description | +| --- | --- | --- | +| `replicatedMap.creationTime` | ms | Creation time of this replicated map on this member | +| `replicatedMap.entrySetCount` | count | Number of entry set operations on this member | +| `replicatedMap.getCount` | count | Number of get operations on this member | +| `replicatedMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `replicatedMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `replicatedMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `replicatedMap.maxGetLatency` | ms | Maximum latency of get operations | +| `replicatedMap.maxPutLatency` | ms | Maximum latency of put operations | +| `replicatedMap.maxRemoveLatency` | ms | Maximum latency of remove operations | +| `replicatedMap.numberOfEvents` | count | Number of events received on this member | +| `replicatedMap.numberOfOtherOperations` | count | Total number of other operations on this member | +| `replicatedMap.ownedEntryCount` | count | Number of entries owned on this member | +| `replicatedMap.ownedEntryMemoryCost` | bytes | Memory cost of owned entries on this member | +| `replicatedMap.putCount` | count | Number of put operations on this member | +| `replicatedMap.removeCount` | count | Number of remove operations on this member | +| `replicatedMap.totalGetLatencies` | ms | Total latency of get operations | +| `replicatedMap.totalPutLatencies` | ms | Total latency of put operations | +| `replicatedMap.totalRemoveLatencies` | ms | Total latency of remove operations | +| `replicatedMap.total` | count | Total number of operations on this member | +| `replicatedMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `cache.averageGetTime` | µs | Mean time to execute gets on the cache | +| `cache.averagePutTime` | µs | Mean time to execute puts on the cache | +| `cache.averageRemovalTime` | µs | Mean time to execute removes on the cache | +| `cache.cacheEvictions` | count | Number of evictions on the cache | +| `cache.cacheGets` | count | Number of gets on the cache | +| `cache.cacheHits` | count | Number of successful get operations, hits, on the cache | +| `cache.cacheHitPercentage` | percent | Percentage of successful get operations, hits, out of all get operations on the cache | +| `cache.cachePuts` | count | Number of puts to the cache | +| `cache.cacheRemovals` | count | Number of removals from the cache | +| `cache.cacheMisses` | count | Number of missed cache accesses on the cache | +| `cache.cacheMissPercentage` | percent | Percentage of missed cache accesses out of all the cache accesses/access attempts | +| `cache.creationTime` | ms | Creation time of the cache on the member | +| `cache.lastAccessTime` | ms | Cache's last access time | +| `cache.lastUpdateTime` | ms | Cache's last update time | +| `cache.ownedEntryCount` | count | Locally owned entry count in the cache | + +
+ +
+Queue + +| Name | Unit | Description | +| --- | --- | --- | +| `queue.averageAge` | ms | Average age of the items in this member | +| `queue.backupItemCount` | count | Number of backup items held by the member | +| `queue.creationTime` | ms | Creation time of the topic on the member | +| `queue.eventOperationCount` | count | Number of event operations | +| `queue.maxAge` | ms | Maximum age of the items in this member | +| `queue.minAge` | ms | Minimum age of the items in this member | +| `queue.numberOfEmptyPolls` | count | Number of null returning poll operations | +| `queue.numberOfEvents` | count | Number of event operations (duplicate of eventOperationCount) | +| `queue.numberOfOffers` | count | Number of offer/put/add operations | +| `queue.numberOfOtherOperations` | count | Number of other operations | +| `queue.numberOfPolls` | count | Number of poll/take/remove operations. | +| `queue.numberOfRejectedOffers` | count | Number of rejected offers | +| `queue.ownedItemCount` | count | Number of owned items in this member | +| `queue.total` | count | Total number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations) | + +
+ +
+Set + +| Name | Unit | Description | +| --- | --- | --- | +| `set.creationTime` | ms | Creation time of the set on the member | +| `set.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `set.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+List + +| Name | Unit | Description | +| --- | --- | --- | +| `list.creationTime` | ms | Creation time of this list on the member | +| `list.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `list.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `topic.creationTime` | ms | Creation time of the topic on the member | +| `topic.totalPublishes` | count | Total number of published messages of this topic on this member | +| `topic.totalReceivedMessages` | count | Total number of received messages of this topic on this member | + +
+ +
+Reliable Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `reliableTopic.creationTime` | ms | Creation time of this reliable topic on the member | +| `reliableTopic.totalPublishes` | count | Total number of published messages of this reliable topic on this member | +| `reliableTopic.totalReceivedMessages` | count | Total number of received messages of this reliable topic on this member | + +
+ +
+Flake ID Generator + +| Name | Unit | Description | +| --- | --- | --- | +| `flakeIdGenerator.batchCount` | count | Total number of times the Flake ID generator has been used to generate a new ID batch | +| `flakeIdGenerator.creationTime` | ms | Creation time of this Flake ID Generator on the member | +| `flakeIdGenerator.idCount` | count | Total number of IDs generated (the sum of IDs for all batches) | + +
+ +
+PN Counter + +| Name | Unit | Description | +| --- | --- | --- | +| `pnCounter.creationTime` | ms | Creation time of the PN counter on the member | +| `pnCounter.totalDecrementOperationCount` | count | Number of subtract (including decrement) operations on this PN counter | +| `pnCounter.totalIncrementOperationCount` | count | Number of add (including increment) operations on this PN counter | +| `pnCounter.value` | count | Current value of the PN counter | + +
+ +
+Executor Service + +| Name | Unit | Description | +| --- | --- | --- | +| `executor.cancelled` | count | Number of cancelled operations on the executor service | +| `executor.completed` | count | Number of completed operations on the executor service | +| `executor.creationTime` | ms | Creation time of this executor on the member | +| `executor.pending` | count | Number of pending operations on the executor service | +| `executor.started` | count | Number of started operations on the executor service | +| `executor.totalExecutionTime` | ms | Total execution time of the finished operations | +| `executor.totalStartLatency` | ms | Total start latency of operations started | +| `executor.internal.completedTasks` | count | Number of completed tasks by this executor | +| `executor.internal.maximumPoolSize` | count | Maximum number of threads in the executor's thread pool | +| `executor.internal.poolSize` | count | Number of threads in the executor's thread pool | +| `executor.internal.queueSize` | count | Number of pending tasks in this executor's task queue | +| `executor.internal.remainingQueueCapacity` | count | Remaining capacity on the executor's task queue | + +
+ +
+User Code Deployment + +| Name | Unit | Description | +| --- | --- | --- | +| `classloading.loadedClassesCount` | count | Number of classes that are currently loaded | +| `classloading.totalLoadedClassesCount` | count | Total number of classes that have been loaded since the instance has started execution. | +| `classloading.unloadedClassesCount` | count | Total number of unloaded classes. | + +
+ +
+Cluster + +| Name | Unit | Description | +| --- | --- | --- | +| `cluster.clock.clusterStartTime` | ms | Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + +
+ +
+Clients + +Scope: member-side only. These metrics describe clients connected to the local member. + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.map.size` | count | Number of keys in this `CPMap` | +| `cp.map.sizeBytes` | count | Total number of bytes used by key-value pairs for this `CPMap` | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | +| `cp.session.summary` | | Summary information across all CP sessions grouped by CP group. The summary entails `sessionCount` (`count`) which is the count of CP sessions per CP group that are not closed. | + +We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: + +| Name | Unit | Description | +| --- | --- | --- | +| `destroyed.count` | count | Number of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count. | +| `live.count` | count | Number of objects for the parent object type that are in use. | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +The names in this table use canonical `memory.` metric names. + +Prefix and scope variants: + +- Open Source member and client instance memory metrics: `memory.` +- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` +- Enterprise member per-memory-manager metrics: `memorymanager.stats.` + +The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will use for the heap | +| `memory.maxMetadata` | bytes | The threshold for warning about metadata usage | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +Scope: member-side only. only. + +These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +Scope: member-side and client-side. + +The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + - + - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.callTimeoutCount`countNumber of operation call timeouts on the member
`multiMap.dirtyEntryCount``operation.completedCount` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of completed operations
`multiMap.entrySetCount``operation.failedBackups` countNumber of entry set operations on this memberNumber of failed backup operations on the operation service of the member
`multiMap.evictionCount``operation.generic.executedOperationsCount` countNumber of evictions completed on locally owned entries, backups are not includedNumber of executed generic operations
`multiMap.expirationCount``operation.genericPriorityQueueSize` countNumber of expirations completed on locally owned entries, backups are not includedNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.getCount``operation.genericQueueSize` countNumber of local get operations on the multimapNumber of normal generic operations pending (waiting in the queue)
`multiMap.hits``operation.genericThreadCount` countNumber of hits (reads) of the locally owned entriesNumber of generic operation handler threads in the member
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`multiMap.indexesSkippedQueryCount``operation.invocations.backupTimeouts` countTotal number of local queries performed on the multimap which cannot use indexesNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.noMatchingIndexQueryCount``operation.invocations.delayedExecutionCount` countTotal number of local queries performed on the multimap which had no matching indexNumber of times that the operation invocations have delayed
`multiMap.lastAccessTime``operation.invocations.heartbeatBroadcastPeriodMillis` msLast access (read) time of the locally owned entriesBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.lastUpdateTime`msLast update time of the locally owned entries`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`multiMap.lockedEntryCount``operation.invocations.heartbeatPacketsSent` countNumber of locked entries that the member ownsNumber of sent heartbeat packets
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.numberOfEvents`countNumber of local events received`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`multiMap.numberOfOtherOperations``operation.invocations.lastCallId` countTotal number of other operationsLast issued invocation call ID
`multiMap.ownedEntryCount``operation.invocations.normalTimeouts` countNumber of multimap entries owned by the memberNumber of times that the operation invocations have timed out
`multiMap.putCount``operation.invocations.pending` countNumber of local put operations on the multimapNumber of pending invocations
`multiMap.queryCount`countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.queryLimiterHitCount``operation.parker.parkQueueCount` countNumber of times the query result size limiter was hit on this memberNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.removeCount``operation.parker.totalParkedOperationCount` countNumber of local remove operations on the multimapTotal number of parked operations
`multiMap.setCount``operation.partition.executedOperationsCount` countNumber of local set operations on the multimapNumber of executed partition operations on the specified partition
`multiMap.totalGetLatency`msTotal latency of local get operations
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations
`multiMap.totalPutLatency`msTotal latency of local put operations
`multiMap.totalRemoveLatency`msTotal latency of local remove operations`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`multiMap.totalSetLatency`msTotal latency of local set operations`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.valuesCount``operation.queueSize` countNumber of values operations on this member
+ -
+Number of normal operations pending (normal partition operations + normal generic operations). -
-Replicated Map +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - ----- - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - + - + - + - + - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount``operation.responseQueueSize` countNumber of entry set operations on this memberTotal number of pending responses (work queue for the response threads) to be processed.
`replicatedMap.getCount``operation.responses.backupCount` countNumber of get operations on this memberNumber of backup acknowledgement responses
`replicatedMap.hits``operation.responses.errorCount` countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operationsNumber of error responses
`replicatedMap.numberOfEvents``operation.responses.missingCount` countNumber of events received on this memberNumber of responses having missing invocations
`replicatedMap.numberOfOtherOperations``operation.responses.normalCount` countTotal number of other operations on this memberNumber of normal responses
`replicatedMap.ownedEntryCount``operation.responses.timeoutCount` countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this memberNumber of call timeout responses
`replicatedMap.putCount``operation.retryCount` countNumber of put operations on this memberNumber of retried operations
`replicatedMap.removeCount``operation.runningCount` countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operationsNumber of currently running operations (runningPartitionCount + runningGenericCount)
`replicatedMap.total``operation.runningGenericCount` countTotal number of operations on this memberNumber of currently running generic (non partition specific) operations
`replicatedMap.valuesCount``operation.runningPartitionCount` countNumber of values operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - - - - - - - - - - - + - - - + + + - - - + + + - + - +
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cacheNumber of currently running partition operations
`cache.cacheEvictions``operation.thread.completedOperationCount` countNumber of evictions on the cacheNumber of completed operations by this operation thread
`cache.cacheGets``operation.thread.completedOperationBatchCount` countNumber of gets on the cacheNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`cache.cacheHits``operation.thread.completedPacketCount` countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cacheNumber of packets that executed by this operation thread
`cache.cachePuts``operation.thread.completedPartitionSpecificRunnableCount` countNumber of puts to the cacheNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`cache.cacheRemovals``operation.thread.completedRunnableCount` countNumber of removals from the cacheTotal number of runnables executed by this operation thread
`cache.cacheMisses``operation.thread.completedTotalCount` countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the memberTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`cache.lastAccessTime`msCache's last access time`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`cache.lastUpdateTime`msCache's last update time`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`cache.ownedEntryCount``operation.thread.priorityPendingCount` countLocally owned entry count in the cacheNumber of priority pending operations (tasks)
@@ -1309,2381 +1592,248 @@ The above `latency` metrics are only measured for the members and do not represe
-Queue +Operating System - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
+| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space |
-Set +Partitions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Whether there are any currently active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning |
-List +Persistence - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) |
-Topic +Proxies - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service |
-Reliable Topic +Raft Algorithm - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.leadership.averageTimeMs` | ms | Average time this CP group member has held the leader role for | +| `raft.group.leadership.electedCount` | count | Number of times this CP group member has been elected leader | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotBuild.count` | count | Number of local snapshots built so far by this CP group member, including failed attempts | +| `raft.group.snapshotBuild.durationMs` | ms | Duration of the most recently completed local snapshot build for this CP group member, including failed attempts | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.snapshotTransfer.count` | count | Number of snapshot transfers this CP group member has installed from its leader | +| `raft.group.snapshotTransfer.durationMs` | ms | Duration of the most recently completed snapshot transfer this CP group member installed from its leader | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs |
-Flake ID Generator +Runtime - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
+| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used |
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
+TCP -
-Executor Service +Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
+| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesReceived.{PROTOCOL}` | bytes | Number of bytes received over all connections for the protocol (Advanced Networking only) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.bytesSend.{PROTOCOL}` | bytes | Number of bytes sent over all connections for the protocol (Advanced Networking only) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.selectorRebuildCount` | count | Number of times the selector was recreated on this NioThread | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread |
-User Code Deployment +Threads - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
-Cluster +Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
-Clients - -Scope: member-side only. These metrics describe clients connected to the local member. +WAN Replication - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Total number of WAN events currently placed in the WAN queues of primary partitions on this member | +| `wan.queueFillPercent` | percent | Percentage of the WAN replication queue that is filled | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events | +| `wan.connectionHealth` | boolean | The health of an individual WAN target endpoint, where 1 is healthy and 0 is not | +| `wan.failedTransmitCount` | count | Number of attempted WAN replication transmissions that have failed |
-Client Invocations - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
+User Code Namespaces -
- -
-CP Subsystem - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.map.size`countNumber of keys in this `CPMap`
`cp.map.sizeBytes`countTotal number of bytes used by key-value pairs for this `CPMap`
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
`cp.session.summary`Summary information across all CP sessions grouped by CP group. The summary entails `sessionCount` (`count`) which is the count of CP sessions per CP group that are not closed.
- -We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`destroyed.count`countNumber of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count.
`live.count`countNumber of objects for the parent object type that are in use.
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - -The names in this table use canonical `memory.` metric names. - -Prefix and scope variants: - -- Open Source member and client instance memory metrics: `memory.` -- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` -- Enterprise member per-memory-manager metrics: `memorymanager.stats.` - -The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will use for the heap
`memory.maxMetadata`bytesThe threshold for warning about metadata usage
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - -Scope: member-side only. only. - -These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - -Scope: member-side and client-side. - -The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.callTimeoutCount`countNumber of operation call timeouts on the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanWhether there are any currently active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.liveValues`countNumber of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.leadership.averageTimeMs`msAverage time this CP group member has held the leader role for
`raft.group.leadership.electedCount`countNumber of times this CP group member has been elected leader
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotBuild.count`countNumber of local snapshots built so far by this CP group member, including failed attempts
`raft.group.snapshotBuild.durationMs`msDuration of the most recently completed local snapshot build for this CP group member, including failed attempts
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.snapshotTransfer.count`countNumber of snapshot transfers this CP group member has installed from its leader
`raft.group.snapshotTransfer.durationMs`msDuration of the most recently completed snapshot transfer this CP group member installed from its leader
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - -Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesReceived.{PROTOCOL}`bytesNumber of bytes received over all connections for the protocol (Advanced Networking only)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.bytesSend.{PROTOCOL}`bytesNumber of bytes sent over all connections for the protocol (Advanced Networking only)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead`countNumber of priority frames read on this inbound nio pipeline
`tcp.connection.in.priorityFramesRead`countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipeline
`tcp.connection.out.normalFramesWritten`countNumber of written normal frames on this outbound nio pipeline
`tcp.connection.out.priorityFramesWritten`countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queue
`tcp.connection.out.priorityWriteQueueSize`countNumber of priority frames pending in the write queue
`tcp.connection.out.scheduled`countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queue
`tcp.connection.out.writeQueueSize`countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread
`tcp.inputThread/outputThread.completedTaskCount`countTotal number of completed tasks on this NioThread
`tcp.inputThread/outputThread.eventCount`countTotal number of the connections accepted by TcpServerAcceptor
`tcp.inputThread/outputThread.framesTransceived`countNumber of transceived frames on this NioThread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write
`tcp.inputThread/outputThread.ioThreadId`countThread ID of this NioThread
`tcp.inputThread/outputThread.priorityFramesTransceived`countNumber of transceived priority frames
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread
`tcp.inputThread/outputThread.selectorIOExceptionCount`countNumber of times that I/O exceptions are thrown during selection
`tcp.inputThread/outputThread.selectorRebuildCount`countNumber of times the selector was recreated on this NioThread
`tcp.inputThread/outputThread.taskQueueSize`countNumber of pending tasks on the queue of NioThread
- -
- -
-Threads - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
- -
- -
-Transactions - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
- -
- -
-WAN Replication - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countTotal number of WAN events currently placed in the WAN queues of primary partitions on this member
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not
`wan.failedTransmitCount`countNumber of attempted WAN replication transmissions that have failed
- -
- -
-User Code Namespaces - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`ucn.updateTime`msUpdate time of a user code namespace configuration
`ucn.resourceCount`countNumber of resources contained in a namespace
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace
+| Name | Unit | Description | +| --- | --- | --- | +| `ucn.updateTime` | ms | Update time of a user code namespace configuration | +| `ucn.resourceCount` | count | Number of resources contained in a namespace | +| `ucn.resource.resourceType` | enum | The Ordinal of the enum type of the resource contained in a namespace | +| `ucn.resource.resourceSizeBytes` | bytes | The size in bytes of a resource contained in a namespace |
diff --git a/hazelcast/reference/system-properties.mdx b/hazelcast/reference/system-properties.mdx index b5bad581..1dd21b6d 100644 --- a/hazelcast/reference/system-properties.mdx +++ b/hazelcast/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to [restart](../operate - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/authentication-types/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/authentication-types/jaas-authentication.mdx index c55fc993..b145fd53 100644 --- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/authentication-types/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/authentication-types/jaas-authentication.mdx @@ -77,35 +77,11 @@ public abstract class ClusterLoginModule implements LoginModule { `ClusterLoginModule` supports a basic set of login module options, which allow skipping adding principals of a given type to the JAAS Subject. It allows, for instance, to have just one `ClusterIdentityPrincipal` in the `Subject` even if there are more login modules in the chain: - ----- - - - - - - - - - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`skipIdentity``false`Don't add any `ClusterIdentityPrincipal` to the Subject.
`skipRole``false`Don't add any `ClusterRolePrincipal` to the Subject.
`skipEndpoint``false`Don't add any `ClusterEndpointPrincipal` to the Subject.
+| Option Name | Default Value | Description | +| --- | --- | --- | +| `skipIdentity` | `false` | Don't add any `ClusterIdentityPrincipal` to the Subject. | +| `skipRole` | `false` | Don't add any `ClusterRolePrincipal` to the Subject. | +| `skipEndpoint` | `false` | Don't add any `ClusterEndpointPrincipal` to the Subject. | ## Enterprise Integration diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/security-realms.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/security-realms.mdx index c5cca989..4f6d2a8f 100644 --- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/security-realms.mdx +++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/securing-a-cluster/security-realms.mdx @@ -128,12 +128,14 @@ The `direct` and `reverse` mapping modes also allow a role search recursion. - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `url` diff --git a/hazelcast_versioned_docs/version-5.3/deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx b/hazelcast_versioned_docs/version-5.3/deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx index a93c5851..82f32d88 100644 --- a/hazelcast_versioned_docs/version-5.3/deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx +++ b/hazelcast_versioned_docs/version-5.3/deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx @@ -19,12 +19,14 @@ To make it easier to set up clusters in Kubernetes, Hazelcast allows members to - + - -Kubernetes API -DNS Lookup + +Kubernetes API +DNS Lookup + + **Description** Uses REST calls to Kubernetes master to fetch IP addresses of Pods diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx index 26ba3d88..4f0f9492 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx @@ -210,40 +210,12 @@ The default backwards-compatible event publishing strategy only publishes `UPDAT When you configure Hazelcast members with property `hazelcast.map.entry.filtering.natural.event.types` set to `true`, handling of entry updates conceptually treats value transition as entry, update or exit with regards to the predicate value space. The following table compares how a listener is notified about an update to a map entry value under the default backwards-compatible Hazelcast behavior (when property `hazelcast.map.entry.filtering.natural.event.types` is not set or is set to `false`) versus when set to `true`: - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
`hazelcast.map.entry.filtering.natural.event.types = false` (default)`hazelcast.map.entry.filtering.natural.event.types = true`
When old value matches predicate, new value does not match predicateNo event is delivered to entry listener`REMOVED` event is delivered to entry listener
When old value matches predicate, new value matches predicate`UPDATED` event is delivered to entry listener`UPDATED` event is delivered to entry listener
When old value does not match predicate, new value does not match predicateNo event is delivered to entry listenerNo event is delivered to entry listener
When old value does not match predicate, new value matches predicate`UPDATED` event is delivered to entry listener`ADDED` event is delivered to entry listener
+| | `hazelcast.map.entry.filtering.natural.event.types = false` (default) | `hazelcast.map.entry.filtering.natural.event.types = true` | +| --- | --- | --- | +| When old value matches predicate, new value does not match predicate | No event is delivered to entry listener | `REMOVED` event is delivered to entry listener | +| When old value matches predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `UPDATED` event is delivered to entry listener | +| When old value does not match predicate, new value does not match predicate | No event is delivered to entry listener | No event is delivered to entry listener | +| When old value does not match predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `ADDED` event is delivered to entry listener | ## Interceptors @@ -263,38 +235,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
`interceptGet`Replace returned `map.get()` value with new value
`afterGet`Action to take after `map.get()` operation is complete
`interceptPut`Replace value in `map.put()` with new value
`afterPut`Action to take after `map.put()` is complete
`interceptRemove`Collects removed map entry
`afterRemove`Action to take after `map.remove()` is complete
+| Method | Description | +| --- | --- | +| `interceptGet` | Replace returned `map.get()` value with new value | +| `afterGet` | Action to take after `map.get()` operation is complete | +| `interceptPut` | Replace value in `map.put()` with new value | +| `afterPut` | Action to take after `map.put()` is complete | +| `interceptRemove` | Collects removed map entry | +| `afterRemove` | Action to take after `map.remove()` is complete | The following is an example usage. diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/serialization/compact-serialization.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/serialization/compact-serialization.mdx index 14b4fb94..1cbca2b0 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/serialization/compact-serialization.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/serialization/compact-serialization.mdx @@ -542,50 +542,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/sql-over-maps/querying-maps-sql.mdx index cf47698f..9aa1534d 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/delete.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/delete.mdx index dbd36a63..1e0e4277 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/delete.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/update.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/update.mdx index 7678cb48..4a5e81d6 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/update.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast_versioned_docs/version-5.3/reference/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.3/reference/compact-binary-specification.mdx index add09192..18aa3b1c 100644 --- a/hazelcast_versioned_docs/version-5.3/reference/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.3/reference/compact-binary-specification.mdx @@ -30,50 +30,56 @@ All primitive types, user types, array size, number of items, length of data, sc You cannot redefine the endianness in Compact Serialization; it is inherited from [existing configuration](../develop-solutions/serialization/serialization-configuration.mdx#configuration-options). +
+
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+
### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx index 7a457b4a..2334fd64 100644 --- a/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx +++ b/hazelcast_versioned_docs/version-5.3/reference/list-of-metrics.mdx @@ -285,12 +285,14 @@ Information regarding the job's status. Potential values: - + -Name -Unit -Description +Name +Unit +Description + + `map.backupCount` count @@ -526,367 +528,631 @@ The above `*latency` metrics are only measured for the members and they are not
`MultiMap` +| Name | Unit | Description | +| --- | --- | --- | +| `multiMap.backupCount` | count | Number of backups per entry | +| `multiMap.backupEntryCount` | count | Number of backup entries held by the member | +| `multiMap.backupEntryMemoryCost` | bytes | Memory cost of backup entries in this member | +| `multiMap.creationTime` | ms | Creation time of the multimap in the member | +| `multiMap.dirtyEntryCount` | count | Number of dirty (updated but not persisted yet) entries that the member owns | +| `multiMap.getCount` | count | Number of local get operations on the multimap | +| `multiMap.heapCost` | count | Total heap cost for the multimap on this member | +| `multiMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `multiMap.indexedQueryCount` | count | Total number of indexed local queries performed on the multimap | +| `multiMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `multiMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `multiMap.lockedEntryCount` | count | Number of locked entries that the member owns | +| `multiMap.merkleTreesCost` | count | Heap cost of the Merkle trees | +| `multiMap.numberOfEvents` | count | Number of local events received | +| `multiMap.numberOfOtherOperations` | count | Total number of other operations | +| `multiMap.ownedEntryCount` | count | Number of multimap entries owned by the member | +| `multiMap.ownedEntryMemoryCost` | bytes | Memory cost of owned multimap entries on this member | +| `multiMap.putCount` | count | Number of local put operations on the multimap | +| `multiMap.queryCount` | count | Number of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage) | +| `multiMap.removeCount` | count | Number of local remove operations on the multimap | +| `multiMap.setCount` | count | Number of local set operations on the multimap | +| `multiMap.totalGetLatency` | ms | Total latency of local get operations | +| `multiMap.totalMaxGetLatency` | ms | Maximum latency of local get operations | +| `multiMap.totalMaxPutLatency` | ms | Maximum latency of local put operations | +| `multiMap.totalMaxRemoveLatency` | ms | Maximum latency of local remove operations | +| `multiMap.totalMaxSetLatency` | ms | Maximum latency of local set operations | +| `multiMap.totalPutLatency` | ms | Total latency of local put operations | +| `multiMap.totalRemoveLatency` | ms | Total latency of local remove operations | +| `multiMap.totalSetLatency` | ms | Total latency of local set operations | + +
+ +
+Replicated Map + +| Name | Unit | Description | +| --- | --- | --- | +| `replicatedMap.creationTime` | ms | Creation time of this replicated map on this member | +| `replicatedMap.getCount` | count | Number of get operations on this member | +| `replicatedMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `replicatedMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `replicatedMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `replicatedMap.maxGetLatency` | ms | Maximum latency of get operations | +| `replicatedMap.maxPutLatency` | ms | Maximum latency of put operations | +| `replicatedMap.maxRemoveLatency` | ms | Maximum latency of remove operations | +| `replicatedMap.numberOfEvents` | count | Number of events received on this member | +| `replicatedMap.numberOfOtherOperations` | count | Total number of other operations on this member | +| `replicatedMap.ownedEntryCount` | count | Number of entries owned on this member | +| `replicatedMap.ownedEntryMemoryCost` | bytes | Memory cost of owned entries on this member | +| `replicatedMap.putCount` | count | Number of put operations on this member | +| `replicatedMap.removeCount` | count | Number of remove operations on this member | +| `replicatedMap.totalGetLatencies` | ms | Total latency of get operations | +| `replicatedMap.totalPutLatencies` | ms | Total latency of put operations | +| `replicatedMap.totalRemoveLatencies` | ms | Total latency of remove operations | +| `replicatedMap.total` | count | Total number of operations on this member | + +
+ +
+Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `cache.averageGetTime` | µs | Mean time to execute gets on the cache | +| `cache.averagePutTime` | µs | Mean time to execute puts on the cache | +| `cache.averageRemovalTime` | µs | Mean time to execute removes on the cache | +| `cache.cacheEvictions` | count | Number of evictions on the cache | +| `cache.cacheGets` | count | Number of gets on the cache | +| `cache.cacheHits` | count | Number of successful get operations, hits, on the cache | +| `cache.cacheHitPercentage` | percent | Percentage of successful get operations, hits, out of all get operations on the cache | +| `cache.cachePuts` | count | Number of puts to the cache | +| `cache.cacheRemovals` | count | Number of removals from the cache | +| `cache.cacheMisses` | count | Number of missed cache accesses on the cache | +| `cache.cacheMissPercentage` | percent | Percentage of missed cache accesses out of all the cache accesses/access attempts | +| `cache.creationTime` | ms | Creation time of the cache on the member | +| `cache.lastAccessTime` | ms | Cache's last access time | +| `cache.lastUpdateTime` | ms | Cache's last update time | +| `cache.ownedEntryCount` | count | Locally owned entry count in the cache | + +
+ +
+Queue + +| Name | Unit | Description | +| --- | --- | --- | +| `queue.averageAge` | ms | Average age of the items in this member | +| `queue.backupItemCount` | count | Number of backup items held by the member | +| `queue.creationTime` | ms | Creation time of the topic on the member | +| `queue.eventOperationCount` | count | Number of event operations | +| `queue.maxAge` | ms | Maximum age of the items in this member | +| `queue.minAge` | ms | Minimum age of the items in this member | +| `queue.numberOfEmptyPolls` | count | Number of null returning poll operations | +| `queue.numberOfEvents` | count | Number of event operations (duplicate of eventOperationCount) | +| `queue.numberOfOffers` | count | Number of offer/put/add operations | +| `queue.numberOfOtherOperations` | count | Number of other operations | +| `queue.numberOfPolls` | count | Number of poll/take/remove operations. | +| `queue.numberOfRejectedOffers` | count | Number of rejected offers | +| `queue.ownedItemCount` | count | Number of owned items in this member | +| `queue.total` | count | Total number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations) | + +
+ +
+Set + +| Name | Unit | Description | +| --- | --- | --- | +| `set.creationTime` | ms | Creation time of the set on the member | +| `set.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `set.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+List + +| Name | Unit | Description | +| --- | --- | --- | +| `list.creationTime` | ms | Creation time of this list on the member | +| `list.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `list.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `topic.creationTime` | ms | Creation time of the topic on the member | +| `topic.totalPublishes` | count | Total number of published messages of this topic on this member | +| `topic.totalReceivedMessages` | count | Total number of received messages of this topic on this member | + +
+ +
+Reliable Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `reliableTopic.creationTime` | ms | Creation time of this reliable topic on the member | +| `reliableTopic.totalPublishes` | count | Total number of published messages of this reliable topic on this member | +| `reliableTopic.totalReceivedMessages` | count | Total number of received messages of this reliable topic on this member | + +
+ +
+Flake ID Generator + +| Name | Unit | Description | +| --- | --- | --- | +| `flakeIdGenerator.batchCount` | count | Total number of times the Flake ID generator has been used to generate a new ID batch | +| `flakeIdGenerator.creationTime` | ms | Creation time of this Flake ID Generator on the member | +| `flakeIdGenerator.idCount` | count | Total number of IDs generated (the sum of IDs for all batches) | + +
+ +
+PN Counter + +| Name | Unit | Description | +| --- | --- | --- | +| `pnCounter.creationTime` | ms | Creation time of the PN counter on the member | +| `pnCounter.totalDecrementOperationCount` | count | Number of subtract (including decrement) operations on this PN counter | +| `pnCounter.totalIncrementOperationCount` | count | Number of add (including increment) operations on this PN counter | +| `pnCounter.value` | count | Current value of the PN counter | + +
+ +
+Executor Service + +| Name | Unit | Description | +| --- | --- | --- | +| `executor.cancelled` | count | Number of cancelled operations on the executor service | +| `executor.completed` | count | Number of completed operations on the executor service | +| `executor.creationTime` | ms | Creation time of this executor on the member | +| `executor.pending` | count | Number of pending operations on the executor service | +| `executor.started` | count | Number of started operations on the executor service | +| `executor.totalExecutionTime` | ms | Total execution time of the finished operations | +| `executor.totalStartLatency` | ms | Total start latency of operations started | +| `executor.internal.completedTasks` | count | Number of completed tasks by this executor | +| `executor.internal.maximumPoolSize` | count | Maximum number of threads in the executor's thread pool | +| `executor.internal.poolSize` | count | Number of threads in the executor's thread pool | +| `executor.internal.queueSize` | count | Number of pending tasks in this executor's task queue | +| `executor.internal.remainingQueueCapacity` | count | Remaining capacity on the executor's task queue | + +
+ +
+User Code Deployment + +| Name | Unit | Description | +| --- | --- | --- | +| `classloading.loadedClassesCount` | count | Number of classes that are currently loaded | +| `classloading.totalLoadedClassesCount` | count | Total number of classes that have been loaded since the instance has started execution. | +| `classloading.unloadedClassesCount` | count | Total number of unloaded classes. | + +
+ +
+Cluster + +| Name | Unit | Description | +| --- | --- | --- | +| `cluster.clock.clusterStartTime` | ms | Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + +
+ +
+Clients + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will attempt to us | +| `memory.maxMetadata` | bytes | Amount of native memory reserved for metadata (this memory is separate and not accounted for by the NativeMemory statistics) | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will attempt to use | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - - - - - - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - + - + - + - + - - - + + + - - - + + + - + - + - + - + - + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the member
`multiMap.backupEntryMemoryCost`bytesMemory cost of backup entries in this memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.completedCount`countNumber of completed operations
`multiMap.dirtyEntryCount``operation.failedBackups` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of failed backup operations on the operation service of the member
`multiMap.getCount``operation.generic.executedOperationsCount` countNumber of local get operations on the multimapNumber of executed generic operations
`multiMap.heapCost``operation.genericPriorityQueueSize` countTotal heap cost for the multimap on this memberNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.hits``operation.genericQueueSize` countNumber of hits (reads) of the locally owned entriesNumber of normal generic operations pending (waiting in the queue)
`multiMap.indexedQueryCount``operation.genericThreadCount` countTotal number of indexed local queries performed on the multimapNumber of generic operation handler threads in the member
`multiMap.lastAccessTime``operation.invocations.backupTimeoutMillis` msLast access (read) time of the locally owned entriesOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`multiMap.lastUpdateTime`msLast update time of the locally owned entries`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.lockedEntryCount``operation.invocations.delayedExecutionCount` countNumber of locked entries that the member ownsNumber of times that the operation invocations have delayed
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.numberOfEvents``operation.invocations.heartbeatPacketsReceived` countNumber of local events receivedNumber of received heartbeat packets
`multiMap.numberOfOtherOperations``operation.invocations.heartbeatPacketsSent` countTotal number of other operationsNumber of sent heartbeat packets
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.ownedEntryMemoryCost`bytesMemory cost of owned multimap entries on this member`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`multiMap.putCount``operation.invocations.lastCallId` countNumber of local put operations on the multimapLast issued invocation call ID
`multiMap.queryCount``operation.invocations.normalTimeouts` countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)Number of times that the operation invocations have timed out
`multiMap.removeCount``operation.invocations.pending` countNumber of local remove operations on the multimapNumber of pending invocations
`multiMap.setCount`countNumber of local set operations on the multimap`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.totalGetLatency`msTotal latency of local get operations`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.totalPutLatency`msTotal latency of local put operations`operation.queueSize`count + +Number of normal operations pending (normal partition operations + normal generic operations). + +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. + +
`multiMap.totalRemoveLatency`msTotal latency of local remove operations`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`multiMap.totalSetLatency`msTotal latency of local set operations
- -
- -
-Replicated Map - - ----- - - - - - + + + - - - - - - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - + - + - - - -
NameUnitDescription`operation.responses.backupCount`countNumber of backup acknowledgement responses
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.getCount``operation.responses.errorCount` countNumber of get operations on this memberNumber of error responses
`replicatedMap.hits``operation.responses.missingCount` countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operationsNumber of responses having missing invocations
`replicatedMap.numberOfEvents``operation.responses.normalCount` countNumber of events received on this memberNumber of normal responses
`replicatedMap.numberOfOtherOperations``operation.responses.timeoutCount` countTotal number of other operations on this memberNumber of call timeout responses
`replicatedMap.ownedEntryCount``operation.retryCount` countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this memberNumber of retried operations
`replicatedMap.putCount``operation.runningCount` countNumber of put operations on this memberNumber of currently running operations (runningPartitionCount + runningGenericCount)
`replicatedMap.removeCount``operation.runningGenericCount` countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operationsNumber of currently running generic (non partition specific) operations
`replicatedMap.total``operation.runningPartitionCount` countTotal number of operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - - - - - - - - - - - + - - - + + + - - - + + + - + - +
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cacheNumber of currently running partition operations
`cache.cacheEvictions``operation.thread.completedOperationCount` countNumber of evictions on the cacheNumber of completed operations by this operation thread
`cache.cacheGets``operation.thread.completedOperationBatchCount` countNumber of gets on the cacheNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`cache.cacheHits``operation.thread.completedPacketCount` countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cacheNumber of packets that executed by this operation thread
`cache.cachePuts``operation.thread.completedPartitionSpecificRunnableCount` countNumber of puts to the cacheNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`cache.cacheRemovals``operation.thread.completedRunnableCount` countNumber of removals from the cacheTotal number of runnables executed by this operation thread
`cache.cacheMisses``operation.thread.completedTotalCount` countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the memberTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`cache.lastAccessTime`msCache's last access time`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`cache.lastUpdateTime`msCache's last update time`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`cache.ownedEntryCount``operation.thread.priorityPendingCount` countLocally owned entry count in the cacheNumber of priority pending operations (tasks)
@@ -894,2208 +1160,222 @@ The above `*latency` metrics are only measured for the members and they are not
-Queue +Operating System - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
+| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space |
-Set +Partitions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from start of migration tasks to their completion on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Number of active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning |
-List +Persistence - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx); this and the below Persistence metrics have the following format when output: `hz_persistence___` | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) |
-Topic +Proxies - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service |
-Reliable Topic +Raft Algorithm - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
- -
- -
-Flake ID Generator - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
- -
- -
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
- -
-Executor Service - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
+| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs |
-User Code Deployment +Runtime - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
+| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used |
-Cluster +TCP - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
+| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread |
-Clients +Threads - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
-Client Invocations +Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
-CP Subsystem +WAN Replication - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will attempt to us
`memory.maxMetadata`bytesAmount of native memory reserved for metadata (this memory is separate and not accounted for by the NativeMemory statistics)
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will attempt to use
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from start of migration tasks to their completion on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanNumber of active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx); this and the below Persistence metrics have the following format when output: `hz_persistence___`
`persistence.liveValues`countNumber of live values in the [persistent store](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead`countNumber of priority frames read on this inbound nio pipeline
`tcp.connection.in.priorityFramesRead`countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipeline
`tcp.connection.out.normalFramesWritten`countNumber of written normal frames on this outbound nio pipeline
`tcp.connection.out.priorityFramesWritten`countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queue
`tcp.connection.out.priorityWriteQueueSize`countNumber of priority frames pending in the write queue
`tcp.connection.out.scheduled`countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queue
`tcp.connection.out.writeQueueSize`countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread
`tcp.inputThread/outputThread.completedTaskCount`countTotal number of completed tasks on this NioThread
`tcp.inputThread/outputThread.eventCount`countTotal number of the connections accepted by TcpServerAcceptor
`tcp.inputThread/outputThread.framesTransceived`countNumber of transceived frames on this NioThread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write
`tcp.inputThread/outputThread.ioThreadId`countThread ID of this NioThread
`tcp.inputThread/outputThread.priorityFramesTransceived`countNumber of transceived priority frames
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread
`tcp.inputThread/outputThread.selectorIOExceptionCount`countNumber of times that I/O exceptions are thrown during selection
`tcp.inputThread/outputThread.taskQueueSize`countNumber of pending tasks on the queue of NioThread
- -
- -
-Threads - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
- -
- -
-Transactions - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
- -
- -
-WAN Replication - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countOutbound WAN queue size on this member
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Outbound WAN queue size on this member | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events |
diff --git a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx index 4c471c31..fec13d64 100644 --- a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to restart the members - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx index fdab8b4a..e5fe15bb 100644 --- a/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast_versioned_docs/version-5.3/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before(MapReduce)/after(Hazelcast Jet) word coun - + -***3.12.x (MapReduce)*** -***5.3 (Jet Engine)*** +3.12.x (MapReduce) +5.3 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Implementing a Migration Listener @@ -603,11 +615,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Declarative Configuration @@ -675,11 +689,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -728,11 +744,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -779,11 +797,13 @@ See the following table for the before/after sample +
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+ ### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/overview.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/overview.mdx index 0217b52f..3920be38 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/overview.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/overview.mdx @@ -543,50 +543,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-maps/querying-maps-sql.mdx index 56508754..30588c37 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-mongodb/mapping-to-mongo.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-mongodb/mapping-to-mongo.mdx index 01f284fb..a9e7ce4d 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-mongodb/mapping-to-mongo.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/sql/sql-over-mongodb/mapping-to-mongo.mdx @@ -249,11 +249,13 @@ There are some options that can be added only in `CREATE MAPPING`: - + -Name -Description +Name +Description + + `startAt` diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/delete.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/delete.mdx index c5538198..96d6fac2 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/delete.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/update.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/update.mdx index 0ce68a22..d0abbc88 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/update.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx index ff04e992..5574a1ca 100644 --- a/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast_versioned_docs/version-5.4/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before(MapReduce)/after(Hazelcast Jet) word coun - + -***3.12.x (MapReduce)*** -***5.0 (Jet Engine)*** +3.12.x (MapReduce) +5.0 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing a Migration Listener @@ -602,11 +614,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -674,11 +688,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -727,11 +743,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -778,11 +796,13 @@ See the following table for the before/after sample Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + + + +
+Clients + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + + + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.map.size` | count | Number of keys in this `CPMap` | +| `cp.map.sizeBytes` | count | Total number of bytes used by key-value pairs for this `CPMap` | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will attempt to us | +| `memory.maxMetadata` | bytes | Amount of native memory reserved for metadata (this memory is separate and not accounted for by the NativeMemory statistics) | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will attempt to use | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - - - - - - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - + - + - + - + - - - + + + - - - + + + - + - + - + - + - + - + + + + + + - + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the member
`multiMap.backupEntryMemoryCost`bytesMemory cost of backup entries in this memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.completedCount`countNumber of completed operations
`multiMap.dirtyEntryCount``operation.failedBackups` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of failed backup operations on the operation service of the member
`multiMap.getCount``operation.generic.executedOperationsCount` countNumber of local get operations on the multimapNumber of executed generic operations
`multiMap.heapCost``operation.genericPriorityQueueSize` countTotal heap cost for the multimap on this memberNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.hits``operation.genericQueueSize` countNumber of hits (reads) of the locally owned entriesNumber of normal generic operations pending (waiting in the queue)
`multiMap.indexedQueryCount``operation.genericThreadCount` countTotal number of indexed local queries performed on the multimapNumber of generic operation handler threads in the member
`multiMap.lastAccessTime``operation.invocations.backupTimeoutMillis` msLast access (read) time of the locally owned entriesOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`multiMap.lastUpdateTime`msLast update time of the locally owned entries`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.lockedEntryCount``operation.invocations.delayedExecutionCount` countNumber of locked entries that the member ownsNumber of times that the operation invocations have delayed
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.numberOfEvents``operation.invocations.heartbeatPacketsReceived` countNumber of local events receivedNumber of received heartbeat packets
`multiMap.numberOfOtherOperations``operation.invocations.heartbeatPacketsSent` countTotal number of other operationsNumber of sent heartbeat packets
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.ownedEntryMemoryCost`bytesMemory cost of owned multimap entries on this member`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`multiMap.putCount``operation.invocations.lastCallId` countNumber of local put operations on the multimapLast issued invocation call ID
`multiMap.queryCount``operation.invocations.normalTimeouts` countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)Number of times that the operation invocations have timed out
`multiMap.removeCount``operation.invocations.pending` countNumber of local remove operations on the multimapNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.setCount``operation.parker.parkQueueCount` countNumber of local set operations on the multimapNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.totalGetLatency`msTotal latency of local get operations`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations`operation.queueSize`count + +Number of normal operations pending (normal partition operations + normal generic operations). + +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. + +
`multiMap.totalPutLatency`msTotal latency of local put operations`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`multiMap.totalRemoveLatency`msTotal latency of local remove operations`operation.responses.backupCount`countNumber of backup acknowledgement responses
`multiMap.totalSetLatency`msTotal latency of local set operations
- -
- -
-Replicated Map - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.getCount`countNumber of get operations on this member
`replicatedMap.hits`countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operations
`replicatedMap.numberOfEvents`countNumber of events received on this member
`replicatedMap.numberOfOtherOperations`countTotal number of other operations on this member
`replicatedMap.ownedEntryCount`countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this member
`replicatedMap.putCount`countNumber of put operations on this member
`replicatedMap.removeCount`countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operations
`replicatedMap.total`countTotal number of operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cache
`cache.cacheEvictions`countNumber of evictions on the cache
`cache.cacheGets`countNumber of gets on the cache
`cache.cacheHits`countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cache
`cache.cachePuts`countNumber of puts to the cache
`cache.cacheRemovals`countNumber of removals from the cache
`cache.cacheMisses`countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the member
`cache.lastAccessTime`msCache's last access time
`cache.lastUpdateTime`msCache's last update time
`cache.ownedEntryCount`countLocally owned entry count in the cache
- -
- -
-Queue - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
- -
- -
-Set - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
- -
- -
-List - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
- -
- -
-Topic - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
- -
- -
-Reliable Topic - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
- -
- -
-Flake ID Generator - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
- -
- -
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
- -
-Executor Service - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
- -
- -
-User Code Deployment - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
- -
- -
-Cluster - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
- -
- -
-Clients - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
- -
- -
-Client Invocations - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
- -
- -
-CP Subsystem - - - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.map.size`countNumber of keys in this `CPMap`
`cp.map.sizeBytes`countTotal number of bytes used by key-value pairs for this `CPMap`
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will attempt to us
`memory.maxMetadata`bytesAmount of native memory reserved for metadata (this memory is separate and not accounted for by the NativeMemory statistics)
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will attempt to use
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanWhether there are any currently active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx)
`persistence.liveValues`countNumber of live values in the [persistent store](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - + - + - + - + - - - - - - + - + - + - + - - - - - - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - +
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead``operation.responses.errorCount` countNumber of priority frames read on this inbound nio pipelineNumber of error responses
`tcp.connection.in.priorityFramesRead``operation.responses.missingCount` countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipelineNumber of responses having missing invocations
`tcp.connection.out.normalFramesWritten``operation.responses.normalCount` countNumber of written normal frames on this outbound nio pipelineNumber of normal responses
`tcp.connection.out.priorityFramesWritten``operation.responses.timeoutCount` countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queueNumber of call timeout responses
`tcp.connection.out.priorityWriteQueueSize``operation.retryCount` countNumber of priority frames pending in the write queueNumber of retried operations
`tcp.connection.out.scheduled``operation.runningCount` countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queueNumber of currently running operations (runningPartitionCount + runningGenericCount)
`tcp.connection.out.writeQueueSize``operation.runningGenericCount` countNumber of normal frames pending in the write queueNumber of currently running generic (non partition specific) operations
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread`operation.runningPartitionCount`countNumber of currently running partition operations
`tcp.inputThread/outputThread.completedTaskCount``operation.thread.completedOperationCount` countTotal number of completed tasks on this NioThreadNumber of completed operations by this operation thread
`tcp.inputThread/outputThread.eventCount``operation.thread.completedOperationBatchCount` countTotal number of the connections accepted by TcpServerAcceptorNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`tcp.inputThread/outputThread.framesTransceived``operation.thread.completedPacketCount` countNumber of transceived frames on this NioThreadNumber of packets that executed by this operation thread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`tcp.inputThread/outputThread.ioThreadId``operation.thread.completedRunnableCount` countThread ID of this NioThreadTotal number of runnables executed by this operation thread
`tcp.inputThread/outputThread.priorityFramesTransceived``operation.thread.completedTotalCount` countNumber of transceived priority framesTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`tcp.inputThread/outputThread.processCount``operation.thread.errorCount` countNumber of processed `NioPipeline`s on this NioThreadTotal number of failed tasks on this operation thread
`tcp.inputThread/outputThread.selectorIOExceptionCount``operation.thread.normalPendingCount` countNumber of times that I/O exceptions are thrown during selectionNumber of normal pending operations (tasks)
`tcp.inputThread/outputThread.taskQueueSize``operation.thread.priorityPendingCount` countNumber of pending tasks on the queue of NioThreadNumber of priority pending operations (tasks)
+
+Operating System + +| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space | + +
+ +
+Partitions + +| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Whether there are any currently active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning | + +
+ +
+Persistence + +| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx) | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | + +
+ +
+Proxies + +| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service | + +
+ +
+Raft Algorithm + +| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs | + +
+ +
+Runtime + +| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used | + +
+ +
+TCP + +| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread | + +
+
Threads - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
@@ -2965,204 +1357,48 @@ It refers to the number of operations sent to the member that have yet to be con - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countTotal number of WAN events currently placed in the WAN queues of primary partitions on this member
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not
`wan.failedTransmitCount`countNumber of attempted WAN replication transmissions that have failed
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Total number of WAN events currently placed in the WAN queues of primary partitions on this member | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events | +| `wan.connectionHealth` | boolean | The health of an individual WAN target endpoint, where 1 is healthy and 0 is not | +| `wan.failedTransmitCount` | count | Number of attempted WAN replication transmissions that have failed |
User Code Namespaces - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`ucn.updateTime`msUpdate time of a user code namespace configuration
`ucn.resourceCount`countNumber of resources contained in a namespace
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace
+| Name | Unit | Description | +| --- | --- | --- | +| `ucn.updateTime` | ms | Update time of a user code namespace configuration | +| `ucn.resourceCount` | count | Number of resources contained in a namespace | +| `ucn.resource.resourceType` | enum | The Ordinal of the enum type of the resource contained in a namespace | +| `ucn.resource.resourceSizeBytes` | bytes | The size in bytes of a resource contained in a namespace |
diff --git a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx index 273a332a..2af8fc3d 100644 --- a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to restart the members - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx index 746f91c3..2faa002a 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx @@ -210,40 +210,12 @@ The default backwards-compatible event publishing strategy only publishes `UPDAT When you configure Hazelcast members with property `hazelcast.map.entry.filtering.natural.event.types` set to `true`, handling of entry updates conceptually treats value transition as entry, update or exit with regards to the predicate value space. The following table compares how a listener is notified about an update to a map entry value under the default backwards-compatible Hazelcast behavior (when property `hazelcast.map.entry.filtering.natural.event.types` is not set or is set to `false`) versus when set to `true`: - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
`hazelcast.map.entry.filtering.natural.event.types = false` (default)`hazelcast.map.entry.filtering.natural.event.types = true`
When old value matches predicate, new value does not match predicateNo event is delivered to entry listener`REMOVED` event is delivered to entry listener
When old value matches predicate, new value matches predicate`UPDATED` event is delivered to entry listener`UPDATED` event is delivered to entry listener
When old value does not match predicate, new value does not match predicateNo event is delivered to entry listenerNo event is delivered to entry listener
When old value does not match predicate, new value matches predicate`UPDATED` event is delivered to entry listener`ADDED` event is delivered to entry listener
+| | `hazelcast.map.entry.filtering.natural.event.types = false` (default) | `hazelcast.map.entry.filtering.natural.event.types = true` | +| --- | --- | --- | +| When old value matches predicate, new value does not match predicate | No event is delivered to entry listener | `REMOVED` event is delivered to entry listener | +| When old value matches predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `UPDATED` event is delivered to entry listener | +| When old value does not match predicate, new value does not match predicate | No event is delivered to entry listener | No event is delivered to entry listener | +| When old value does not match predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `ADDED` event is delivered to entry listener | ## Interceptors @@ -269,38 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
`interceptGet`Replace returned `map.get()` value with new value
`afterGet`Action to take after `map.get()` operation is complete
`interceptPut`Replace value in `map.put()` with new value
`afterPut`Action to take after `map.put()` is complete
`interceptRemove`Collects removed map entry
`afterRemove`Action to take after `map.remove()` is complete
+| Method | Description | +| --- | --- | +| `interceptGet` | Replace returned `map.get()` value with new value | +| `afterGet` | Action to take after `map.get()` operation is complete | +| `interceptPut` | Replace value in `map.put()` with new value | +| `afterPut` | Action to take after `map.put()` is complete | +| `interceptRemove` | Collects removed map entry | +| `afterRemove` | Action to take after `map.remove()` is complete | The following is an example usage. diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx index 67ff692a..63767951 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -30,50 +30,56 @@ All primitive types, user types, array size, number of items, length of data, sc You cannot redefine the endianness in Compact Serialization; it is inherited from [existing configuration](../serialization-configuration.mdx#configuration-options). +
+
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+
### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/overview.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/overview.mdx index 0ed5e21e..53eaed3a 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/overview.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/serialization/compact-serialization/overview.mdx @@ -543,50 +543,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/functions-and-operators.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/functions-and-operators.mdx index aeca47b9..46cb2a56 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/functions-and-operators.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/functions-and-operators.mdx @@ -308,6 +308,14 @@ Conversion functions allow you to convert the result type of one expression to a + + +Function +Description +Example +Result + + `TO_CHAR(expression [, format model] [, NLS parameter])` diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx index 56508754..30588c37 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx index 23b4e679..027c3793 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx @@ -249,11 +249,13 @@ There are some options that can be added only in `CREATE MAPPING`: - + -Name -Description +Name +Description + + `startAt` diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/delete.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/delete.mdx index e40e5889..00797f5c 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/update.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/update.mdx index 7f3cb6a4..f38ae02f 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/update.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx index 3de38246..de5b1c09 100644 --- a/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast_versioned_docs/version-5.5/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before(MapReduce)/after(Hazelcast Jet) word coun - + -***3.12.x (MapReduce)*** -***5.0 (Jet Engine)*** +3.12.x (MapReduce) +5.0 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing a Migration Listener @@ -602,11 +614,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -674,11 +688,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -727,11 +743,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -778,11 +796,13 @@ See the following table for the before/after sample - - - - - - - -Option Name -Default Value -Description - - -`roleAttribute` -`cn` -Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. - - - +| Option Name | Default Value | Description | +| --- | --- | --- | +| `roleAttribute` | `cn` | Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. | diff --git a/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx index 6bff818a..99b1a0e6 100644 --- a/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx +++ b/hazelcast_versioned_docs/version-5.5/reference/list-of-metrics.mdx @@ -301,13 +301,15 @@ Processor specific metrics, only certain types of processors have them. The *pro - + -Name -Unit -Description -Reset +Name +Unit +Description +Reset + + `map.backupCount` count @@ -652,12 +654,14 @@ The above `*latency` metrics are only measured for the members and they do not r - + -Name -Unit -Description +Name +Unit +Description + + `vectorCollection.backupCount` count @@ -905,397 +909,676 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` +| Name | Unit | Description | +| --- | --- | --- | +| `multiMap.backupCount` | count | Number of backups per entry | +| `multiMap.backupEntryCount` | count | Number of backup entries held by the member | +| `multiMap.creationTime` | ms | Creation time of the multimap in the member | +| `multiMap.dirtyEntryCount` | count | Number of dirty (updated but not persisted yet) entries that the member owns | +| `multiMap.entrySetCount` | count | Number of entry set operations on this member | +| `multiMap.evictionCount` | count | Number of evictions completed on locally owned entries, backups are not included | +| `multiMap.expirationCount` | count | Number of expirations completed on locally owned entries, backups are not included | +| `multiMap.getCount` | count | Number of local get operations on the multimap | +| `multiMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `multiMap.indexedQueryCount` | count | Total number of indexed local queries performed on the multimap | +| `multiMap.indexesSkippedQueryCount` | count | Total number of local queries performed on the multimap which cannot use indexes | +| `multiMap.noMatchingIndexQueryCount` | count | Total number of local queries performed on the multimap which had no matching index | +| `multiMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `multiMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `multiMap.lockedEntryCount` | count | Number of locked entries that the member owns | +| `multiMap.merkleTreesCost` | count | Heap cost of the Merkle trees | +| `multiMap.numberOfEvents` | count | Number of local events received | +| `multiMap.numberOfOtherOperations` | count | Total number of other operations | +| `multiMap.ownedEntryCount` | count | Number of multimap entries owned by the member | +| `multiMap.putCount` | count | Number of local put operations on the multimap | +| `multiMap.queryCount` | count | Number of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage) | +| `multiMap.queryLimiterHitCount` | count | Number of times the query result size limiter was hit on this member | +| `multiMap.removeCount` | count | Number of local remove operations on the multimap | +| `multiMap.setCount` | count | Number of local set operations on the multimap | +| `multiMap.totalGetLatency` | ms | Total latency of local get operations | +| `multiMap.totalMaxGetLatency` | ms | Maximum latency of local get operations | +| `multiMap.totalMaxPutLatency` | ms | Maximum latency of local put operations | +| `multiMap.totalMaxRemoveLatency` | ms | Maximum latency of local remove operations | +| `multiMap.totalMaxSetLatency` | ms | Maximum latency of local set operations | +| `multiMap.totalPutLatency` | ms | Total latency of local put operations | +| `multiMap.totalRemoveLatency` | ms | Total latency of local remove operations | +| `multiMap.totalSetLatency` | ms | Total latency of local set operations | +| `multiMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Replicated Map + +| Name | Unit | Description | +| --- | --- | --- | +| `replicatedMap.creationTime` | ms | Creation time of this replicated map on this member | +| `replicatedMap.entrySetCount` | count | Number of entry set operations on this member | +| `replicatedMap.getCount` | count | Number of get operations on this member | +| `replicatedMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `replicatedMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `replicatedMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `replicatedMap.maxGetLatency` | ms | Maximum latency of get operations | +| `replicatedMap.maxPutLatency` | ms | Maximum latency of put operations | +| `replicatedMap.maxRemoveLatency` | ms | Maximum latency of remove operations | +| `replicatedMap.numberOfEvents` | count | Number of events received on this member | +| `replicatedMap.numberOfOtherOperations` | count | Total number of other operations on this member | +| `replicatedMap.ownedEntryCount` | count | Number of entries owned on this member | +| `replicatedMap.ownedEntryMemoryCost` | bytes | Memory cost of owned entries on this member | +| `replicatedMap.putCount` | count | Number of put operations on this member | +| `replicatedMap.removeCount` | count | Number of remove operations on this member | +| `replicatedMap.totalGetLatencies` | ms | Total latency of get operations | +| `replicatedMap.totalPutLatencies` | ms | Total latency of put operations | +| `replicatedMap.totalRemoveLatencies` | ms | Total latency of remove operations | +| `replicatedMap.total` | count | Total number of operations on this member | +| `replicatedMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `cache.averageGetTime` | µs | Mean time to execute gets on the cache | +| `cache.averagePutTime` | µs | Mean time to execute puts on the cache | +| `cache.averageRemovalTime` | µs | Mean time to execute removes on the cache | +| `cache.cacheEvictions` | count | Number of evictions on the cache | +| `cache.cacheGets` | count | Number of gets on the cache | +| `cache.cacheHits` | count | Number of successful get operations, hits, on the cache | +| `cache.cacheHitPercentage` | percent | Percentage of successful get operations, hits, out of all get operations on the cache | +| `cache.cachePuts` | count | Number of puts to the cache | +| `cache.cacheRemovals` | count | Number of removals from the cache | +| `cache.cacheMisses` | count | Number of missed cache accesses on the cache | +| `cache.cacheMissPercentage` | percent | Percentage of missed cache accesses out of all the cache accesses/access attempts | +| `cache.creationTime` | ms | Creation time of the cache on the member | +| `cache.lastAccessTime` | ms | Cache's last access time | +| `cache.lastUpdateTime` | ms | Cache's last update time | +| `cache.ownedEntryCount` | count | Locally owned entry count in the cache | + +
+ +
+Queue + +| Name | Unit | Description | +| --- | --- | --- | +| `queue.averageAge` | ms | Average age of the items in this member | +| `queue.backupItemCount` | count | Number of backup items held by the member | +| `queue.creationTime` | ms | Creation time of the topic on the member | +| `queue.eventOperationCount` | count | Number of event operations | +| `queue.maxAge` | ms | Maximum age of the items in this member | +| `queue.minAge` | ms | Minimum age of the items in this member | +| `queue.numberOfEmptyPolls` | count | Number of null returning poll operations | +| `queue.numberOfEvents` | count | Number of event operations (duplicate of eventOperationCount) | +| `queue.numberOfOffers` | count | Number of offer/put/add operations | +| `queue.numberOfOtherOperations` | count | Number of other operations | +| `queue.numberOfPolls` | count | Number of poll/take/remove operations. | +| `queue.numberOfRejectedOffers` | count | Number of rejected offers | +| `queue.ownedItemCount` | count | Number of owned items in this member | +| `queue.total` | count | Total number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations) | + +
+ +
+Set + +| Name | Unit | Description | +| --- | --- | --- | +| `set.creationTime` | ms | Creation time of the set on the member | +| `set.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `set.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+List + +| Name | Unit | Description | +| --- | --- | --- | +| `list.creationTime` | ms | Creation time of this list on the member | +| `list.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `list.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `topic.creationTime` | ms | Creation time of the topic on the member | +| `topic.totalPublishes` | count | Total number of published messages of this topic on this member | +| `topic.totalReceivedMessages` | count | Total number of received messages of this topic on this member | + +
+ +
+Reliable Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `reliableTopic.creationTime` | ms | Creation time of this reliable topic on the member | +| `reliableTopic.totalPublishes` | count | Total number of published messages of this reliable topic on this member | +| `reliableTopic.totalReceivedMessages` | count | Total number of received messages of this reliable topic on this member | + +
+ +
+Flake ID Generator + +| Name | Unit | Description | +| --- | --- | --- | +| `flakeIdGenerator.batchCount` | count | Total number of times the Flake ID generator has been used to generate a new ID batch | +| `flakeIdGenerator.creationTime` | ms | Creation time of this Flake ID Generator on the member | +| `flakeIdGenerator.idCount` | count | Total number of IDs generated (the sum of IDs for all batches) | + +
+ +
+PN Counter + +| Name | Unit | Description | +| --- | --- | --- | +| `pnCounter.creationTime` | ms | Creation time of the PN counter on the member | +| `pnCounter.totalDecrementOperationCount` | count | Number of subtract (including decrement) operations on this PN counter | +| `pnCounter.totalIncrementOperationCount` | count | Number of add (including increment) operations on this PN counter | +| `pnCounter.value` | count | Current value of the PN counter | + +
+ +
+Executor Service + +| Name | Unit | Description | +| --- | --- | --- | +| `executor.cancelled` | count | Number of cancelled operations on the executor service | +| `executor.completed` | count | Number of completed operations on the executor service | +| `executor.creationTime` | ms | Creation time of this executor on the member | +| `executor.pending` | count | Number of pending operations on the executor service | +| `executor.started` | count | Number of started operations on the executor service | +| `executor.totalExecutionTime` | ms | Total execution time of the finished operations | +| `executor.totalStartLatency` | ms | Total start latency of operations started | +| `executor.internal.completedTasks` | count | Number of completed tasks by this executor | +| `executor.internal.maximumPoolSize` | count | Maximum number of threads in the executor's thread pool | +| `executor.internal.poolSize` | count | Number of threads in the executor's thread pool | +| `executor.internal.queueSize` | count | Number of pending tasks in this executor's task queue | +| `executor.internal.remainingQueueCapacity` | count | Remaining capacity on the executor's task queue | + +
+ +
+User Code Deployment + +| Name | Unit | Description | +| --- | --- | --- | +| `classloading.loadedClassesCount` | count | Number of classes that are currently loaded | +| `classloading.totalLoadedClassesCount` | count | Total number of classes that have been loaded since the instance has started execution. | +| `classloading.unloadedClassesCount` | count | Total number of unloaded classes. | + +
+ +
+Cluster + +| Name | Unit | Description | +| --- | --- | --- | +| `cluster.clock.clusterStartTime` | ms | Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + +
+ +
+Clients + +Scope: member-side only. These metrics describe clients connected to the local member. + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.map.size` | count | Number of keys in this `CPMap` | +| `cp.map.sizeBytes` | count | Total number of bytes used by key-value pairs for this `CPMap` | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | + +:::note + +CP Subsystem metrics are only. + +::: + +We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: + +| Name | Unit | Description | +| --- | --- | --- | +| `destroyed.count` | count | Number of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count. | +| `live.count` | count | Number of objects for the parent object type that are in use. | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +The names in this table use canonical `memory.` metric names. + +Prefix and scope variants: + +- Open Source member and client instance memory metrics: `memory.` +- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` +- Enterprise member per-memory-manager metrics: `memorymanager.stats.` + +The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will use for the heap | +| `memory.maxMetadata` | bytes | The threshold for warning about metadata usage | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +Scope: member-side only. only. + +These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +Scope: member-side and client-side. + +The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + + + + + + - + - + - + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.completedCount`countNumber of completed operations
`multiMap.dirtyEntryCount``operation.failedBackups` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of failed backup operations on the operation service of the member
`multiMap.entrySetCount``operation.generic.executedOperationsCount` countNumber of entry set operations on this memberNumber of executed generic operations
`multiMap.evictionCount``operation.genericPriorityQueueSize` countNumber of evictions completed on locally owned entries, backups are not includedNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.expirationCount``operation.genericQueueSize` countNumber of expirations completed on locally owned entries, backups are not includedNumber of normal generic operations pending (waiting in the queue)
`multiMap.getCount``operation.genericThreadCount` countNumber of local get operations on the multimapNumber of generic operation handler threads in the member
`multiMap.hits``operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts` countNumber of hits (reads) of the locally owned entriesNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.indexedQueryCount``operation.invocations.delayedExecutionCount` countTotal number of indexed local queries performed on the multimapNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.indexesSkippedQueryCount``operation.invocations.heartbeatPacketsReceived` countTotal number of local queries performed on the multimap which cannot use indexesNumber of received heartbeat packets
`multiMap.noMatchingIndexQueryCount``operation.invocations.heartbeatPacketsSent` countTotal number of local queries performed on the multimap which had no matching indexNumber of sent heartbeat packets
`multiMap.lastAccessTime``operation.invocations.invocationScanPeriodMillis` msLast access (read) time of the locally owned entriesPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.lastUpdateTime``operation.invocations.invocationTimeoutMillis` msLast update time of the locally owned entriesTimeout for operation invocations
`multiMap.lockedEntryCount``operation.invocations.lastCallId` countNumber of locked entries that the member ownsLast issued invocation call ID
`multiMap.merkleTreesCost``operation.invocations.normalTimeouts` countHeap cost of the Merkle treesNumber of times that the operation invocations have timed out
`multiMap.numberOfEvents``operation.invocations.pending` countNumber of local events receivedNumber of pending invocations
`multiMap.numberOfOtherOperations`countTotal number of other operations`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.ownedEntryCount``operation.parker.parkQueueCount` countNumber of multimap entries owned by the memberNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.putCount``operation.parker.totalParkedOperationCount` countNumber of local put operations on the multimapTotal number of parked operations
`multiMap.queryCount``operation.partition.executedOperationsCount` countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)
`multiMap.queryLimiterHitCount`countNumber of times the query result size limiter was hit on this memberNumber of executed partition operations on the specified partition
`multiMap.removeCount``operation.partitionThreadCount` countNumber of local remove operations on the multimapNumber of partition operation handler threads for given member
`multiMap.setCount``operation.priorityQueueSize` countNumber of local set operations on the multimap
`multiMap.totalGetLatency`msTotal latency of local get operations
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations
`multiMap.totalPutLatency`msTotal latency of local put operations
`multiMap.totalRemoveLatency`msTotal latency of local remove operations
`multiMap.totalSetLatency`msTotal latency of local set operationsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.valuesCount``operation.queueSize` countNumber of values operations on this member
+ -
+Number of normal operations pending (normal partition operations + normal generic operations). -
-Replicated Map +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - ----- - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - + - + - + - + - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount``operation.responseQueueSize` countNumber of entry set operations on this memberTotal number of pending responses (work queue for the response threads) to be processed.
`replicatedMap.getCount``operation.responses.backupCount` countNumber of get operations on this memberNumber of backup acknowledgement responses
`replicatedMap.hits``operation.responses.errorCount` countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operationsNumber of error responses
`replicatedMap.numberOfEvents``operation.responses.missingCount` countNumber of events received on this memberNumber of responses having missing invocations
`replicatedMap.numberOfOtherOperations``operation.responses.normalCount` countTotal number of other operations on this memberNumber of normal responses
`replicatedMap.ownedEntryCount``operation.responses.timeoutCount` countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this memberNumber of call timeout responses
`replicatedMap.putCount``operation.retryCount` countNumber of put operations on this memberNumber of retried operations
`replicatedMap.removeCount``operation.runningCount` countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operationsNumber of currently running operations (runningPartitionCount + runningGenericCount)
`replicatedMap.total``operation.runningGenericCount` countTotal number of operations on this memberNumber of currently running generic (non partition specific) operations
`replicatedMap.valuesCount``operation.runningPartitionCount` countNumber of values operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - - - - - - - - - - - + - - - + + + - - - + + + - + - +
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cacheNumber of currently running partition operations
`cache.cacheEvictions``operation.thread.completedOperationCount` countNumber of evictions on the cacheNumber of completed operations by this operation thread
`cache.cacheGets``operation.thread.completedOperationBatchCount` countNumber of gets on the cacheNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`cache.cacheHits``operation.thread.completedPacketCount` countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cacheNumber of packets that executed by this operation thread
`cache.cachePuts``operation.thread.completedPartitionSpecificRunnableCount` countNumber of puts to the cacheNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`cache.cacheRemovals``operation.thread.completedRunnableCount` countNumber of removals from the cacheTotal number of runnables executed by this operation thread
`cache.cacheMisses``operation.thread.completedTotalCount` countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the memberTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`cache.lastAccessTime`msCache's last access time`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`cache.lastUpdateTime`msCache's last update time`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`cache.ownedEntryCount``operation.thread.priorityPendingCount` countLocally owned entry count in the cacheNumber of priority pending operations (tasks)
@@ -1303,2347 +1586,242 @@ The above `latency` metrics are only measured for the members and do not represe
-Queue +Operating System - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
+| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space |
-Set +Partitions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Whether there are any currently active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning |
-List +Persistence - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) |
-Topic +Proxies - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service |
-Reliable Topic +Raft Algorithm - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs |
-Flake ID Generator +Runtime - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
+| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used |
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
+TCP -
-Executor Service +Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
+| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesReceived.{PROTOCOL}` | bytes | Number of bytes received over all connections for the protocol (Advanced Networking only) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.bytesSend.{PROTOCOL}` | bytes | Number of bytes sent over all connections for the protocol (Advanced Networking only) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.selectorRebuildCount` | count | Number of times the selector was recreated on this NioThread | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread |
-User Code Deployment +Threads - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
-Cluster +Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
-Clients - -Scope: member-side only. These metrics describe clients connected to the local member. +WAN Replication - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Total number of WAN events currently placed in the WAN queues of primary partitions on this member | +| `wan.queueFillPercent` | percent | Percentage of the WAN replication queue that is filled | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events | +| `wan.connectionHealth` | boolean | The health of an individual WAN target endpoint, where 1 is healthy and 0 is not | +| `wan.failedTransmitCount` | count | Number of attempted WAN replication transmissions that have failed |
-Client Invocations - -Scope: client-side only. +User Code Namespaces - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
- -
- -
-CP Subsystem - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.map.size`countNumber of keys in this `CPMap`
`cp.map.sizeBytes`countTotal number of bytes used by key-value pairs for this `CPMap`
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
- -:::note - -CP Subsystem metrics are only. - -::: - -We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`destroyed.count`countNumber of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count.
`live.count`countNumber of objects for the parent object type that are in use.
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - -The names in this table use canonical `memory.` metric names. - -Prefix and scope variants: - -- Open Source member and client instance memory metrics: `memory.` -- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` -- Enterprise member per-memory-manager metrics: `memorymanager.stats.` - -The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will use for the heap
`memory.maxMetadata`bytesThe threshold for warning about metadata usage
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - -Scope: member-side only. only. - -These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - -Scope: member-side and client-side. - -The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanWhether there are any currently active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.liveValues`countNumber of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - -Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesReceived.{PROTOCOL}`bytesNumber of bytes received over all connections for the protocol (Advanced Networking only)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.bytesSend.{PROTOCOL}`bytesNumber of bytes sent over all connections for the protocol (Advanced Networking only)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead`countNumber of priority frames read on this inbound nio pipeline
`tcp.connection.in.priorityFramesRead`countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipeline
`tcp.connection.out.normalFramesWritten`countNumber of written normal frames on this outbound nio pipeline
`tcp.connection.out.priorityFramesWritten`countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queue
`tcp.connection.out.priorityWriteQueueSize`countNumber of priority frames pending in the write queue
`tcp.connection.out.scheduled`countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queue
`tcp.connection.out.writeQueueSize`countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread
`tcp.inputThread/outputThread.completedTaskCount`countTotal number of completed tasks on this NioThread
`tcp.inputThread/outputThread.eventCount`countTotal number of the connections accepted by TcpServerAcceptor
`tcp.inputThread/outputThread.framesTransceived`countNumber of transceived frames on this NioThread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write
`tcp.inputThread/outputThread.ioThreadId`countThread ID of this NioThread
`tcp.inputThread/outputThread.priorityFramesTransceived`countNumber of transceived priority frames
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread
`tcp.inputThread/outputThread.selectorIOExceptionCount`countNumber of times that I/O exceptions are thrown during selection
`tcp.inputThread/outputThread.selectorRebuildCount`countNumber of times the selector was recreated on this NioThread
`tcp.inputThread/outputThread.taskQueueSize`countNumber of pending tasks on the queue of NioThread
- -
- -
-Threads - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
- -
- -
-Transactions - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
- -
- -
-WAN Replication - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countTotal number of WAN events currently placed in the WAN queues of primary partitions on this member
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not
`wan.failedTransmitCount`countNumber of attempted WAN replication transmissions that have failed
- -
- -
-User Code Namespaces - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`ucn.updateTime`msUpdate time of a user code namespace configuration
`ucn.resourceCount`countNumber of resources contained in a namespace
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace
+| Name | Unit | Description | +| --- | --- | --- | +| `ucn.updateTime` | ms | Update time of a user code namespace configuration | +| `ucn.resourceCount` | count | Number of resources contained in a namespace | +| `ucn.resource.resourceType` | enum | The Ordinal of the enum type of the resource contained in a namespace | +| `ucn.resource.resourceSizeBytes` | bytes | The size in bytes of a resource contained in a namespace |
diff --git a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx index aa6579c0..d78c0d38 100644 --- a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to [restart](../operate - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx index e567d516..6c2872b4 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx @@ -210,40 +210,12 @@ The default backwards-compatible event publishing strategy only publishes `UPDAT When you configure Hazelcast members with property `hazelcast.map.entry.filtering.natural.event.types` set to `true`, handling of entry updates conceptually treats value transition as entry, update or exit with regards to the predicate value space. The following table compares how a listener is notified about an update to a map entry value under the default backwards-compatible Hazelcast behavior (when property `hazelcast.map.entry.filtering.natural.event.types` is not set or is set to `false`) versus when set to `true`: - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
`hazelcast.map.entry.filtering.natural.event.types = false` (default)`hazelcast.map.entry.filtering.natural.event.types = true`
When old value matches predicate, new value does not match predicateNo event is delivered to entry listener`REMOVED` event is delivered to entry listener
When old value matches predicate, new value matches predicate`UPDATED` event is delivered to entry listener`UPDATED` event is delivered to entry listener
When old value does not match predicate, new value does not match predicateNo event is delivered to entry listenerNo event is delivered to entry listener
When old value does not match predicate, new value matches predicate`UPDATED` event is delivered to entry listener`ADDED` event is delivered to entry listener
+| | `hazelcast.map.entry.filtering.natural.event.types = false` (default) | `hazelcast.map.entry.filtering.natural.event.types = true` | +| --- | --- | --- | +| When old value matches predicate, new value does not match predicate | No event is delivered to entry listener | `REMOVED` event is delivered to entry listener | +| When old value matches predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `UPDATED` event is delivered to entry listener | +| When old value does not match predicate, new value does not match predicate | No event is delivered to entry listener | No event is delivered to entry listener | +| When old value does not match predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `ADDED` event is delivered to entry listener | ## Interceptors @@ -269,38 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
`interceptGet`Replace returned `map.get()` value with new value
`afterGet`Action to take after `map.get()` operation is complete
`interceptPut`Replace value in `map.put()` with new value
`afterPut`Action to take after `map.put()` is complete
`interceptRemove`Collects removed map entry
`afterRemove`Action to take after `map.remove()` is complete
+| Method | Description | +| --- | --- | +| `interceptGet` | Replace returned `map.get()` value with new value | +| `afterGet` | Action to take after `map.get()` operation is complete | +| `interceptPut` | Replace value in `map.put()` with new value | +| `afterPut` | Action to take after `map.put()` is complete | +| `interceptRemove` | Collects removed map entry | +| `afterRemove` | Action to take after `map.remove()` is complete | The following is an example usage. diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx index 67ff692a..63767951 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -30,50 +30,56 @@ All primitive types, user types, array size, number of items, length of data, sc You cannot redefine the endianness in Compact Serialization; it is inherited from [existing configuration](../serialization-configuration.mdx#configuration-options). +
+
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+
### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/overview.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/overview.mdx index e4e3ac1d..526e5355 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/overview.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/serialization/compact-serialization/overview.mdx @@ -537,50 +537,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/functions-and-operators.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/functions-and-operators.mdx index aeca47b9..46cb2a56 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/functions-and-operators.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/functions-and-operators.mdx @@ -308,6 +308,14 @@ Conversion functions allow you to convert the result type of one expression to a + + +Function +Description +Example +Result + + `TO_CHAR(expression [, format model] [, NLS parameter])` diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx index 56508754..30588c37 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx index 3d7bb555..96f00aac 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx @@ -243,11 +243,13 @@ There are some options that can be added only in `CREATE MAPPING`: - + -Name -Description +Name +Description + + `startAt` diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/delete.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/delete.mdx index e40e5889..00797f5c 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/update.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/update.mdx index 7f3cb6a4..f38ae02f 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/update.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx index 033b948c..be3c08cf 100644 --- a/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast_versioned_docs/version-5.6/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before(MapReduce)/after(Hazelcast Jet) word coun - + -***3.12.x (MapReduce)*** -***5.0 (Jet Engine)*** +3.12.x (MapReduce) +5.0 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing a Migration Listener @@ -602,11 +614,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -674,11 +688,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -727,11 +743,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -778,11 +796,13 @@ See the following table for the before/after sample - - - - - - - -Option Name -Default Value -Description - - -`roleAttribute` -`cn` -Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. - - - +| Option Name | Default Value | Description | +| --- | --- | --- | +| `roleAttribute` | `cn` | Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. | diff --git a/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx index 44a5c207..36baa65b 100644 --- a/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx +++ b/hazelcast_versioned_docs/version-5.6/reference/list-of-metrics.mdx @@ -303,13 +303,15 @@ The Reset column shows the reset behavior of the metrics. There are two types of - + -Name -Unit -Description -Reset +Name +Unit +Description +Reset + + `map.backupCount` count @@ -654,12 +656,14 @@ The above `*latency` metrics are only measured for the members and they do not r - + -Name -Unit -Description +Name +Unit +Description + + `vectorCollection.backupCount` count @@ -907,397 +911,670 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` +| Name | Unit | Description | +| --- | --- | --- | +| `multiMap.backupCount` | count | Number of backups per entry | +| `multiMap.backupEntryCount` | count | Number of backup entries held by the member | +| `multiMap.creationTime` | ms | Creation time of the multimap in the member | +| `multiMap.dirtyEntryCount` | count | Number of dirty (updated but not persisted yet) entries that the member owns | +| `multiMap.entrySetCount` | count | Number of entry set operations on this member | +| `multiMap.evictionCount` | count | Number of evictions completed on locally owned entries, backups are not included | +| `multiMap.expirationCount` | count | Number of expirations completed on locally owned entries, backups are not included | +| `multiMap.getCount` | count | Number of local get operations on the multimap | +| `multiMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `multiMap.indexedQueryCount` | count | Total number of indexed local queries performed on the multimap | +| `multiMap.indexesSkippedQueryCount` | count | Total number of local queries performed on the multimap which cannot use indexes | +| `multiMap.noMatchingIndexQueryCount` | count | Total number of local queries performed on the multimap which had no matching index | +| `multiMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `multiMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `multiMap.lockedEntryCount` | count | Number of locked entries that the member owns | +| `multiMap.merkleTreesCost` | count | Heap cost of the Merkle trees | +| `multiMap.numberOfEvents` | count | Number of local events received | +| `multiMap.numberOfOtherOperations` | count | Total number of other operations | +| `multiMap.ownedEntryCount` | count | Number of multimap entries owned by the member | +| `multiMap.putCount` | count | Number of local put operations on the multimap | +| `multiMap.queryCount` | count | Number of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage) | +| `multiMap.queryLimiterHitCount` | count | Number of times the query result size limiter was hit on this member | +| `multiMap.removeCount` | count | Number of local remove operations on the multimap | +| `multiMap.setCount` | count | Number of local set operations on the multimap | +| `multiMap.totalGetLatency` | ms | Total latency of local get operations | +| `multiMap.totalMaxGetLatency` | ms | Maximum latency of local get operations | +| `multiMap.totalMaxPutLatency` | ms | Maximum latency of local put operations | +| `multiMap.totalMaxRemoveLatency` | ms | Maximum latency of local remove operations | +| `multiMap.totalMaxSetLatency` | ms | Maximum latency of local set operations | +| `multiMap.totalPutLatency` | ms | Total latency of local put operations | +| `multiMap.totalRemoveLatency` | ms | Total latency of local remove operations | +| `multiMap.totalSetLatency` | ms | Total latency of local set operations | +| `multiMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Replicated Map + +| Name | Unit | Description | +| --- | --- | --- | +| `replicatedMap.creationTime` | ms | Creation time of this replicated map on this member | +| `replicatedMap.entrySetCount` | count | Number of entry set operations on this member | +| `replicatedMap.getCount` | count | Number of get operations on this member | +| `replicatedMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `replicatedMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `replicatedMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `replicatedMap.maxGetLatency` | ms | Maximum latency of get operations | +| `replicatedMap.maxPutLatency` | ms | Maximum latency of put operations | +| `replicatedMap.maxRemoveLatency` | ms | Maximum latency of remove operations | +| `replicatedMap.numberOfEvents` | count | Number of events received on this member | +| `replicatedMap.numberOfOtherOperations` | count | Total number of other operations on this member | +| `replicatedMap.ownedEntryCount` | count | Number of entries owned on this member | +| `replicatedMap.ownedEntryMemoryCost` | bytes | Memory cost of owned entries on this member | +| `replicatedMap.putCount` | count | Number of put operations on this member | +| `replicatedMap.removeCount` | count | Number of remove operations on this member | +| `replicatedMap.totalGetLatencies` | ms | Total latency of get operations | +| `replicatedMap.totalPutLatencies` | ms | Total latency of put operations | +| `replicatedMap.totalRemoveLatencies` | ms | Total latency of remove operations | +| `replicatedMap.total` | count | Total number of operations on this member | +| `replicatedMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `cache.averageGetTime` | µs | Mean time to execute gets on the cache | +| `cache.averagePutTime` | µs | Mean time to execute puts on the cache | +| `cache.averageRemovalTime` | µs | Mean time to execute removes on the cache | +| `cache.cacheEvictions` | count | Number of evictions on the cache | +| `cache.cacheGets` | count | Number of gets on the cache | +| `cache.cacheHits` | count | Number of successful get operations, hits, on the cache | +| `cache.cacheHitPercentage` | percent | Percentage of successful get operations, hits, out of all get operations on the cache | +| `cache.cachePuts` | count | Number of puts to the cache | +| `cache.cacheRemovals` | count | Number of removals from the cache | +| `cache.cacheMisses` | count | Number of missed cache accesses on the cache | +| `cache.cacheMissPercentage` | percent | Percentage of missed cache accesses out of all the cache accesses/access attempts | +| `cache.creationTime` | ms | Creation time of the cache on the member | +| `cache.lastAccessTime` | ms | Cache's last access time | +| `cache.lastUpdateTime` | ms | Cache's last update time | +| `cache.ownedEntryCount` | count | Locally owned entry count in the cache | + +
+ +
+Queue + +| Name | Unit | Description | +| --- | --- | --- | +| `queue.averageAge` | ms | Average age of the items in this member | +| `queue.backupItemCount` | count | Number of backup items held by the member | +| `queue.creationTime` | ms | Creation time of the topic on the member | +| `queue.eventOperationCount` | count | Number of event operations | +| `queue.maxAge` | ms | Maximum age of the items in this member | +| `queue.minAge` | ms | Minimum age of the items in this member | +| `queue.numberOfEmptyPolls` | count | Number of null returning poll operations | +| `queue.numberOfEvents` | count | Number of event operations (duplicate of eventOperationCount) | +| `queue.numberOfOffers` | count | Number of offer/put/add operations | +| `queue.numberOfOtherOperations` | count | Number of other operations | +| `queue.numberOfPolls` | count | Number of poll/take/remove operations. | +| `queue.numberOfRejectedOffers` | count | Number of rejected offers | +| `queue.ownedItemCount` | count | Number of owned items in this member | +| `queue.total` | count | Total number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations) | + +
+ +
+Set + +| Name | Unit | Description | +| --- | --- | --- | +| `set.creationTime` | ms | Creation time of the set on the member | +| `set.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `set.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+List + +| Name | Unit | Description | +| --- | --- | --- | +| `list.creationTime` | ms | Creation time of this list on the member | +| `list.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `list.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `topic.creationTime` | ms | Creation time of the topic on the member | +| `topic.totalPublishes` | count | Total number of published messages of this topic on this member | +| `topic.totalReceivedMessages` | count | Total number of received messages of this topic on this member | + +
+ +
+Reliable Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `reliableTopic.creationTime` | ms | Creation time of this reliable topic on the member | +| `reliableTopic.totalPublishes` | count | Total number of published messages of this reliable topic on this member | +| `reliableTopic.totalReceivedMessages` | count | Total number of received messages of this reliable topic on this member | + +
+ +
+Flake ID Generator + +| Name | Unit | Description | +| --- | --- | --- | +| `flakeIdGenerator.batchCount` | count | Total number of times the Flake ID generator has been used to generate a new ID batch | +| `flakeIdGenerator.creationTime` | ms | Creation time of this Flake ID Generator on the member | +| `flakeIdGenerator.idCount` | count | Total number of IDs generated (the sum of IDs for all batches) | + +
+ +
+PN Counter + +| Name | Unit | Description | +| --- | --- | --- | +| `pnCounter.creationTime` | ms | Creation time of the PN counter on the member | +| `pnCounter.totalDecrementOperationCount` | count | Number of subtract (including decrement) operations on this PN counter | +| `pnCounter.totalIncrementOperationCount` | count | Number of add (including increment) operations on this PN counter | +| `pnCounter.value` | count | Current value of the PN counter | + +
+ +
+Executor Service + +| Name | Unit | Description | +| --- | --- | --- | +| `executor.cancelled` | count | Number of cancelled operations on the executor service | +| `executor.completed` | count | Number of completed operations on the executor service | +| `executor.creationTime` | ms | Creation time of this executor on the member | +| `executor.pending` | count | Number of pending operations on the executor service | +| `executor.started` | count | Number of started operations on the executor service | +| `executor.totalExecutionTime` | ms | Total execution time of the finished operations | +| `executor.totalStartLatency` | ms | Total start latency of operations started | +| `executor.internal.completedTasks` | count | Number of completed tasks by this executor | +| `executor.internal.maximumPoolSize` | count | Maximum number of threads in the executor's thread pool | +| `executor.internal.poolSize` | count | Number of threads in the executor's thread pool | +| `executor.internal.queueSize` | count | Number of pending tasks in this executor's task queue | +| `executor.internal.remainingQueueCapacity` | count | Remaining capacity on the executor's task queue | + +
+ +
+User Code Deployment + +| Name | Unit | Description | +| --- | --- | --- | +| `classloading.loadedClassesCount` | count | Number of classes that are currently loaded | +| `classloading.totalLoadedClassesCount` | count | Total number of classes that have been loaded since the instance has started execution. | +| `classloading.unloadedClassesCount` | count | Total number of unloaded classes. | + +
+ +
+Cluster + +| Name | Unit | Description | +| --- | --- | --- | +| `cluster.clock.clusterStartTime` | ms | Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + +
+ +
+Clients + +Scope: member-side only. These metrics describe clients connected to the local member. + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.map.size` | count | Number of keys in this `CPMap` | +| `cp.map.sizeBytes` | count | Total number of bytes used by key-value pairs for this `CPMap` | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | + +We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: + +| Name | Unit | Description | +| --- | --- | --- | +| `destroyed.count` | count | Number of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count. | +| `live.count` | count | Number of objects for the parent object type that are in use. | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +The names in this table use canonical `memory.` metric names. + +Prefix and scope variants: + +- Open Source member and client instance memory metrics: `memory.` +- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` +- Enterprise member per-memory-manager metrics: `memorymanager.stats.` + +The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will use for the heap | +| `memory.maxMetadata` | bytes | The threshold for warning about metadata usage | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +Scope: member-side only. only. + +These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +Scope: member-side and client-side. + +The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + + + + + + - + - + - + - + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.completedCount`countNumber of completed operations
`multiMap.dirtyEntryCount``operation.failedBackups` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of failed backup operations on the operation service of the member
`multiMap.entrySetCount``operation.generic.executedOperationsCount` countNumber of entry set operations on this memberNumber of executed generic operations
`multiMap.evictionCount``operation.genericPriorityQueueSize` countNumber of evictions completed on locally owned entries, backups are not includedNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.expirationCount``operation.genericQueueSize` countNumber of expirations completed on locally owned entries, backups are not includedNumber of normal generic operations pending (waiting in the queue)
`multiMap.getCount``operation.genericThreadCount` countNumber of local get operations on the multimapNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`multiMap.hits``operation.invocations.backupTimeouts` countNumber of hits (reads) of the locally owned entriesNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.indexedQueryCount``operation.invocations.delayedExecutionCount` countTotal number of indexed local queries performed on the multimapNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.indexesSkippedQueryCount``operation.invocations.heartbeatPacketsReceived` countTotal number of local queries performed on the multimap which cannot use indexesNumber of received heartbeat packets
`multiMap.noMatchingIndexQueryCount``operation.invocations.heartbeatPacketsSent` countTotal number of local queries performed on the multimap which had no matching indexNumber of sent heartbeat packets
`multiMap.lastAccessTime``operation.invocations.invocationScanPeriodMillis` msLast access (read) time of the locally owned entriesPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.lastUpdateTime``operation.invocations.invocationTimeoutMillis` msLast update time of the locally owned entriesTimeout for operation invocations
`multiMap.lockedEntryCount``operation.invocations.lastCallId` countNumber of locked entries that the member ownsLast issued invocation call ID
`multiMap.merkleTreesCost``operation.invocations.normalTimeouts` countHeap cost of the Merkle treesNumber of times that the operation invocations have timed out
`multiMap.numberOfEvents``operation.invocations.pending` countNumber of local events receivedNumber of pending invocations
`multiMap.numberOfOtherOperations`countTotal number of other operations`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.ownedEntryCount``operation.parker.parkQueueCount` countNumber of multimap entries owned by the memberNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.putCount``operation.parker.totalParkedOperationCount` countNumber of local put operations on the multimapTotal number of parked operations
`multiMap.queryCount``operation.partition.executedOperationsCount` countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)Number of executed partition operations on the specified partition
`multiMap.queryLimiterHitCount``operation.partitionThreadCount` countNumber of times the query result size limiter was hit on this memberNumber of partition operation handler threads for given member
`multiMap.removeCount``operation.priorityQueueSize` countNumber of local remove operations on the multimapNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.setCount`countNumber of local set operations on the multimap
`multiMap.totalGetLatency`msTotal latency of local get operations
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations
`multiMap.totalPutLatency`msTotal latency of local put operations
`multiMap.totalRemoveLatency`msTotal latency of local remove operations
`multiMap.totalSetLatency`msTotal latency of local set operations
`multiMap.valuesCount``operation.queueSize` countNumber of values operations on this member
+ -
+Number of normal operations pending (normal partition operations + normal generic operations). -
-Replicated Map +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - ----- - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - + - + - + - + - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount``operation.responseQueueSize` countNumber of entry set operations on this memberTotal number of pending responses (work queue for the response threads) to be processed.
`replicatedMap.getCount``operation.responses.backupCount` countNumber of get operations on this memberNumber of backup acknowledgement responses
`replicatedMap.hits``operation.responses.errorCount` countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operationsNumber of error responses
`replicatedMap.numberOfEvents``operation.responses.missingCount` countNumber of events received on this memberNumber of responses having missing invocations
`replicatedMap.numberOfOtherOperations``operation.responses.normalCount` countTotal number of other operations on this memberNumber of normal responses
`replicatedMap.ownedEntryCount``operation.responses.timeoutCount` countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this memberNumber of call timeout responses
`replicatedMap.putCount``operation.retryCount` countNumber of put operations on this memberNumber of retried operations
`replicatedMap.removeCount``operation.runningCount` countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operationsNumber of currently running operations (runningPartitionCount + runningGenericCount)
`replicatedMap.total``operation.runningGenericCount` countTotal number of operations on this memberNumber of currently running generic (non partition specific) operations
`replicatedMap.valuesCount``operation.runningPartitionCount` countNumber of values operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - - - - - - - - - - - + - - - + + + - - - + + + - + - +
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cacheNumber of currently running partition operations
`cache.cacheEvictions``operation.thread.completedOperationCount` countNumber of evictions on the cacheNumber of completed operations by this operation thread
`cache.cacheGets``operation.thread.completedOperationBatchCount` countNumber of gets on the cacheNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`cache.cacheHits``operation.thread.completedPacketCount` countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cacheNumber of packets that executed by this operation thread
`cache.cachePuts``operation.thread.completedPartitionSpecificRunnableCount` countNumber of puts to the cacheNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`cache.cacheRemovals``operation.thread.completedRunnableCount` countNumber of removals from the cacheTotal number of runnables executed by this operation thread
`cache.cacheMisses``operation.thread.completedTotalCount` countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the memberTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`cache.lastAccessTime`msCache's last access time`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`cache.lastUpdateTime`msCache's last update time`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`cache.ownedEntryCount``operation.thread.priorityPendingCount` countLocally owned entry count in the cacheNumber of priority pending operations (tasks)
@@ -1305,2341 +1582,242 @@ The above `latency` metrics are only measured for the members and do not represe
-Queue +Operating System - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
+| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space |
-Set +Partitions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Whether there are any currently active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning |
-List +Persistence - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) |
-Topic +Proxies - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service |
-Reliable Topic +Raft Algorithm - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs |
-Flake ID Generator +Runtime - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
+| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used |
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
+TCP -
-Executor Service +Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
+| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesReceived.{PROTOCOL}` | bytes | Number of bytes received over all connections for the protocol (Advanced Networking only) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.bytesSend.{PROTOCOL}` | bytes | Number of bytes sent over all connections for the protocol (Advanced Networking only) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.selectorRebuildCount` | count | Number of times the selector was recreated on this NioThread | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread |
-User Code Deployment +Threads - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
-Cluster +Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
-Clients - -Scope: member-side only. These metrics describe clients connected to the local member. +WAN Replication - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Total number of WAN events currently placed in the WAN queues of primary partitions on this member | +| `wan.queueFillPercent` | percent | Percentage of the WAN replication queue that is filled | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events | +| `wan.connectionHealth` | boolean | The health of an individual WAN target endpoint, where 1 is healthy and 0 is not | +| `wan.failedTransmitCount` | count | Number of attempted WAN replication transmissions that have failed |
-Client Invocations - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
+User Code Namespaces -
- -
-CP Subsystem - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.map.size`countNumber of keys in this `CPMap`
`cp.map.sizeBytes`countTotal number of bytes used by key-value pairs for this `CPMap`
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
- -We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`destroyed.count`countNumber of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count.
`live.count`countNumber of objects for the parent object type that are in use.
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - -The names in this table use canonical `memory.` metric names. - -Prefix and scope variants: - -- Open Source member and client instance memory metrics: `memory.` -- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` -- Enterprise member per-memory-manager metrics: `memorymanager.stats.` - -The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will use for the heap
`memory.maxMetadata`bytesThe threshold for warning about metadata usage
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - -Scope: member-side only. only. - -These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - -Scope: member-side and client-side. - -The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanWhether there are any currently active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.liveValues`countNumber of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - -Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesReceived.{PROTOCOL}`bytesNumber of bytes received over all connections for the protocol (Advanced Networking only)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.bytesSend.{PROTOCOL}`bytesNumber of bytes sent over all connections for the protocol (Advanced Networking only)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead`countNumber of priority frames read on this inbound nio pipeline
`tcp.connection.in.priorityFramesRead`countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipeline
`tcp.connection.out.normalFramesWritten`countNumber of written normal frames on this outbound nio pipeline
`tcp.connection.out.priorityFramesWritten`countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queue
`tcp.connection.out.priorityWriteQueueSize`countNumber of priority frames pending in the write queue
`tcp.connection.out.scheduled`countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queue
`tcp.connection.out.writeQueueSize`countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread
`tcp.inputThread/outputThread.completedTaskCount`countTotal number of completed tasks on this NioThread
`tcp.inputThread/outputThread.eventCount`countTotal number of the connections accepted by TcpServerAcceptor
`tcp.inputThread/outputThread.framesTransceived`countNumber of transceived frames on this NioThread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write
`tcp.inputThread/outputThread.ioThreadId`countThread ID of this NioThread
`tcp.inputThread/outputThread.priorityFramesTransceived`countNumber of transceived priority frames
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread
`tcp.inputThread/outputThread.selectorIOExceptionCount`countNumber of times that I/O exceptions are thrown during selection
`tcp.inputThread/outputThread.selectorRebuildCount`countNumber of times the selector was recreated on this NioThread
`tcp.inputThread/outputThread.taskQueueSize`countNumber of pending tasks on the queue of NioThread
- -
- -
-Threads - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
- -
- -
-Transactions - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
- -
- -
-WAN Replication - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countTotal number of WAN events currently placed in the WAN queues of primary partitions on this member
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not
`wan.failedTransmitCount`countNumber of attempted WAN replication transmissions that have failed
- -
- -
-User Code Namespaces - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`ucn.updateTime`msUpdate time of a user code namespace configuration
`ucn.resourceCount`countNumber of resources contained in a namespace
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace
+| Name | Unit | Description | +| --- | --- | --- | +| `ucn.updateTime` | ms | Update time of a user code namespace configuration | +| `ucn.resourceCount` | count | Number of resources contained in a namespace | +| `ucn.resource.resourceType` | enum | The Ordinal of the enum type of the resource contained in a namespace | +| `ucn.resource.resourceSizeBytes` | bytes | The size in bytes of a resource contained in a namespace |
diff --git a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx index d7a624d7..535b45cd 100644 --- a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to [restart](../operate - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx index e567d516..6c2872b4 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx @@ -210,40 +210,12 @@ The default backwards-compatible event publishing strategy only publishes `UPDAT When you configure Hazelcast members with property `hazelcast.map.entry.filtering.natural.event.types` set to `true`, handling of entry updates conceptually treats value transition as entry, update or exit with regards to the predicate value space. The following table compares how a listener is notified about an update to a map entry value under the default backwards-compatible Hazelcast behavior (when property `hazelcast.map.entry.filtering.natural.event.types` is not set or is set to `false`) versus when set to `true`: - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
`hazelcast.map.entry.filtering.natural.event.types = false` (default)`hazelcast.map.entry.filtering.natural.event.types = true`
When old value matches predicate, new value does not match predicateNo event is delivered to entry listener`REMOVED` event is delivered to entry listener
When old value matches predicate, new value matches predicate`UPDATED` event is delivered to entry listener`UPDATED` event is delivered to entry listener
When old value does not match predicate, new value does not match predicateNo event is delivered to entry listenerNo event is delivered to entry listener
When old value does not match predicate, new value matches predicate`UPDATED` event is delivered to entry listener`ADDED` event is delivered to entry listener
+| | `hazelcast.map.entry.filtering.natural.event.types = false` (default) | `hazelcast.map.entry.filtering.natural.event.types = true` | +| --- | --- | --- | +| When old value matches predicate, new value does not match predicate | No event is delivered to entry listener | `REMOVED` event is delivered to entry listener | +| When old value matches predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `UPDATED` event is delivered to entry listener | +| When old value does not match predicate, new value does not match predicate | No event is delivered to entry listener | No event is delivered to entry listener | +| When old value does not match predicate, new value matches predicate | `UPDATED` event is delivered to entry listener | `ADDED` event is delivered to entry listener | ## Interceptors @@ -269,38 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
`interceptGet`Replace returned `map.get()` value with new value
`afterGet`Action to take after `map.get()` operation is complete
`interceptPut`Replace value in `map.put()` with new value
`afterPut`Action to take after `map.put()` is complete
`interceptRemove`Collects removed map entry
`afterRemove`Action to take after `map.remove()` is complete
+| Method | Description | +| --- | --- | +| `interceptGet` | Replace returned `map.get()` value with new value | +| `afterGet` | Action to take after `map.get()` operation is complete | +| `interceptPut` | Replace value in `map.put()` with new value | +| `afterPut` | Action to take after `map.put()` is complete | +| `interceptRemove` | Collects removed map entry | +| `afterRemove` | Action to take after `map.remove()` is complete | The following is an example usage. diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx index 67ff692a..63767951 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -30,50 +30,56 @@ All primitive types, user types, array size, number of items, length of data, sc You cannot redefine the endianness in Compact Serialization; it is inherited from [existing configuration](../serialization-configuration.mdx#configuration-options). +
+
+ | Type | Java | C++ | C\# | Python | Node.js | Go | SQL | Description | Fixed Size | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| boolean | boolean | bool | bool | bool | boolean | bool | BOOLEAN | true or false represented by 1 bit as either 1 or 0. Up to 8 booleans packed into a single byte | yes | -| int8 | byte | int8\_t | sbyte | int | number | int8 | TINYINT | 8 bit two's complement signed integer | yes | -| int16 | short | int16\_t | short | int | number | int16 | SMALLINT | 16-bit two's-complement signed integer | yes | -| int32 | int | int32\_t | int | int | number | int32 | INTEGER | 32-bit two's-complement signed integer | yes | -| int64 | long | int64\_t | long | int | Long | int64 | BIGINT | 64-bit two's-complement signed integer | yes | -| float32 | float | float | float | float | number | float32 | REAL | 32-bit IEEE 754 floating-point number | yes | -| float64 | double | double | double | float | number | float64 | DOUBLE | 64-bit IEEE 754 floating-point number | yes | -| string | String | optional\ | string? | Optional\[str\] | string \| null | \*string | STRING | null or number of bytes in the string(int32) + UTF-8 string [https://tools.ietf.org/html/rfc3629](https://tools.ietf.org/html/rfc3629) | no | -| decimal | BigDecimal | optional\ | HBigDecimal? | Optional\[decimal.Decimal\] | BigDecimal \| null | \*types.Decimal | DECIMAL | null or
Arbitrary precision and scale floating-point number:
represented as unscaledValue x 10 ^ -scale
unscaledValue: Array of int8 (byte array containing the two's-complement binary
representation in big-endian byte-order: the most significant byte is in the zeroth element.)
scale : single int32 for scale | no | -| time | LocalTime | optional\ | HLocalTime? | Optional\[datetime.time\] | LocalTime \| null | \*types.LocalTime | TIME | null or
HH-MI-SS-NN
int8: hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| date | LocalDate | optional\ | HLocalDate? | Optional\[datetime.date\] | LocalDate \| null | \*types.LocalDate | DATE | null or
YYYY-MM-DD from -999999999-01-1 to 999999999-12-31
int32: year
int8: month
int8: dayOfMonth | no(since it is nullable) | -| timestamp | LocalDateTime | optional\ | HLocalDateTime? | Optional\[datetime.datetime\] | LocalDateTime \| null | \*types.LocalDateTime | TIMESTAMP | null or
YYYY-MM-DD-HH-MI-SS-NN
int32: year
int8: month
int8: dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
| no(since it is nullable) | -| timestampWithTimeZone | OffsetDateTime | optional\ | HOffsetDateTime? | Optional\[datetime.datetime\] | OffsetDateTime \| null | \*types.OffsetDateTime | TIMESTAMP W/ TZ | null or
YYYY-MM-DD-HH-MI-SS-MM Zone
int32: year
int8: month
int8:dayOfMonth
int8 : hour
int8: minute
int8: seconds
int32: nanoseconds
int32 : offsetSeconds.
offsetSeconds is range between +/-18:00:00 hour | no(since it is nullable) | -| compact | T | template\ optional\ | T? | Optional\[Any\] | T \| null | interface\{\} | OBJECT | A user defined compact | no | -| boolean\[\] | boolean\[\] | optional\\> | bool\[\]? | Optional\[list\[bool\]\] | boolean\[\] \| null | \[\]bool | | Array of booleans | no | -| int8\[\] | byte\[\] | optional\\> | sbyte\[\]? | Optional\[list\[int\]\] | Buffer \| null | \[\]int8 | | Array of int8s | no | -| int16\[\] | short\[\] | optional\\> | short\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int16 | | Array of int16s | no | -| int32\[\] | int\[\] | optional\\> | int\[\]? | Optional\[list\[int\]\] | number\[\] \| null | \[\]int32 | | Array of int32s | no | -| int64\[\] | long\[\] | optional\\> | long\[\]? | Optional\[list\[int\]\] | Long\[\] \| null | \[\]int64 | | Array of int64s | no | -| float32\[\] | float\[\] | optional\\> | float\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float32 | | Array of float32s | no | -| float64\[\] | double\[\] | optional\\> | double\[\]? | Optional\[list\[float\]\] | number\[\] \| null | \[\]float64 | | Array of float64s | no | -| string\[\] | String\[\] | optional\\>\> | string?\[\]? | Optional\[list\[Optional\[str\]\]\] | (string \| null)\[\] \| null | \[\]\*string | | Array of strings | no | -| decimal\[\] | BigDecimal\[\] | optional\\>\> | HBigDecimal?\[\]? | Optional\[list\[Optional\[decimal.Decimal\]\]\] | (BigDecimal \| null)\[\] \| null | \[\]\*types.Decimal | | Array of Decimals | no | -| time\[\] | LocalTime\[\] | optional\\>\> | HLocalTime?\[\]? | Optional\[list\[Optional\[datetime.time\]\]\] | (LocalTime \| null)\[\] \| null | \[\]\*types.LocalTime | | Array of Times | no | -| date\[\] | LocalDate\[\] | optional\\>\> | HLocalDate?\[\]? | Optional\[list\[Optional\[datetime.date\]\]\] | (LocalDate \| null)\[\] \| null | \[\]\*types.LocalDate | | Array of Dates | no | -| timestamp\[\] | LocalDateTime\[\] | optional\\>\> | HLocalDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (LocalDateTime \| null)\[\] \| null | \[\]\*types.LocalDateTime | | Array of Timestamps | no | -| timestampWithTimeZone\[\] | OffsetDateTime\[\] | optional\\>\> | HOffsetDateTime?\[\]? | Optional\[list\[Optional\[datetime.datetime\]\]\] | (OffsetDateTime \| null)\[\] \| null | \[\]\*types.OffsetDateTime | | Array of TimestampWithTimeZones | no | -| compact\[\] | T\[\] | template\ optional\\>\> | T?\[\]? | Optional\[list\[Optional\[Any\]\]\] | (T \| null)\[\] \| null | \[\]interface\{\} | | Array of compacts | no | -| nullable-boolean | Boolean | optional\ | bool? | Optional\[bool\] | boolean \| null | \*bool | | null or int8 1 for true int8 0 for false | no | -| nullable-int8 | Byte | optional\ | sbyte? | Optional\[int\] | number \| null | \*int8 | | An int8 that can also be null | no | -| nullable-int16 | Short | optional\ | short? | Optional\[int\] | number \| null | \*int16 | | An int16 that can also be null | no | -| nullable-int32 | Integer | optional\ | int? | Optional\[int\] | number \| null | \*int32 | | An int32 that can also be null | no | -| nullable-int64 | Long | optional\ | long? | Optional\[int\] | Long \| null | \*int64 | | An int64 that can also be null | no | -| nullable-float32 | Float | optional\ | float? | Optional\[float\] | number \| null | \*float32 | | A float32 that can also be null | no | -| nullable-float64 | Double | optional\ | double? | Optional\[float\] | number \| null | \*float64 | | A double that can also be null | no | -| nullable-boolean\[\] | Boolean\[\] | optional\\>\> | bool?\[\]? | Optional\[list\[Optional\[bool\]\]\] | (boolean \| null)\[\] \| null | \[\]\*bool | | Array of nullable booleans | no | -| nullable-int8\[\] | Byte\[\] | optional\\>\> | sbyte?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int8 | | Array of nullable int8s | no | -| nullable-int16\[\] | Short\[\] | optional\\>\> | short?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int16 | | Array of nullable i1int6s | no | -| nullable-int32\[\] | Integer\[\] | optional\\>\> | int?\[\]? | Optional\[list\[Optional\[int\]\]\] | (number \| null)\[\] \| null | \[\]\*int32 | | Array of nullable int32s | no | -| nullable-int64\[\] | Long\[\] | optional\\>\> | long?\[\]? | Optional\[list\[Optional\[int\]\]\] | (Long \| null)\[\] \| null | \[\]\*int64 | | Array of nullable int64s | no | -| nullable-float32\[\] | Float\[\] | optional\\>\> | float?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float32 | | Array of nullable float32s | no | -| nullable-float64\[\] | Double\[\] | optional\\>\> | double?\[\]? | Optional\[list\[Optional\[float\]\]\] | (number \| null)\[\] \| null | \[\]\*float64 | | Array of nullable float64 | no | +| `boolean` | `boolean` | `bool` | `bool` | `bool` | `boolean` | `bool` | `BOOLEAN` | Either `true` or `false`, represented by 1 bit as `1` or `0`. Up to 8 booleans are packed into a single byte. | Yes | +| `int8` | `byte` | `int8_t` | `sbyte` | `int` | `number` | `int8` | `TINYINT` | 8-bit two's-complement signed integer. | Yes | +| `int16` | `short` | `int16_t` | `short` | `int` | `number` | `int16` | `SMALLINT` | 16-bit two's-complement signed integer. | Yes | +| `int32` | `int` | `int32_t` | `int` | `int` | `number` | `int32` | `INTEGER` | 32-bit two's-complement signed integer. | Yes | +| `int64` | `long` | `int64_t` | `long` | `int` | `Long` | `int64` | `BIGINT` | 64-bit two's-complement signed integer. | Yes | +| `float32` | `float` | `float` | `float` | `float` | `number` | `float32` | `REAL` | 32-bit IEEE 754 floating-point number. | Yes | +| `float64` | `double` | `double` | `double` | `float` | `number` | `float64` | `DOUBLE` | 64-bit IEEE 754 floating-point number. | Yes | +| `string` | `String` | `optional` | `string?` | `Optional[str]` | `string \| null` | `*string` | `STRING` | Either `null`, or the number of bytes in the string as an `int32`, followed by the [UTF-8](https://tools.ietf.org/html/rfc3629) string. | No | +| `decimal` | `BigDecimal` | `optional` | `HBigDecimal?` | `Optional[decimal.Decimal]` | `BigDecimal \| null` | `*types.Decimal` | `DECIMAL` | Either `null`, or an arbitrary-precision floating-point number represented as `unscaledValue x 10 ^ -scale`. The `unscaledValue` is an array of `int8` that holds the two's-complement binary representation in big-endian byte order, with the most significant byte in the zeroth element. The `scale` is a single `int32`. | No | +| `time` | `LocalTime` | `optional` | `HLocalTime?` | `Optional[datetime.time]` | `LocalTime \| null` | `*types.LocalTime` | `TIME` | Either `null`, or a time as `HH-MI-SS-NN`, stored as `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `date` | `LocalDate` | `optional` | `HLocalDate?` | `Optional[datetime.date]` | `LocalDate \| null` | `*types.LocalDate` | `DATE` | Either `null`, or a date as `YYYY-MM-DD` from `-999999999-01-1` to `999999999-12-31`, stored as `int32: year`, `int8: month`, and `int8: dayOfMonth`. | No (since it is nullable) | +| `timestamp` | `LocalDateTime` | `optional` | `HLocalDateTime?` | `Optional[datetime.datetime]` | `LocalDateTime \| null` | `*types.LocalDateTime` | `TIMESTAMP` | Either `null`, or a date and time as `YYYY-MM-DD-HH-MI-SS-NN`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, and `int32: nanoseconds`. | No (since it is nullable) | +| `timestampWithTimeZone` | `OffsetDateTime` | `optional` | `HOffsetDateTime?` | `Optional[datetime.datetime]` | `OffsetDateTime \| null` | `*types.OffsetDateTime` | `TIMESTAMP WITH TIME ZONE` | Either `null`, or a date and time with a time zone offset as `YYYY-MM-DD-HH-MI-SS-MM Zone`, stored as `int32: year`, `int8: month`, `int8: dayOfMonth`, `int8: hour`, `int8: minute`, `int8: seconds`, `int32: nanoseconds`, and `int32: offsetSeconds`. The offset is in seconds, from `-64800` to `64800` (±18 hours). | No (since it is nullable) | +| `compact` | `T` | `template optional` | `T?` | `Optional[Any]` | `T \| null` | `interface{}` | `OBJECT` | A user-defined compact. | No | +| `boolean[]` | `boolean[]` | `optional>` | `bool[]?` | `Optional[list[bool]]` | `boolean[] \| null` | `[]bool` | | Array of `boolean` values. | No | +| `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values. | No | +| `int16[]` | `short[]` | `optional>` | `short[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int16` | | Array of `int16` values. | No | +| `int32[]` | `int[]` | `optional>` | `int[]?` | `Optional[list[int]]` | `number[] \| null` | `[]int32` | | Array of `int32` values. | No | +| `int64[]` | `long[]` | `optional>` | `long[]?` | `Optional[list[int]]` | `Long[] \| null` | `[]int64` | | Array of `int64` values. | No | +| `float32[]` | `float[]` | `optional>` | `float[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float32` | | Array of `float32` values. | No | +| `float64[]` | `double[]` | `optional>` | `double[]?` | `Optional[list[float]]` | `number[] \| null` | `[]float64` | | Array of `float64` values. | No | +| `string[]` | `String[]` | `optional>>` | `string?[]?` | `Optional[list[Optional[str]]]` | `(string \| null)[] \| null` | `[]*string` | | Array of `string` values. | No | +| `decimal[]` | `BigDecimal[]` | `optional>>` | `HBigDecimal?[]?` | `Optional[list[Optional[decimal.Decimal]]]` | `(BigDecimal \| null)[] \| null` | `[]*types.Decimal` | | Array of `decimal` values. | No | +| `time[]` | `LocalTime[]` | `optional>>` | `HLocalTime?[]?` | `Optional[list[Optional[datetime.time]]]` | `(LocalTime \| null)[] \| null` | `[]*types.LocalTime` | | Array of `time` values. | No | +| `date[]` | `LocalDate[]` | `optional>>` | `HLocalDate?[]?` | `Optional[list[Optional[datetime.date]]]` | `(LocalDate \| null)[] \| null` | `[]*types.LocalDate` | | Array of `date` values. | No | +| `timestamp[]` | `LocalDateTime[]` | `optional>>` | `HLocalDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(LocalDateTime \| null)[] \| null` | `[]*types.LocalDateTime` | | Array of `timestamp` values. | No | +| `timestampWithTimeZone[]` | `OffsetDateTime[]` | `optional>>` | `HOffsetDateTime?[]?` | `Optional[list[Optional[datetime.datetime]]]` | `(OffsetDateTime \| null)[] \| null` | `[]*types.OffsetDateTime` | | Array of `timestampWithTimeZone` values. | No | +| `compact[]` | `T[]` | `template optional>>` | `T?[]?` | `Optional[list[Optional[Any]]]` | `(T \| null)[] \| null` | `[]interface{}` | | Array of `compact` values. | No | +| `nullable-boolean` | `Boolean` | `optional` | `bool?` | `Optional[bool]` | `boolean \| null` | `*bool` | | Either `null`, or `int8` `1` for `true` and `int8` `0` for `false`. | No | +| `nullable-int8` | `Byte` | `optional` | `sbyte?` | `Optional[int]` | `number \| null` | `*int8` | | An `int8` that can also be `null`. | No | +| `nullable-int16` | `Short` | `optional` | `short?` | `Optional[int]` | `number \| null` | `*int16` | | An `int16` that can also be `null`. | No | +| `nullable-int32` | `Integer` | `optional` | `int?` | `Optional[int]` | `number \| null` | `*int32` | | An `int32` that can also be `null`. | No | +| `nullable-int64` | `Long` | `optional` | `long?` | `Optional[int]` | `Long \| null` | `*int64` | | An `int64` that can also be `null`. | No | +| `nullable-float32` | `Float` | `optional` | `float?` | `Optional[float]` | `number \| null` | `*float32` | | A `float32` that can also be `null`. | No | +| `nullable-float64` | `Double` | `optional` | `double?` | `Optional[float]` | `number \| null` | `*float64` | | A `float64` that can also be `null`. | No | +| `nullable-boolean[]` | `Boolean[]` | `optional>>` | `bool?[]?` | `Optional[list[Optional[bool]]]` | `(boolean \| null)[] \| null` | `[]*bool` | | Array of nullable `boolean` values. | No | +| `nullable-int8[]` | `Byte[]` | `optional>>` | `sbyte?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int8` | | Array of nullable `int8` values. | No | +| `nullable-int16[]` | `Short[]` | `optional>>` | `short?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int16` | | Array of nullable `int16` values. | No | +| `nullable-int32[]` | `Integer[]` | `optional>>` | `int?[]?` | `Optional[list[Optional[int]]]` | `(number \| null)[] \| null` | `[]*int32` | | Array of nullable `int32` values. | No | +| `nullable-int64[]` | `Long[]` | `optional>>` | `long?[]?` | `Optional[list[Optional[int]]]` | `(Long \| null)[] \| null` | `[]*int64` | | Array of nullable `int64` values. | No | +| `nullable-float32[]` | `Float[]` | `optional>>` | `float?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float32` | | Array of nullable `float32` values. | No | +| `nullable-float64[]` | `Double[]` | `optional>>` | `double?[]?` | `Optional[list[Optional[float]]]` | `(number \| null)[] \| null` | `[]*float64` | | Array of nullable `float64` values. | No | + +
+
### Type IDs @@ -87,30 +93,10 @@ Nullable primitives are implemented as variable-sized types. The `null` values o The partition hash and the type ID are common for all serialization methods supported by Hazelcast, including Compact Serialization. Every serialized object has a header and the payload on the wire. - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Partition hashi32`BIG_ENDIAN` integer, used for key objects. Not applicable to value objects.
Type IDi32`BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact.
+| Name | Type | Description | +| --- | --- | --- | +| Partition hash | i32 | `BIG_ENDIAN` integer, used for key objects. Not applicable to value objects. | +| Type ID | i32 | `BIG_ENDIAN` integer that determines the serializer to be used. -55 for compact. | ## Var-size Objects @@ -118,90 +104,26 @@ Var-size objects are user-defined objects whose binary representation consists o ### Header {/* #header-2 */} - ----- - - - - - - - - - - - - - - - - - -
NameTypeDescription
Schema IDi64Schema Hash.
Data lengthi32Length of the Data Section.
+| Name | Type | Description | +| --- | --- | --- | +| Schema ID | i64 | Schema Hash. | +| Data length | i32 | Length of the Data Section. | ### Data - ---- - - - - - - - - - - - - - - -
NameDescription
Fixed-size FieldsFixed-size field offsets are deduced from the [schema](#schema).
Variable-size Fields
+| Name | Description | +| --- | --- | +| Fixed-size Fields | Fixed-size field offsets are deduced from the [schema](#schema). | +| Variable-size Fields | | ### Offsets - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
Variable-Size FieldOffset index 0u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
Variable-Size FieldOffset index 1u8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
…​…​
Variable-Size FieldOffset index nu8/u16/i32The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null
+| Name | Type | Description | +| --- | --- | --- | +| Variable-Size FieldOffset index 0 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| Variable-Size FieldOffset index 1 | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | +| …​ | …​ | | +| Variable-Size FieldOffset index n | u8/u16/i32 | The index of a field offset is written in the schema. Offsets of variable length fields. -1 for null | **Note**: If the composed data does not include any variable-size field in the schema, `Variable-Size FieldOffset` and `DataLength` will not exist on the wire. Similarly, if there is no fixed-size field in the schema, `Fixed-Size Fields` will not exist on the wire. @@ -244,54 +166,17 @@ Based on the length of the serialized data, the offsets of the variable-size fie ## Schema - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameType
type namestring
number of fieldsi32
name of field 0string
type ID of field 0i32
name of field 1string
type ID of field 1i32
…​…​
name of field nstring
type ID of field ni32
+| Name | Type | +| --- | --- | +| type name | string | +| number of fields | i32 | +| name of field 0 | string | +| type ID of field 0 | i32 | +| name of field 1 | string | +| type ID of field 1 | i32 | +| …​ | …​ | +| name of field n | string | +| type ID of field n | i32 | A schema keeps the type name of the Compact type and some fields. A schema represents the structure of a Compact serialized data and allows reading the data. The type name is used to differentiate the user types which have the same number of fields with the same types. @@ -364,88 +249,28 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. ### Header {/* #header-3 */} - ---- - - - - - - - - - - - - - - -
NameType
Data lengthi32
Number of itemsi32
+| Name | Type | +| --- | --- | +| Data length | i32 | +| Number of items | i32 | ### Data {/* #data-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0item type
Item 1item type
…​…​
Item nitem type
+| Name | Type | +| --- | --- | +| Item 0 | item type | +| Item 1 | item type | +| …​ | …​ | +| Item n | item type | ### Offsets {/* #offsets-2 */} - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
Item 0 offsetu8/u16/i32
Item 1 offsetu8/u16/i32
…​…​
Item n offsetu8/u16/i32
+| Name | Type | +| --- | --- | +| Item 0 offset | u8/u16/i32 | +| Item 1 offset | u8/u16/i32 | +| …​ | …​ | +| Item n offset | u8/u16/i32 |
diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/overview.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/overview.mdx index 6e465041..e6c2a7ae 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/overview.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/serialization/compact-serialization/overview.mdx @@ -537,50 +537,56 @@ Hazelcast uses the `write` method of the `CompactSerializer` to generate a schem Compact serialization supports the following list as first class types. Any other type can be implemented on top of these, by using these types as building blocks. +
+
+ | Type | Java | .NET | C++ | Node.js | Python | Go | Description | | --- | --- | --- | --- | --- | --- | --- | --- | -| BOOLEAN | boolean | bool | bool | boolean | bool | bool | True or false represented by a single bit as either 1 or 0. Up to eight booleans are packed into a single byte. | -| ARRAY\_OF\_BOOLEAN | boolean\[\] | bool\[\] | boost::optional\\> | boolean\[\] \| null | Optional\[list\[bool\]\] | \[\]bool | Array of booleans or null. Up to eight boolean array items are packed into a single byte. | -| NULLABLE\_BOOLEAN | Boolean | bool? | boost::optional\ | boolean \| null | Optional\[bool\] | \*bool | A boolean that can also be null. | -| ARRAY\_OF\_NULLABLE\_BOOLEAN | Boolean\[\] | bool?\[\] | boost::optional\\>\> | (boolean \| null)\[\] \| null | Optional\[list\[Optional\[bool\]\]\] | \[\]\*bool | Array of nullable booleans or null. | -| INT8 | byte | sbyte | int8\_t | number | int | int8 | 8-bit two's complement signed integer. | -| ARRAY\_OF\_INT8 | byte\[\] | sbyte\[\] | boost::optional\\> | Buffer \| null | Optional\[list\[int\]\] | \[\]int8 | Array of int8s or null. | -| NULLABLE\_INT8 | Byte | sbyte? | boost::optional\ | number \| null | Optional\[int\] | \*int8 | An int8 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT8 | Byte\[\] | sbyte?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int8 | Array of nullable int8s or null. | -| INT16 | short | short | int16\_t | number | int | int16 | 16-bit two's complement signed integer. | -| ARRAY\_OF\_INT16 | short\[\] | short\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int16 | Array of int16s or null. | -| NULLABLE\_INT16 | Short | short? | boost::optional\ | number \| null | Optional\[int\] | \*int16 | An int16 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT16 | Short\[\] | short?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int16 | Array of nullable int16s or null. | -| INT32 | int | int | int32\_t | number | int | int32 | 32-bit two's complement signed integer. | -| ARRAY\_OF\_INT32 | int\[\] | int\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[int\]\] | \[\]int32 | Array of int32s or null. | -| NULLABLE\_INT32 | Integer | int? | boost::optional\ | number \| null | Optional\[int\] | \*int32 | An int32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT32 | Integer\[\] | int?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int32 | Array of nullable int32s or null. | -| INT64 | long | long | int64\_t | Long | int | int64 | 64-bit two's complement signed integer. | -| ARRAY\_OF\_INT64 | long\[\] | long\[\] | boost::optional\\> | Long\[\] \| null | Optional\[list\[int\]\] | \[\]int64 | Array of int64s or null. | -| NULLABLE\_INT64 | Long | long? | boost::optional\ | Long \| null | Optional\[int\] | \*int64 | An int64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_INT64 | Long\[\] | long?\[\] | boost::optional\\>\> | (Long \| null)\[\] \| null | Optional\[list\[Optional\[int\]\]\] | \[\]\*int64 | Array of nullable int64s or null. | -| FLOAT32 | float | float | float | number | float | float32 | 32-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT32 | float\[\] | float\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float32 | Array of float32s or null. | -| NULLABLE\_FLOAT32 | Float | float? | boost::optional\ | number \| null | Optional\[float\] | \*float32 | A float32 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT32 | Float\[\] | float?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float32 | Array of nullable float32s or null. | -| FLOAT64 | double | double | double | number | float | float64 | 64-bit IEEE 754 floating point number. | -| ARRAY\_OF\_FLOAT64 | double\[\] | double\[\] | boost::optional\\> | number\[\] \| null | Optional\[list\[float\]\] | \[\]float64 | Array of float64s or null. | -| NULLABLE\_FLOAT64 | Double | double? | boost::optional\ | number \| null | Optional\[float\] | \*float64 | A float64 that can also be null. | -| ARRAY\_OF\_NULLABLE\_FLOAT64 | Double\[\] | double?\[\] | boost::optional\\>\> | (number \| null)\[\] \| null | Optional\[list\[Optional\[float\]\]\] | \[\]\*float64 | Array of nullable float64s or null. | -| STRING | String | string | std::string | string \| null | Optional\[str\] | \*string | A UTF-8 encoded string or null. | -| ARRAY\_OF\_STRING | String\[\] | string\[\] | boost::optional\\> | (string \| null)\[\] \| null | Optional\[list\[Optional\[str\]\]\] | \[\]\*string | Array of strings or null. | -| DECIMAL | BigDecimal | HBigDecimal | boost::optional\ | BigDecimal \| null | Optional\[decimal.Decimal\] | \*types.Decimal | Arbitrary precision and scale floating point number or null. | -| ARRAY\_OF\_DECIMAL | BigDecimal\[\] | HBigDecimal\[\] | boost::optional\\>\> | (BigDecimal \| null)\[\] \| null | Optional\[list\[decimal.Decimal\]\] | \[\]\*types.Decimal | Array of decimals or null. | -| TIME | LocalTime | HLocalTime | boost::optional\ | LocalTime \| null | Optional\[datetime.time\] | \*types.LocalTime | Time consisting of hours, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIME | LocalTime\[\] | HLocalTime\[\] | boost::optional\\>\> | (LocalTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.time\]\]\] | \[\]\*types.LocalTime | Array of times or null. | -| DATE | LocalDate | HLocalDate | boost::optional\ | LocalDate \| null | Optional\[datetime.date\] | \*types.LocalDate | Date consisting of year, month, and day of the month or null. | -| ARRAY\_OF\_DATE | LocalDate\[\] | HLocalDate\[\] | boost::optional\\>\> | (LocalDate \| null)\[\] \| null | Optional\[list\[Optional\[datetime.date\]\]\] | \[\]\*types.LocalDate | Array of dates or null. | -| TIMESTAMP | LocalDateTime | HLocalDateTime | boost::optional\ | LocalDateTime \| null | Optional\[datetime.datetime\] | \*types.LocalDateTime | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or null. | -| ARRAY\_OF\_TIMESTAMP | LocalDateTime\[\] | HLocalDateTime\[\] | boost::optional\\>\> | (LocalDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.LocalDateTime | Array of timestamps or null. | -| TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime | HOffsetDateTime | boost::optional\ | OffsetDateTime \| null | Optional\[datetime.datetime\] | \*types.OffsetDateTime | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or null. | -| ARRAY\_OF\_TIMESTAMP\_WITH\_TIMEZONE | OffsetDateTime\[\] | HOffsetDateTime\[\] | boost::optional\\>\> | (OffsetDateTime \| null)\[\] \| null | Optional\[list\[Optional\[datetime.datetime\]\]\] | \[\]\*types.OffsetDateTime | Array of timestamp with timezones or null. | -| COMPACT | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | any | A user defined nested Compact serializable object or null. | -| ARRAY\_OF\_COMPACT | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | \[\]any | Array of user defined Compact serializable objects or null. | +| `BOOLEAN` | `boolean` | `bool` | `bool` | `boolean` | `bool` | `bool` | Either `true` or `false`, represented by a single bit as `1` or `0`. Up to eight booleans are packed into a single byte. | +| `ARRAY_OF_BOOLEAN` | `boolean[]` | `bool[]` | `boost::optional>` | `boolean[] \| null` | `Optional[list[bool]]` | `[]bool` | Array of booleans or `null`. Up to eight boolean array items are packed into a single byte. | +| `NULLABLE_BOOLEAN` | `Boolean` | `bool?` | `boost::optional` | `boolean \| null` | `Optional[bool]` | `*bool` | A boolean that can also be `null`. | +| `ARRAY_OF_NULLABLE_BOOLEAN` | `Boolean[]` | `bool?[]` | `boost::optional>>` | `(boolean \| null)[] \| null` | `Optional[list[Optional[bool]]]` | `[]*bool` | Array of nullable booleans or `null`. | +| `INT8` | `byte` | `sbyte` | `int8_t` | `number` | `int` | `int8` | 8-bit two's complement signed integer. | +| `ARRAY_OF_INT8` | `byte[]` | `sbyte[]` | `boost::optional>` | `Buffer \| null` | `Optional[list[int]]` | `[]int8` | Array of `int8` values or `null`. | +| `NULLABLE_INT8` | `Byte` | `sbyte?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int8` | An `int8` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT8` | `Byte[]` | `sbyte?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int8` | Array of nullable `int8` values or `null`. | +| `INT16` | `short` | `short` | `int16_t` | `number` | `int` | `int16` | 16-bit two's complement signed integer. | +| `ARRAY_OF_INT16` | `short[]` | `short[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int16` | Array of `int16` values or `null`. | +| `NULLABLE_INT16` | `Short` | `short?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int16` | An `int16` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT16` | `Short[]` | `short?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int16` | Array of nullable `int16` values or `null`. | +| `INT32` | `int` | `int` | `int32_t` | `number` | `int` | `int32` | 32-bit two's complement signed integer. | +| `ARRAY_OF_INT32` | `int[]` | `int[]` | `boost::optional>` | `number[] \| null` | `Optional[list[int]]` | `[]int32` | Array of `int32` values or `null`. | +| `NULLABLE_INT32` | `Integer` | `int?` | `boost::optional` | `number \| null` | `Optional[int]` | `*int32` | An `int32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT32` | `Integer[]` | `int?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int32` | Array of nullable `int32` values or `null`. | +| `INT64` | `long` | `long` | `int64_t` | `Long` | `int` | `int64` | 64-bit two's complement signed integer. | +| `ARRAY_OF_INT64` | `long[]` | `long[]` | `boost::optional>` | `Long[] \| null` | `Optional[list[int]]` | `[]int64` | Array of `int64` values or `null`. | +| `NULLABLE_INT64` | `Long` | `long?` | `boost::optional` | `Long \| null` | `Optional[int]` | `*int64` | An `int64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_INT64` | `Long[]` | `long?[]` | `boost::optional>>` | `(Long \| null)[] \| null` | `Optional[list[Optional[int]]]` | `[]*int64` | Array of nullable `int64` values or `null`. | +| `FLOAT32` | `float` | `float` | `float` | `number` | `float` | `float32` | 32-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT32` | `float[]` | `float[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float32` | Array of `float32` values or `null`. | +| `NULLABLE_FLOAT32` | `Float` | `float?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float32` | A `float32` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT32` | `Float[]` | `float?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float32` | Array of nullable `float32` values or `null`. | +| `FLOAT64` | `double` | `double` | `double` | `number` | `float` | `float64` | 64-bit IEEE 754 floating point number. | +| `ARRAY_OF_FLOAT64` | `double[]` | `double[]` | `boost::optional>` | `number[] \| null` | `Optional[list[float]]` | `[]float64` | Array of `float64` values or `null`. | +| `NULLABLE_FLOAT64` | `Double` | `double?` | `boost::optional` | `number \| null` | `Optional[float]` | `*float64` | A `float64` that can also be `null`. | +| `ARRAY_OF_NULLABLE_FLOAT64` | `Double[]` | `double?[]` | `boost::optional>>` | `(number \| null)[] \| null` | `Optional[list[Optional[float]]]` | `[]*float64` | Array of nullable `float64` values or `null`. | +| `STRING` | `String` | `string` | `std::string` | `string \| null` | `Optional[str]` | `*string` | A UTF-8 encoded string or `null`. | +| `ARRAY_OF_STRING` | `String[]` | `string[]` | `boost::optional>` | `(string \| null)[] \| null` | `Optional[list[Optional[str]]]` | `[]*string` | Array of strings or `null`. | +| `DECIMAL` | `BigDecimal` | `HBigDecimal` | `boost::optional` | `BigDecimal \| null` | `Optional[decimal.Decimal]` | `*types.Decimal` | Arbitrary precision and scale floating point number or `null`. | +| `ARRAY_OF_DECIMAL` | `BigDecimal[]` | `HBigDecimal[]` | `boost::optional>>` | `(BigDecimal \| null)[] \| null` | `Optional[list[decimal.Decimal]]` | `[]*types.Decimal` | Array of decimals or `null`. | +| `TIME` | `LocalTime` | `HLocalTime` | `boost::optional` | `LocalTime \| null` | `Optional[datetime.time]` | `*types.LocalTime` | Time consisting of hours, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIME` | `LocalTime[]` | `HLocalTime[]` | `boost::optional>>` | `(LocalTime \| null)[] \| null` | `Optional[list[Optional[datetime.time]]]` | `[]*types.LocalTime` | Array of times or `null`. | +| `DATE` | `LocalDate` | `HLocalDate` | `boost::optional` | `LocalDate \| null` | `Optional[datetime.date]` | `*types.LocalDate` | Date consisting of year, month, and day of the month or `null`. | +| `ARRAY_OF_DATE` | `LocalDate[]` | `HLocalDate[]` | `boost::optional>>` | `(LocalDate \| null)[] \| null` | `Optional[list[Optional[datetime.date]]]` | `[]*types.LocalDate` | Array of dates or `null`. | +| `TIMESTAMP` | `LocalDateTime` | `HLocalDateTime` | `boost::optional` | `LocalDateTime \| null` | `Optional[datetime.datetime]` | `*types.LocalDateTime` | Timestamp consisting of year, month, day of the month, hour, minutes, seconds, and nanoseconds or `null`. | +| `ARRAY_OF_TIMESTAMP` | `LocalDateTime[]` | `HLocalDateTime[]` | `boost::optional>>` | `(LocalDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.LocalDateTime` | Array of timestamps or `null`. | +| `TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime` | `HOffsetDateTime` | `boost::optional` | `OffsetDateTime \| null` | `Optional[datetime.datetime]` | `*types.OffsetDateTime` | Timestamp with timezone consisting of year, month, day of the month, hour, minutes, seconds, nanoseconds, and offset seconds or `null`. | +| `ARRAY_OF_TIMESTAMP_WITH_TIMEZONE` | `OffsetDateTime[]` | `HOffsetDateTime[]` | `boost::optional>>` | `(OffsetDateTime \| null)[] \| null` | `Optional[list[Optional[datetime.datetime]]]` | `[]*types.OffsetDateTime` | Array of timestamp with timezones or `null`. | +| `COMPACT` | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | Can be any user type. | `any` | A user defined nested Compact serializable object or `null`. | +| `ARRAY_OF_COMPACT` | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | Can be an array of any user type. | `[]any` | Array of user defined Compact serializable objects or `null`. | + +
+
:::note diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/functions-and-operators.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/functions-and-operators.mdx index aeca47b9..46cb2a56 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/functions-and-operators.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/functions-and-operators.mdx @@ -308,6 +308,14 @@ Conversion functions allow you to convert the result type of one expression to a + + +Function +Description +Example +Result + + `TO_CHAR(expression [, format model] [, NLS parameter])` diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx index 56508754..30588c37 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx @@ -70,26 +70,10 @@ IMap The SQL service has access to the `Employee` object's fields. - ---- - - - - - - - - - - - - - - -
NameType
`name``VARCHAR`
`age``INT`
+| Name | Type | +| --- | --- | +| `name` | `VARCHAR` | +| `age` | `INT` | Together with the key, you may query those fields. @@ -110,30 +94,11 @@ If you use Java, you can use the following options to query enums: For example, consider a map whose values are `Employee` objects with the following fields. - ---- - - - - - - - - - - - - - - - - - - -
NameType
`name``String`
`age``Int`
`status``EmployeeStatus`
+| Name | Type | +| --- | --- | +| `name` | `String` | +| `age` | `Int` | +| `status` | `EmployeeStatus` | And the `status` field is an enum called `EmployeeStatus`. diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx index 3d7bb555..96f00aac 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/sql-over-mongodb/mapping-to-mongo.mdx @@ -243,11 +243,13 @@ There are some options that can be added only in `CREATE MAPPING`: - + -Name -Description +Name +Description + + `startAt` diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/delete.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/delete.mdx index e40e5889..00797f5c 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/delete.mdx @@ -44,34 +44,12 @@ Currently, only `IMap` mappings support deleting rows. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``STRING`
`department``STRING`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `STRING` | +| `department` | `STRING` | You can delete the entries based on the `age` field where the age is less than 18: diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/update.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/update.mdx index 7f3cb6a4..f38ae02f 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/update.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/update.mdx @@ -44,34 +44,12 @@ You can overwrite the values in columns by name, using the `SET` clause. For example, in a map that contains `Employee` objects as values with the following structure: - ---- - - - - - - - - - - - - - - - - - - - - - - -
NameType
`startDate``INT`
`amount``INT`
`title``VARCHAR`
`department``VARCHAR`
+| Name | Type | +| --- | --- | +| `startDate` | `INT` | +| `amount` | `INT` | +| `title` | `VARCHAR` | +| `department` | `VARCHAR` | You can update the values of the `Employee.department` field: diff --git a/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx b/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx index 033b948c..be3c08cf 100644 --- a/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx +++ b/hazelcast_versioned_docs/version-5.7/install-and-upgrade/upgrade/upgrading-from-imdg-3.mdx @@ -96,11 +96,13 @@ See the following table for the before/after configuration samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Adding Near Cache @@ -202,11 +204,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -326,11 +330,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Programmatic Configuration @@ -408,11 +414,13 @@ Also, some custom query attribute classes were previously abstract classes with - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing `ValueExtractor` @@ -461,11 +469,13 @@ See the following table for the before(MapReduce)/after(Hazelcast Jet) word coun - + -***3.12.x (MapReduce)*** -***5.0 (Jet Engine)*** +3.12.x (MapReduce) +5.0 (Jet Engine) + + Word Count Sample @@ -539,11 +549,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Implementing a Migration Listener @@ -602,11 +614,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -674,11 +688,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -727,11 +743,13 @@ See the following table for the before/after sample configurations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -778,11 +796,13 @@ See the following table for the before/after sample - - - - - - - -Option Name -Default Value -Description - - -`roleAttribute` -`cn` -Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. - - - +| Option Name | Default Value | Description | +| --- | --- | --- | +| `roleAttribute` | `cn` | Name of an attribute in client certificate's distinguished name (DN), where the attribute value is used as a Role name. | diff --git a/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx index b513c705..2b9109c1 100644 --- a/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx +++ b/hazelcast_versioned_docs/version-5.7/reference/list-of-metrics.mdx @@ -307,13 +307,15 @@ The Reset column shows the reset behavior of the metrics. There are two types of - + -Name -Unit -Description -Reset +Name +Unit +Description +Reset + + `map.backupCount` count @@ -658,12 +660,14 @@ The above `*latency` metrics are only measured for the members and they do not r - + -Name -Unit -Description +Name +Unit +Description + + `vectorCollection.backupCount` count @@ -911,397 +915,675 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` +| Name | Unit | Description | +| --- | --- | --- | +| `multiMap.backupCount` | count | Number of backups per entry | +| `multiMap.backupEntryCount` | count | Number of backup entries held by the member | +| `multiMap.creationTime` | ms | Creation time of the multimap in the member | +| `multiMap.dirtyEntryCount` | count | Number of dirty (updated but not persisted yet) entries that the member owns | +| `multiMap.entrySetCount` | count | Number of entry set operations on this member | +| `multiMap.evictionCount` | count | Number of evictions completed on locally owned entries, backups are not included | +| `multiMap.expirationCount` | count | Number of expirations completed on locally owned entries, backups are not included | +| `multiMap.getCount` | count | Number of local get operations on the multimap | +| `multiMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `multiMap.indexedQueryCount` | count | Total number of indexed local queries performed on the multimap | +| `multiMap.indexesSkippedQueryCount` | count | Total number of local queries performed on the multimap which cannot use indexes | +| `multiMap.noMatchingIndexQueryCount` | count | Total number of local queries performed on the multimap which had no matching index | +| `multiMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `multiMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `multiMap.lockedEntryCount` | count | Number of locked entries that the member owns | +| `multiMap.merkleTreesCost` | count | Heap cost of the Merkle trees | +| `multiMap.numberOfEvents` | count | Number of local events received | +| `multiMap.numberOfOtherOperations` | count | Total number of other operations | +| `multiMap.ownedEntryCount` | count | Number of multimap entries owned by the member | +| `multiMap.putCount` | count | Number of local put operations on the multimap | +| `multiMap.queryCount` | count | Number of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage) | +| `multiMap.queryLimiterHitCount` | count | Number of times the query result size limiter was hit on this member | +| `multiMap.removeCount` | count | Number of local remove operations on the multimap | +| `multiMap.setCount` | count | Number of local set operations on the multimap | +| `multiMap.totalGetLatency` | ms | Total latency of local get operations | +| `multiMap.totalMaxGetLatency` | ms | Maximum latency of local get operations | +| `multiMap.totalMaxPutLatency` | ms | Maximum latency of local put operations | +| `multiMap.totalMaxRemoveLatency` | ms | Maximum latency of local remove operations | +| `multiMap.totalMaxSetLatency` | ms | Maximum latency of local set operations | +| `multiMap.totalPutLatency` | ms | Total latency of local put operations | +| `multiMap.totalRemoveLatency` | ms | Total latency of local remove operations | +| `multiMap.totalSetLatency` | ms | Total latency of local set operations | +| `multiMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Replicated Map + +| Name | Unit | Description | +| --- | --- | --- | +| `replicatedMap.creationTime` | ms | Creation time of this replicated map on this member | +| `replicatedMap.entrySetCount` | count | Number of entry set operations on this member | +| `replicatedMap.getCount` | count | Number of get operations on this member | +| `replicatedMap.hits` | count | Number of hits (reads) of the locally owned entries | +| `replicatedMap.lastAccessTime` | ms | Last access (read) time of the locally owned entries | +| `replicatedMap.lastUpdateTime` | ms | Last update time of the locally owned entries | +| `replicatedMap.maxGetLatency` | ms | Maximum latency of get operations | +| `replicatedMap.maxPutLatency` | ms | Maximum latency of put operations | +| `replicatedMap.maxRemoveLatency` | ms | Maximum latency of remove operations | +| `replicatedMap.numberOfEvents` | count | Number of events received on this member | +| `replicatedMap.numberOfOtherOperations` | count | Total number of other operations on this member | +| `replicatedMap.ownedEntryCount` | count | Number of entries owned on this member | +| `replicatedMap.ownedEntryMemoryCost` | bytes | Memory cost of owned entries on this member | +| `replicatedMap.putCount` | count | Number of put operations on this member | +| `replicatedMap.removeCount` | count | Number of remove operations on this member | +| `replicatedMap.totalGetLatencies` | ms | Total latency of get operations | +| `replicatedMap.totalPutLatencies` | ms | Total latency of put operations | +| `replicatedMap.totalRemoveLatencies` | ms | Total latency of remove operations | +| `replicatedMap.total` | count | Total number of operations on this member | +| `replicatedMap.valuesCount` | count | Number of values operations on this member | + +
+ +
+Cache + +| Name | Unit | Description | +| --- | --- | --- | +| `cache.averageGetTime` | µs | Mean time to execute gets on the cache | +| `cache.averagePutTime` | µs | Mean time to execute puts on the cache | +| `cache.averageRemovalTime` | µs | Mean time to execute removes on the cache | +| `cache.cacheEvictions` | count | Number of evictions on the cache | +| `cache.cacheGets` | count | Number of gets on the cache | +| `cache.cacheHits` | count | Number of successful get operations, hits, on the cache | +| `cache.cacheHitPercentage` | percent | Percentage of successful get operations, hits, out of all get operations on the cache | +| `cache.cachePuts` | count | Number of puts to the cache | +| `cache.cacheRemovals` | count | Number of removals from the cache | +| `cache.cacheMisses` | count | Number of missed cache accesses on the cache | +| `cache.cacheMissPercentage` | percent | Percentage of missed cache accesses out of all the cache accesses/access attempts | +| `cache.creationTime` | ms | Creation time of the cache on the member | +| `cache.lastAccessTime` | ms | Cache's last access time | +| `cache.lastUpdateTime` | ms | Cache's last update time | +| `cache.ownedEntryCount` | count | Locally owned entry count in the cache | + +
+ +
+Queue + +| Name | Unit | Description | +| --- | --- | --- | +| `queue.averageAge` | ms | Average age of the items in this member | +| `queue.backupItemCount` | count | Number of backup items held by the member | +| `queue.creationTime` | ms | Creation time of the topic on the member | +| `queue.eventOperationCount` | count | Number of event operations | +| `queue.maxAge` | ms | Maximum age of the items in this member | +| `queue.minAge` | ms | Minimum age of the items in this member | +| `queue.numberOfEmptyPolls` | count | Number of null returning poll operations | +| `queue.numberOfEvents` | count | Number of event operations (duplicate of eventOperationCount) | +| `queue.numberOfOffers` | count | Number of offer/put/add operations | +| `queue.numberOfOtherOperations` | count | Number of other operations | +| `queue.numberOfPolls` | count | Number of poll/take/remove operations. | +| `queue.numberOfRejectedOffers` | count | Number of rejected offers | +| `queue.ownedItemCount` | count | Number of owned items in this member | +| `queue.total` | count | Total number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations) | + +
+ +
+Set + +| Name | Unit | Description | +| --- | --- | --- | +| `set.creationTime` | ms | Creation time of the set on the member | +| `set.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `set.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+List + +| Name | Unit | Description | +| --- | --- | --- | +| `list.creationTime` | ms | Creation time of this list on the member | +| `list.lastAccessTime` | ms | Last access (read) time of the locally owned items | +| `list.lastUpdateTime` | ms | Last update time of the locally owned items | + +
+ +
+Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `topic.creationTime` | ms | Creation time of the topic on the member | +| `topic.totalPublishes` | count | Total number of published messages of this topic on this member | +| `topic.totalReceivedMessages` | count | Total number of received messages of this topic on this member | + +
+ +
+Reliable Topic + +| Name | Unit | Description | +| --- | --- | --- | +| `reliableTopic.creationTime` | ms | Creation time of this reliable topic on the member | +| `reliableTopic.totalPublishes` | count | Total number of published messages of this reliable topic on this member | +| `reliableTopic.totalReceivedMessages` | count | Total number of received messages of this reliable topic on this member | + +
+ +
+Flake ID Generator + +| Name | Unit | Description | +| --- | --- | --- | +| `flakeIdGenerator.batchCount` | count | Total number of times the Flake ID generator has been used to generate a new ID batch | +| `flakeIdGenerator.creationTime` | ms | Creation time of this Flake ID Generator on the member | +| `flakeIdGenerator.idCount` | count | Total number of IDs generated (the sum of IDs for all batches) | + +
+ +
+PN Counter + +| Name | Unit | Description | +| --- | --- | --- | +| `pnCounter.creationTime` | ms | Creation time of the PN counter on the member | +| `pnCounter.totalDecrementOperationCount` | count | Number of subtract (including decrement) operations on this PN counter | +| `pnCounter.totalIncrementOperationCount` | count | Number of add (including increment) operations on this PN counter | +| `pnCounter.value` | count | Current value of the PN counter | + +
+ +
+Executor Service + +| Name | Unit | Description | +| --- | --- | --- | +| `executor.cancelled` | count | Number of cancelled operations on the executor service | +| `executor.completed` | count | Number of completed operations on the executor service | +| `executor.creationTime` | ms | Creation time of this executor on the member | +| `executor.pending` | count | Number of pending operations on the executor service | +| `executor.started` | count | Number of started operations on the executor service | +| `executor.totalExecutionTime` | ms | Total execution time of the finished operations | +| `executor.totalStartLatency` | ms | Total start latency of operations started | +| `executor.internal.completedTasks` | count | Number of completed tasks by this executor | +| `executor.internal.maximumPoolSize` | count | Maximum number of threads in the executor's thread pool | +| `executor.internal.poolSize` | count | Number of threads in the executor's thread pool | +| `executor.internal.queueSize` | count | Number of pending tasks in this executor's task queue | +| `executor.internal.remainingQueueCapacity` | count | Remaining capacity on the executor's task queue | + +
+ +
+User Code Deployment + +| Name | Unit | Description | +| --- | --- | --- | +| `classloading.loadedClassesCount` | count | Number of classes that are currently loaded | +| `classloading.totalLoadedClassesCount` | count | Total number of classes that have been loaded since the instance has started execution. | +| `classloading.unloadedClassesCount` | count | Total number of unloaded classes. | + +
+ +
+Cluster + +| Name | Unit | Description | +| --- | --- | --- | +| `cluster.clock.clusterStartTime` | ms | Start time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime) | +| `cluster.clock.clusterTime` | ms | Elapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.clusterTimeDiff` | ms | Difference between the local time (`cluster.clock.localClockTime`) of the local member and the master member | +| `cluster.clock.clusterUpTime` | ms | Uptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime)) | +| `cluster.clock.localClockTime` | ms | Member's local clock timestamp | +| `cluster.clock.maxClusterTimeDiff` | ms | Maximum observed cluster time difference | +| `cluster.connection.closedTime` | count | Connection close time for this connection | +| `cluster.connection.connectionId` | count | Connection ID for this client connection | +| `cluster.connection.eventHandlerCount` | count | Number of event handlers for this client connection | +| `cluster.heartbeat.lastHeartbeat` | ms | Last time that this member sent a heartbeat to other known cluster members | +| `cluster.size` | count | Number of members in the cluster | + +
+ +
+Clients + +Scope: member-side only. These metrics describe clients connected to the local member. + +| Name | Unit | Description | +| --- | --- | --- | +| `client.endpoint.count` | count | Number of active client endpoints for this member | +| `client.endpoint.totalRegistrations` | count | Total number of client endpoint registrations | + +
+ +
+Client Invocations + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `invocations.maxCurrentInvocations` | count | Maximum number of concurrent client invocations | +| `invocations.pendingCalls` | count | Number of pending client invocations on this client | +| `invocations.startedInvocations` | count | Number of started client invocations on this client | + +
+ +
+CP Subsystem + +| Name | Unit | Description | +| --- | --- | --- | +| `cp.atomiclong.value` | count | Value of this `IAtomicLong` | +| `cp.countdownlatch.count` | count | Initial count of `ICountDownLatch` | +| `cp.countdownlatch.remaining` | count | Remaining number of expected countdowns | +| `cp.countdownlatch.round` | count | Round number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins | +| `cp.lock.acquireLimit` | count | Maximum number of reentrant acquires of this `FencedLock` | +| `cp.lock.lockCount` | count | Total number of times this `FencedLock` has been acquired since its creation | +| `cp.lock.owner` | count | Address of the `FencedLock` owner | +| `cp.lock.ownerSessionId` | count | Session Id of the `FencedLock` owner | +| `cp.semaphore.available` | count | Number of the remaining available permits | +| `cp.semaphore.initialized` | count | State value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise | +| `cp.map.size` | count | Number of keys in this `CPMap` | +| `cp.map.sizeBytes` | count | Total number of bytes used by key-value pairs for this `CPMap` | +| `cp.session.creationTime` | ms | Creation time of this session | +| `cp.session.endpoint` | | Address of the endpoint which the CP session belongs to | +| `cp.session.endpointType` | | Type of the endpoint; either SERVER or CLIENT | +| `cp.session.expirationTime` | ms | Expiration time of the CP session | +| `cp.session.version` | count | Version number of the CP session, basically it shows how many times the session heartbeat is received | + +We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: + +| Name | Unit | Description | +| --- | --- | --- | +| `destroyed.count` | count | Number of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count. | +| `live.count` | count | Number of objects for the parent object type that are in use. | + +
+ +
+Events + +| Name | Unit | Description | +| --- | --- | --- | +| `event.eventQueueSize` | count | Total number of events pending to be processed | +| `event.eventsProcessed` | count | Total number of processed events | +| `event.listenerCount` | count | Number of subscribed listeners for the specified service | +| `event.publicationCount` | count | Number of published events for the specified service | +| `event.queueCapacity` | count | Queue capacity of the executor processing the events (this capacity is shared for all events) | +| `event.rejectedCount` | count | Number of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed | +| `event.syncDeliveryFailureCount` | count | Number of failures of sync event delivery | +| `event.threadCount` | count | Number of threads for the event service executor (the event thread count) | +| `event.totalFailureCount` | count | Number of events that fail to be published | + +
+ +
+Listeners + +Scope: client-side only. + +| Name | Unit | Description | +| --- | --- | --- | +| `listeners.eventsProcessed` | count | Total number of processed events on the client listener service | +| `listeners.eventQueueSize` | count | Total number of tasks pending to be processed on the client listener service | + +
+ +
+Capacity + +| Name | Unit | Description | +| --- | --- | --- | +| `file.partition.freeSpace` | bytes | Amount of free space in the given directory, user.home | +| `file.partition.totalSpace` | bytes | Amount of total space in the given directory, user.home | +| `file.partition.usableSpace` | bytes | Amount of usable space in the given directory, user.home | + +
+ +
+Garbage Collection + +| Name | Unit | Description | +| --- | --- | --- | +| `gc.majorCount` | count | Total number of major garbage collections (GCs) that have occurred | +| `gc.majorTime` | ms | Accumulated elapsed time in major GCs | +| `gc.minorCount` | count | Total number of minor GCs that have occurred | +| `gc.minorTime` | ms | Accumulated elapsed time in minor GCs | +| `gc.unknownCount` | count | Number of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector) | +| `gc.unknownTime` | ms | Accumulated elapsed time in unknown GCs | + +
+ +
+Memory + +The names in this table use canonical `memory.` metric names. + +Prefix and scope variants: + +- Open Source member and client instance memory metrics: `memory.` +- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` +- Enterprise member per-memory-manager metrics: `memorymanager.stats.` + +The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. + +| Name | Unit | Description | +| --- | --- | --- | +| `memory.committedHeap` | bytes | Amount of heap memory that is committed for the JVM to use | +| `memory.committedNative` | bytes | Amount of native memory that is committed for current instance (member or client) to use | +| `memory.freeHeap` | bytes | Amount of free memory in the JVM of current instance (member or client) | +| `memory.freeNative` | bytes | Amount of free native memory in the current instance (member or client) | +| `memory.freePhysical` | bytes | Amount of free physical memory available in OS | +| `memory.maxHeap` | bytes | Maximum amount of memory that the JVM will use for the heap | +| `memory.maxMetadata` | bytes | The threshold for warning about metadata usage | +| `memory.maxNative` | bytes | Maximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value | +| `memory.totalPhysical` | bytes | Amount of total physical memory available in OS | +| `memory.usedHeap` | bytes | Amount of used memory in the JVM of the current instance (member or client) | +| `memory.usedMetadata` | bytes | Amount of used metadata memory by the current instance (member or client) | +| `memory.usedNative` | bytes | Amount of used native memory by the current instance (member or client) | + +
+ +
+High-Density (HD) Memory Store + +Scope: member-side only. only. + +These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). + +| Name | Unit | Description | +| --- | --- | --- | +| `usedMemory` | bytes | Cost of HD memory for the map to determine whether eviction of map entries is needed | +| `forceEvictionCount` | bytes | Number of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.) | +| `forceEvictedEntryCount` | bytes | Number of entries removed from the HD memory store | +| `entryCount` | bytes | Number of entries in the HD memory store | + +
+ +
+Near Cache + +Scope: member-side and client-side. + +The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. + +| Name | Unit | Description | +| --- | --- | --- | +| `nearcache.creationTime` | ms | Creation time of this Near Cache on this instance (member or client) | +| `nearcache.evictions` | count | Number of evictions of Near Cache entries owned by this instance (member or client) | +| `nearcache.expirations` | count | Number of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client) | +| `nearcache.hits` | count | Number of hits (reads) of Near Cache entries owned by this instance (member or client) | +| `nearcache.invalidationRequests` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.invalidations` | count | Number of invalidations of Near Cache entries owned by this instance (member or client). | +| `nearcache.lastPersistenceDuration` | ms | Duration of the last Near Cache key persistence | +| `nearcache.lastPersistenceKeyCount` | count | Number of persisted keys of the last Near Cache key persistence | +| `nearcache.lastPersistenceTime` | ms | Timestamp of the last Near Cache key persistence | +| `nearcache.lastPersistenceWrittenBytes` | bytes | Written bytes of the last Near Cache key persistence | +| `nearcache.misses` | count | Number of misses of Near Cache entries owned by this instance (member or client). | +| `nearcache.ownedEntryCount` | count | Number of Near Cache entries owned by this instance (member or client) | +| `nearcache.ownedEntryMemoryCost` | bytes | Memory cost of Near Cache entries owned by this instance (member or client) | +| `nearcache.persistenceCount` | count | Number of Near Cache key persistences (when the preload feature is enabled) | + +
+ +
+Operations + +:::note + +Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. + +::: + - + - - - + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + - + - - - -
NameUnitDescriptionNameUnitDescription
`multiMap.backupCount``operation.adhoc.executedOperationsCount` countNumber of backups per entryNumber of executed adhoc operations
`multiMap.backupEntryCount``operation.asyncOperations` countNumber of backup entries held by the memberNumber of current executing async operations on the operation service of the member
`multiMap.creationTime`msCreation time of the multimap in the member`operation.callTimeoutCount`countNumber of operation call timeouts on the member
`multiMap.dirtyEntryCount``operation.completedCount` countNumber of dirty (updated but not persisted yet) entries that the member ownsNumber of completed operations
`multiMap.entrySetCount``operation.failedBackups` countNumber of entry set operations on this memberNumber of failed backup operations on the operation service of the member
`multiMap.evictionCount``operation.generic.executedOperationsCount` countNumber of evictions completed on locally owned entries, backups are not includedNumber of executed generic operations
`multiMap.expirationCount``operation.genericPriorityQueueSize` countNumber of expirations completed on locally owned entries, backups are not includedNumber of priority generic operations pending (waiting in the priority queue)
`multiMap.getCount``operation.genericQueueSize` countNumber of local get operations on the multimapNumber of normal generic operations pending (waiting in the queue)
`multiMap.hits``operation.genericThreadCount` countNumber of hits (reads) of the locally owned entriesNumber of generic operation handler threads in the member
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`multiMap.indexesSkippedQueryCount``operation.invocations.backupTimeouts` countTotal number of local queries performed on the multimap which cannot use indexesNumber of operation invocations that acknowledgment from backups has timeout
`multiMap.noMatchingIndexQueryCount``operation.invocations.delayedExecutionCount` countTotal number of local queries performed on the multimap which had no matching indexNumber of times that the operation invocations have delayed
`multiMap.lastAccessTime``operation.invocations.heartbeatBroadcastPeriodMillis` msLast access (read) time of the locally owned entriesBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`multiMap.lastUpdateTime`msLast update time of the locally owned entries`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`multiMap.lockedEntryCount``operation.invocations.heartbeatPacketsSent` countNumber of locked entries that the member ownsNumber of sent heartbeat packets
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`multiMap.numberOfEvents`countNumber of local events received`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`multiMap.numberOfOtherOperations``operation.invocations.lastCallId` countTotal number of other operationsLast issued invocation call ID
`multiMap.ownedEntryCount``operation.invocations.normalTimeouts` countNumber of multimap entries owned by the memberNumber of times that the operation invocations have timed out
`multiMap.putCount``operation.invocations.pending` countNumber of local put operations on the multimapNumber of pending invocations
`multiMap.queryCount`countNumber of local queries executed on the multimap (it may be imprecise for queries involving partition predicates (PartitionPredicate) on the off-heap storage)`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`multiMap.queryLimiterHitCount``operation.parker.parkQueueCount` countNumber of times the query result size limiter was hit on this memberNumber of separate WaitSet (set of operations waiting for some condition)
`multiMap.removeCount``operation.parker.totalParkedOperationCount` countNumber of local remove operations on the multimapTotal number of parked operations
`multiMap.setCount``operation.partition.executedOperationsCount` countNumber of local set operations on the multimapNumber of executed partition operations on the specified partition
`multiMap.totalGetLatency`msTotal latency of local get operations
`multiMap.totalMaxGetLatency`msMaximum latency of local get operations
`multiMap.totalMaxPutLatency`msMaximum latency of local put operations
`multiMap.totalMaxRemoveLatency`msMaximum latency of local remove operations
`multiMap.totalMaxSetLatency`msMaximum latency of local set operations
`multiMap.totalPutLatency`msTotal latency of local put operations
`multiMap.totalRemoveLatency`msTotal latency of local remove operations`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`multiMap.totalSetLatency`msTotal latency of local set operations`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`multiMap.valuesCount``operation.queueSize` countNumber of values operations on this member
+ -
+Number of normal operations pending (normal partition operations + normal generic operations). -
-Replicated Map +It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - ----- - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - - - - - - - - - - - - - - - - + - + - + - + - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount``operation.responseQueueSize` countNumber of entry set operations on this memberTotal number of pending responses (work queue for the response threads) to be processed.
`replicatedMap.getCount``operation.responses.backupCount` countNumber of get operations on this memberNumber of backup acknowledgement responses
`replicatedMap.hits``operation.responses.errorCount` countNumber of hits (reads) of the locally owned entries
`replicatedMap.lastAccessTime`msLast access (read) time of the locally owned entries
`replicatedMap.lastUpdateTime`msLast update time of the locally owned entries
`replicatedMap.maxGetLatency`msMaximum latency of get operations
`replicatedMap.maxPutLatency`msMaximum latency of put operations
`replicatedMap.maxRemoveLatency`msMaximum latency of remove operationsNumber of error responses
`replicatedMap.numberOfEvents``operation.responses.missingCount` countNumber of events received on this memberNumber of responses having missing invocations
`replicatedMap.numberOfOtherOperations``operation.responses.normalCount` countTotal number of other operations on this memberNumber of normal responses
`replicatedMap.ownedEntryCount``operation.responses.timeoutCount` countNumber of entries owned on this member
`replicatedMap.ownedEntryMemoryCost`bytesMemory cost of owned entries on this memberNumber of call timeout responses
`replicatedMap.putCount``operation.retryCount` countNumber of put operations on this memberNumber of retried operations
`replicatedMap.removeCount``operation.runningCount` countNumber of remove operations on this member
`replicatedMap.totalGetLatencies`msTotal latency of get operations
`replicatedMap.totalPutLatencies`msTotal latency of put operations
`replicatedMap.totalRemoveLatencies`msTotal latency of remove operationsNumber of currently running operations (runningPartitionCount + runningGenericCount)
`replicatedMap.total``operation.runningGenericCount` countTotal number of operations on this memberNumber of currently running generic (non partition specific) operations
`replicatedMap.valuesCount``operation.runningPartitionCount` countNumber of values operations on this member
- -
- -
-Cache - - ----- - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - - - - - - - - - - - + - - - + + + - - - + + + - + - +
NameUnitDescription
`cache.averageGetTime`µsMean time to execute gets on the cache
`cache.averagePutTime`µsMean time to execute puts on the cache
`cache.averageRemovalTime`µsMean time to execute removes on the cacheNumber of currently running partition operations
`cache.cacheEvictions``operation.thread.completedOperationCount` countNumber of evictions on the cacheNumber of completed operations by this operation thread
`cache.cacheGets``operation.thread.completedOperationBatchCount` countNumber of gets on the cacheNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`cache.cacheHits``operation.thread.completedPacketCount` countNumber of successful get operations, hits, on the cache
`cache.cacheHitPercentage`percentPercentage of successful get operations, hits, out of all get operations on the cacheNumber of packets that executed by this operation thread
`cache.cachePuts``operation.thread.completedPartitionSpecificRunnableCount` countNumber of puts to the cacheNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`cache.cacheRemovals``operation.thread.completedRunnableCount` countNumber of removals from the cacheTotal number of runnables executed by this operation thread
`cache.cacheMisses``operation.thread.completedTotalCount` countNumber of missed cache accesses on the cache
`cache.cacheMissPercentage`percentPercentage of missed cache accesses out of all the cache accesses/access attempts
`cache.creationTime`msCreation time of the cache on the memberTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`cache.lastAccessTime`msCache's last access time`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`cache.lastUpdateTime`msCache's last update time`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`cache.ownedEntryCount``operation.thread.priorityPendingCount` countLocally owned entry count in the cacheNumber of priority pending operations (tasks)
@@ -1309,2356 +1591,244 @@ The above `latency` metrics are only measured for the members and do not represe
-Queue +Operating System - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`queue.averageAge`msAverage age of the items in this member
`queue.backupItemCount`countNumber of backup items held by the member
`queue.creationTime`msCreation time of the topic on the member
`queue.eventOperationCount`countNumber of event operations
`queue.maxAge`msMaximum age of the items in this member
`queue.minAge`msMinimum age of the items in this member
`queue.numberOfEmptyPolls`countNumber of null returning poll operations
`queue.numberOfEvents`countNumber of event operations (duplicate of eventOperationCount)
`queue.numberOfOffers`countNumber of offer/put/add operations
`queue.numberOfOtherOperations`countNumber of other operations
`queue.numberOfPolls`countNumber of poll/take/remove operations.
`queue.numberOfRejectedOffers`countNumber of rejected offers
`queue.ownedItemCount`countNumber of owned items in this member
`queue.total`countTotal number of operations (numberOfOffers + numberOfPolls + numberOfOtherOperations)
+| Name | Unit | Description | +| --- | --- | --- | +| `os.committedVirtualMemorySize` | bytes | Amount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process) | +| `os.freePhysicalMemorySize` | bytes | Amount of free physical memory | +| `os.freeSwapSpaceSize` | bytes | Amount of free swap space size | +| `os.maxFileDescriptorCount` | count | Maximum number of open file descriptors (only for UNIX platforms) | +| `os.openFileDescriptorCount` | count | Number of open file descriptors (only for UNIX platforms) | +| `os.processCpuLoad` | percent | Recent CPU usage for the JVM process; a negative value if not available | +| `os.processCpuTime` | ms | CPU time used by the process on which the JVM is running | +| `os.systemCpuLoad` | percent | Recent CPU usage for the whole system; a negative value if not available | +| `os.systemLoadAverage` | percent | System load average for the last minute, or a negative value if not available | +| `os.totalPhysicalMemorySize` | bytes | Total amount of physical memory | +| `os.totalSwapSpaceSize` | bytes | Total amount of swap space |
-Set +Partitions - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`set.creationTime`msCreation time of the set on the member
`set.lastAccessTime`msLast access (read) time of the locally owned items
`set.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `partitions.activePartitionCount` | count | Number of partitions assigned to the member | +| `partitions.completedMigrations` | count | Number of completed migrations on the latest repartitioning round | +| `partitions.elapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round | +| `partitions.elapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round | +| `partitions.elapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round | +| `partitions.lastRepartitionTime` | ms | Latest time that repartition took place | +| `partitions.localPartitionCount` | count | Number of partitions currently owned by given member | +| `partitions.maxBackupCount` | count | Maximum allowed backup count according to current cluster formation and partition group configuration | +| `partitions.memberGroupsSize` | count | Number of the member groups to be used in partition assignments | +| `partitions.migrationActive` | boolean | Whether there are any currently active migration tasks | +| `partitions.migrationQueueSize` | count | Number of migration tasks in the migration queue | +| `partitions.partitionCount` | count | Total partition count | +| `partitions.plannedMigrations` | count | Number of planned migrations on the latest repartitioning round | +| `partitions.replicaSyncRequestsCounter` | count | Number of replica sync requests | +| `partitions.replicaSyncSemaphore` | count | Permits count of this replica sync semaphore | +| `partitions.stateStamp` | count | Stamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet) | +| `partitions.totalCompletedMigrations` | count | Total number of completed migrations | +| `partitions.totalElapsedDestinationCommitTime` | ns | Total elapsed time of commit operations' executions to the destination endpoint since the beginning | +| `partitions.totalElapsedMigrationOperationTime` | ns | Total elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning | +| `partitions.totalElapsedMigrationTime` | ns | Total elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning |
-List +Persistence - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`list.creationTime`msCreation time of this list on the member
`list.lastAccessTime`msLast access (read) time of the locally owned items
`list.lastUpdateTime`msLast update time of the locally owned items
+| Name | Unit | Description | +| --- | --- | --- | +| `persistence.liveTombstones` | count | Number of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.liveValues` | count | Number of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx) | +| `persistence.tombGarbage` | bytes | Approximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.tombOccupancy` | bytes | Approximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) | +| `persistence.valGarbage` | bytes | Approximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one) | +| `persistence.valOccupancy` | bytes | Approximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one) |
-Topic +Proxies - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`topic.creationTime`msCreation time of the topic on the member
`topic.totalPublishes`countTotal number of published messages of this topic on this member
`topic.totalReceivedMessages`countTotal number of received messages of this topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `proxy.createdCount` | count | Number of created proxies for a given service | +| `proxy.destroyedCount` | count | Number of destroyed proxies for a given service | +| `proxy.proxyCount` | count | Number of active proxies for a given service |
-Reliable Topic +Raft Algorithm - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`reliableTopic.creationTime`msCreation time of this reliable topic on the member
`reliableTopic.totalPublishes`countTotal number of published messages of this reliable topic on this member
`reliableTopic.totalReceivedMessages`countTotal number of received messages of this reliable topic on this member
+| Name | Unit | Description | +| --- | --- | --- | +| `raft.destroyedGroupIds` | count | Number of destroyed raft node group IDs | +| `raft.group.availableLogCapacity` | count | Available log capacity for this CP group | +| `raft.group.commitIndex` | count | Commit index of this CP group | +| `raft.group.lastApplied` | count | Last applied index of this CP group | +| `raft.group.lastLogIndex` | count | Last log index of this CP group | +| `raft.group.lastLogTerm` | count | Last log term of this CP group | +| `raft.group.leadership.averageTimeMs` | ms | Average time this CP group member has held the leader role for | +| `raft.group.leadership.electedCount` | count | Number of times this CP group member has been elected leader | +| `raft.group.memberCount` | count | Number of members in this CP group | +| `raft.group.snapshotIndex` | count | Raft snapshot index of this CP group | +| `raft.group.term` | count | Raft term of this CP group | +| `raft.metadata.activeMembersCommitIndex` | count | Commit index of the active CP members | +| `raft.metadata.activeMembers` | count | Number of active CP members | +| `raft.metadata.groups` | count | Number of CP groups | +| `raft.missingMembers` | count | Number of missing CP members | +| `raft.nodes` | count | Number of local Raft nodes | +| `raft.terminatedRaftNodeGroupIds` | count | Number of terminated raft node group IDs |
-Flake ID Generator +Runtime - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`flakeIdGenerator.batchCount`countTotal number of times the Flake ID generator has been used to generate a new ID batch
`flakeIdGenerator.creationTime`msCreation time of this Flake ID Generator on the member
`flakeIdGenerator.idCount`countTotal number of IDs generated (the sum of IDs for all batches)
+| Name | Unit | Description | +| --- | --- | --- | +| `runtime.availableProcessors` | count | Number of processors available to the JVM | +| `runtime.freeMemory` | bytes | Amount of free memory in the JVM | +| `runtime.maxMemory` | bytes | Maximum amount of memory that the JVM will attempt to use | +| `runtime.totalMemory` | bytes | Total amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment | +| `runtime.upTime` | ms | Uptime of the JVM | +| `runtime.usedMemory` | bytes | Approximation to the total amount of memory currently used |
-PN Counter - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`pnCounter.creationTime`msCreation time of the PN counter on the member
`pnCounter.totalDecrementOperationCount`countNumber of subtract (including decrement) operations on this PN counter
`pnCounter.totalIncrementOperationCount`countNumber of add (including increment) operations on this PN counter
`pnCounter.value`countCurrent value of the PN counter
- -
+TCP -
-Executor Service +Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`executor.cancelled`countNumber of cancelled operations on the executor service
`executor.completed`countNumber of completed operations on the executor service
`executor.creationTime`msCreation time of this executor on the member
`executor.pending`countNumber of pending operations on the executor service
`executor.started`countNumber of started operations on the executor service
`executor.totalExecutionTime`msTotal execution time of the finished operations
`executor.totalStartLatency`msTotal start latency of operations started
`executor.internal.completedTasks`countNumber of completed tasks by this executor
`executor.internal.maximumPoolSize`countMaximum number of threads in the executor's thread pool
`executor.internal.poolSize`countNumber of threads in the executor's thread pool
`executor.internal.queueSize`countNumber of pending tasks in this executor's task queue
`executor.internal.remainingQueueCapacity`countRemaining capacity on the executor's task queue
+| Name | Unit | Description | +| --- | --- | --- | +| `tcp.acceptor.eventCount` | count | Total number of the connections accepted by `TcpServerAcceptor` | +| `tcp.acceptor.exceptionCount` | count | Number of thrown exceptions on this `TcpServerAcceptor` | +| `tcp.acceptor.idleTimeMillis` | ms | Idle time that measures how long this TcpServerAcceptor has not received any events | +| `tcp.acceptor.selectorRecreateCount` | count | Number of times the selector was recreated | +| `tcp.balancer.imbalanceDetectedCount` | count | Number of times the `IOBalancer` detects the imbalance of loads on `NioThread` s | +| `tcp.balancer.migrationCompletedCount` | count | Number of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads) | +| `tcp.bytesReceived` | bytes | Number of bytes received over all connections (active and closed) | +| `tcp.bytesReceived.{PROTOCOL}` | bytes | Number of bytes received over all connections for the protocol (Advanced Networking only) | +| `tcp.bytesSend` | bytes | Number of bytes sent over all connections (active and closed) | +| `tcp.bytesSend.{PROTOCOL}` | bytes | Number of bytes sent over all connections for the protocol (Advanced Networking only) | +| `tcp.connection.acceptedSocketCount` | count | Number of accepted socket channels | +| `tcp.connection.activeCount` | count | Number of active connections | +| `tcp.connection.clientCount` | count | Number of the active client connections | +| `tcp.connection.closedCount` | count | Number of closed connections | +| `tcp.connection.connectionListenerCount` | count | Number of active connection listeners | +| `tcp.connection.count` | count | Number of `TcpServerConnection` | +| `tcp.connection.inProgressCount` | count | Number of connection establishments in progress | +| `tcp.connection.openedCount` | count | Number of opened connections | +| `tcp.connection.textCount` | count | Number of connections used by text-based protocols (REST, Memcache) | +| `tcp.connection.in/out.completedMigrations` | count | Number of completed migrations on this pipeline (migrates this pipeline to a different NioThread) | +| `tcp.connection.in/out.opsInterested` | count | | +| `tcp.connection.in/out.opsReady` | count | | +| `tcp.connection.in/out.ownerId` | count | Owner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null) | +| `tcp.connection.in/out.processCount` | count | Number of time the `NioPipeline.process()` method has been called | +| `tcp.connection.in/out.startedMigrations` | count | Number of started migrations on this pipeline | +| `tcp.connection.in.bytesRead` | bytes | Total size of frames read on this inbound pipeline | +| `tcp.connection.in.idleTimeMs` | ms | Idle time that indicates how long since the last read on this inbound nio pipeline | +| `tcp.connection.in.normalFramesRead` | count | Number of priority frames read on this inbound nio pipeline | +| `tcp.connection.in.priorityFramesRead` | count | Number of priority frames read | +| `tcp.connection.out.bytesWritten` | bytes | Total amount of written frames on this outbound pipeline | +| `tcp.connection.out.idleTimeMillis` | ms | Idle time that indicates how long since the last write on this outbound nio pipeline | +| `tcp.connection.out.normalFramesWritten` | count | Number of written normal frames on this outbound nio pipeline | +| `tcp.connection.out.priorityFramesWritten` | count | Number of priority frames written into this nio pipeline | +| `tcp.connection.out.priorityWriteQueuePendingBytes` | bytes | Total size of priority frames pending in the write queue | +| `tcp.connection.out.priorityWriteQueueSize` | count | Number of priority frames pending in the write queue | +| `tcp.connection.out.scheduled` | count | Ordinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE | +| `tcp.connection.out.writeQueuePendingBytes` | bytes | Total size of normal frames pending in the write queue | +| `tcp.connection.out.writeQueueSize` | count | Number of normal frames pending in the write queue | +| `tcp.inputThread/outputThread.bytesTransceived` | bytes | Amount of transceived data on this NioThread | +| `tcp.inputThread/outputThread.completedTaskCount` | count | Total number of completed tasks on this NioThread | +| `tcp.inputThread/outputThread.eventCount` | count | Total number of the connections accepted by TcpServerAcceptor | +| `tcp.inputThread/outputThread.framesTransceived` | count | Number of transceived frames on this NioThread | +| `tcp.inputThread/outputThread.idleTimeMillis` | ms | Idle time that indicates the duration since the last read/write | +| `tcp.inputThread/outputThread.ioThreadId` | count | Thread ID of this NioThread | +| `tcp.inputThread/outputThread.priorityFramesTransceived` | count | Number of transceived priority frames | +| `tcp.inputThread/outputThread.processCount` | count | Number of processed `NioPipeline`s on this NioThread | +| `tcp.inputThread/outputThread.selectorIOExceptionCount` | count | Number of times that I/O exceptions are thrown during selection | +| `tcp.inputThread/outputThread.selectorRebuildCount` | count | Number of times the selector was recreated on this NioThread | +| `tcp.inputThread/outputThread.taskQueueSize` | count | Number of pending tasks on the queue of NioThread |
-User Code Deployment +Threads - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`classloading.loadedClassesCount`countNumber of classes that are currently loaded
`classloading.totalLoadedClassesCount`countTotal number of classes that have been loaded since the instance has started execution.
`classloading.unloadedClassesCount`countTotal number of unloaded classes.
+| Name | Unit | Description | +| --- | --- | --- | +| `thread.daemonThreadCount` | count | Current number of live daemon thread in the JVM | +| `thread.peakThreadCount` | count | Peak live thread count since the JVM started | +| `thread.threadCount` | count | Current number of live threads including both daemon and non-daemon threads in the JVM | +| `thread.totalStartedThreadCount` | count | Total number of threads started since the JVM started |
-Cluster +Transactions - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cluster.clock.clusterStartTime`msStart time of the cluster (when the first member in cluster becomes master, its localClockTime value is saved as clusterStartTime)
`cluster.clock.clusterTime`msElapsed time since the master member was created ([`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.clusterTimeDiff`msDifference between the local time (`cluster.clock.localClockTime`) of the local member and the master member
`cluster.clock.clusterUpTime`msUptime of the cluster (current time - [`cluster.clock.clusterStartTime`](#clusterStartTime))
`cluster.clock.localClockTime`msMember's local clock timestamp
`cluster.clock.maxClusterTimeDiff`msMaximum observed cluster time difference
`cluster.connection.closedTime`countConnection close time for this connection
`cluster.connection.connectionId`countConnection ID for this client connection
`cluster.connection.eventHandlerCount`countNumber of event handlers for this client connection
`cluster.heartbeat.lastHeartbeat`msLast time that this member sent a heartbeat to other known cluster members
`cluster.size`countNumber of members in the cluster
+| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions |
-Clients - -Scope: member-side only. These metrics describe clients connected to the local member. +WAN Replication - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| Name | Unit | Description | +| --- | --- | --- | +| `wan.ackDelayCurrentMillis` | ms | Duration of ongoing delaying, -1 if there is no current delaying | +| `wan.ackDelayLastEnd` | ms | Timestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying | +| `wan.ackDelayLastStart` | ms | Timestamp of the last start of delaying the acknowledgments | +| `wan.ackDelayTotalCount` | count | Total number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold) | +| `wan.ackDelayTotalMillis` | ms | Total amount of time delaying the WAN acknowledgments was taking place | +| `wan.consistencyCheck.lastCheckedPartitionCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastCheckedLeafCount` | count | Number of checked partitions on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffLeafCount` | count | Number of different Merkle tree leaves on the last WAN consistency check | +| `wan.consistencyCheck.lastDiffPartitionCount` | count | Number of partitions found to be inconsistent on the last WAN consistency check | +| `wan.consistencyCheck.lastEntriesToSync` | count | Number of entries to synchronize to get the clusters into sync on the last WAN consistency check | +| `wan.droppedCount` | count | Number of dropped entry events | +| `wan.outboundQueueSize` | count | Total number of WAN events currently placed in the WAN queues of primary partitions on this member | +| `wan.queueFillPercent` | percent | Percentage of the WAN replication queue that is filled | +| `wan.removeCount` | count | Number of entry remove events | +| `wan.syncCount` | count | Number of entry sync events | +| `wan.sync.avgEntriesPerLeaf` | count | Average of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.maxLeafEntryCount` | count | Maximum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.minLeafEntryCount` | count | Minimum of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.nodesSynced` | count | Number of the synchronized Merkle tree nodes | +| `wan.sync.partitionsSynced` | count | Number of synchronized partitions | +| `wan.sync.partitionsToSync` | count | Number of partitions to synchronize | +| `wan.sync.recordsSynced` | count | Number of synchronized records | +| `wan.sync.syncDurationNanos` | ns | Duration of the last synchronization | +| `wan.sync.stdDevEntriesPerLeaf` | count | Standard deviation of the number of records belong the synchronized Merkle tree nodes have | +| `wan.sync.syncStartNanos` | ns | Start time of this WAN synchronization | +| `wan.totalPublishLatency` | ms | Total latency of published WAN events from this member | +| `wan.totalPublishedEventCount` | count | Total number of published WAN events from this member | +| `wan.updateCount` | count | Number of entry update events | +| `wan.connectionHealth` | boolean | The health of an individual WAN target endpoint, where 1 is healthy and 0 is not | +| `wan.failedTransmitCount` | count | Number of attempted WAN replication transmissions that have failed |
-Client Invocations - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`invocations.maxCurrentInvocations`countMaximum number of concurrent client invocations
`invocations.pendingCalls`countNumber of pending client invocations on this client
`invocations.startedInvocations`countNumber of started client invocations on this client
+User Code Namespaces -
- -
-CP Subsystem - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`cp.atomiclong.value`countValue of this `IAtomicLong`
`cp.countdownlatch.count`countInitial count of `ICountDownLatch`
`cp.countdownlatch.remaining`countRemaining number of expected countdowns
`cp.countdownlatch.round`countRound number of the `ICountDownLatch`; each time `ICountDownLatch` is initialized with a new count after it downs to zero, a new round begins
`cp.lock.acquireLimit`countMaximum number of reentrant acquires of this `FencedLock`
`cp.lock.lockCount`countTotal number of times this `FencedLock` has been acquired since its creation
`cp.lock.owner`countAddress of the `FencedLock` owner
`cp.lock.ownerSessionId`countSession Id of the `FencedLock` owner
`cp.semaphore.available`countNumber of the remaining available permits
`cp.semaphore.initialized`countState value which shows whether semaphore is initialized with a value or not; in exposed metrics, it shows 0 when semaphore is not initialized, a positive value otherwise
`cp.map.size`countNumber of keys in this `CPMap`
`cp.map.sizeBytes`countTotal number of bytes used by key-value pairs for this `CPMap`
`cp.session.creationTime`msCreation time of this session
`cp.session.endpoint`Address of the endpoint which the CP session belongs to
`cp.session.endpointType`Type of the endpoint; either SERVER or CLIENT
`cp.session.expirationTime`msExpiration time of the CP session
`cp.session.version`countVersion number of the CP session, basically it shows how many times the session heartbeat is received
- -We also have a `summary` section per object type which provides live and destroyed object counts grouped by CP Group. These can be found under `cp.{atomiclong,atomicref,countdownlatch,lock,map,semaphore}.summary` and provide the following child attributes: - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`destroyed.count`countNumber of objects for the parent object type that have been destroyed. Also referred to as the tombstoned object count.
`live.count`countNumber of objects for the parent object type that are in use.
- -
- -
-Events - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`event.eventQueueSize`countTotal number of events pending to be processed
`event.eventsProcessed`countTotal number of processed events
`event.listenerCount`countNumber of subscribed listeners for the specified service
`event.publicationCount`countNumber of published events for the specified service
`event.queueCapacity`countQueue capacity of the executor processing the events (this capacity is shared for all events)
`event.rejectedCount`countNumber of rejected events; if the event is not accepted to the executor in `hazelcast.event.queue.timeout.millis`(see [System Properties](./system-properties.mdx)), it will be rejected and not processed
`event.syncDeliveryFailureCount`countNumber of failures of sync event delivery
`event.threadCount`countNumber of threads for the event service executor (the event thread count)
`event.totalFailureCount`countNumber of events that fail to be published
- -
- -
-Listeners - -Scope: client-side only. - - ----- - - - - - - - - - - - - - - - - - -
NameUnitDescription
`listeners.eventsProcessed`countTotal number of processed events on the client listener service
`listeners.eventQueueSize`countTotal number of tasks pending to be processed on the client listener service
- -
- -
-Capacity - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`file.partition.freeSpace`bytesAmount of free space in the given directory, user.home
`file.partition.totalSpace`bytesAmount of total space in the given directory, user.home
`file.partition.usableSpace`bytesAmount of usable space in the given directory, user.home
- -
- -
-Garbage Collection - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`gc.majorCount`countTotal number of major garbage collections (GCs) that have occurred
`gc.majorTime`msAccumulated elapsed time in major GCs
`gc.minorCount`countTotal number of minor GCs that have occurred
`gc.minorTime`msAccumulated elapsed time in minor GCs
`gc.unknownCount`countNumber of unknown GCs that cannot be determined as minor or major (this is usually due to the lack of support of the used garbage collector)
`gc.unknownTime`msAccumulated elapsed time in unknown GCs
- -
- -
-Memory - -The names in this table use canonical `memory.` metric names. - -Prefix and scope variants: - -- Open Source member and client instance memory metrics: `memory.` -- Enterprise member aggregate HD memory metrics: `memory.` or `memorymanager.` -- Enterprise member per-memory-manager metrics: `memorymanager.stats.` - -The same metric values can be exposed under multiple prefixes. Depending on the configured memory allocation type, `memorymanager.stats.` values can overlap with `memorymanager.` values. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`memory.committedHeap`bytesAmount of heap memory that is committed for the JVM to use
`memory.committedNative`bytesAmount of native memory that is committed for current instance (member or client) to use
`memory.freeHeap`bytesAmount of free memory in the JVM of current instance (member or client)
`memory.freeNative`bytesAmount of free native memory in the current instance (member or client)
`memory.freePhysical`bytesAmount of free physical memory available in OS
`memory.maxHeap`bytesMaximum amount of memory that the JVM will use for the heap
`memory.maxMetadata`bytesThe threshold for warning about metadata usage
`memory.maxNative`bytesMaximum amount of native memory that current instance (member or client) will use. This value is ignored by Hazelcast for metadata allocation and can increase from the initial configured value
`memory.totalPhysical`bytesAmount of total physical memory available in OS
`memory.usedHeap`bytesAmount of used memory in the JVM of the current instance (member or client)
`memory.usedMetadata`bytesAmount of used metadata memory by the current instance (member or client)
`memory.usedNative`bytesAmount of used native memory by the current instance (member or client)
- -
- -
-High-Density (HD) Memory Store - -Scope: member-side only. only. - -These metrics are provided for data structures using HD memory. They will be prefixed with the relevant data structure prefix (e.g. `map.`). - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`usedMemory`bytesCost of HD memory for the map to determine whether eviction of map entries is needed
`forceEvictionCount`bytesNumber of evictions performed for the HD memory store (when your eviction policy does not free enough native memory, operations that add entries to a map or cache such as `map.put()` trigger the forced eviction process.)
`forceEvictedEntryCount`bytesNumber of entries removed from the HD memory store
`entryCount`bytesNumber of entries in the HD memory store
- -
- -
-Near Cache - -Scope: member-side and client-side. - -The names in this table use the client prefix form (`nearcache.`). For member-side Near Cache metrics, use `map.nearcache.` with the same suffix. The same metric values and semantics apply on both sides. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`nearcache.creationTime`msCreation time of this Near Cache on this instance (member or client)
`nearcache.evictions`countNumber of evictions of Near Cache entries owned by this instance (member or client)
`nearcache.expirations`countNumber of TTL and max-idle expirations of Near Cache entries owned by this instance (member or client)
`nearcache.hits`countNumber of hits (reads) of Near Cache entries owned by this instance (member or client)
`nearcache.invalidationRequests`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.invalidations`countNumber of invalidations of Near Cache entries owned by this instance (member or client).
`nearcache.lastPersistenceDuration`msDuration of the last Near Cache key persistence
`nearcache.lastPersistenceKeyCount`countNumber of persisted keys of the last Near Cache key persistence
`nearcache.lastPersistenceTime`msTimestamp of the last Near Cache key persistence
`nearcache.lastPersistenceWrittenBytes`bytesWritten bytes of the last Near Cache key persistence
`nearcache.misses`countNumber of misses of Near Cache entries owned by this instance (member or client).
`nearcache.ownedEntryCount`countNumber of Near Cache entries owned by this instance (member or client)
`nearcache.ownedEntryMemoryCost`bytesMemory cost of Near Cache entries owned by this instance (member or client)
`nearcache.persistenceCount`countNumber of Near Cache key persistences (when the preload feature is enabled)
- -
- -
-Operations - -:::note - -Within Hazelcast context, the **priority** operations are the ones that are important for the stability of cluster, for example heartbeats and migration requests. The **normal** operations are the ones that manipulate the data, for example `map.get` and `map.put`. - -::: - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`operation.adhoc.executedOperationsCount`countNumber of executed adhoc operations
`operation.asyncOperations`countNumber of current executing async operations on the operation service of the member
`operation.callTimeoutCount`countNumber of operation call timeouts on the member
`operation.completedCount`countNumber of completed operations
`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`operation.generic.executedOperationsCount`countNumber of executed generic operations
`operation.genericPriorityQueueSize`countNumber of priority generic operations pending (waiting in the priority queue)
`operation.genericQueueSize`countNumber of normal generic operations pending (waiting in the queue)
`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`operation.invocations.backupTimeoutMillis`msOperation backup timeout that specifies how long the invocation will wait for acknowledgements from the backup replicas (if acks are not received from some backups, there will not be any rollback on other successful replicas)
`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`operation.invocations.heartbeatBroadcastPeriodMillis`msBroadcast period of operation heartbeats (this heartbeat packets sent to inform the other member about if the operation is still alive). The heartbeat period is configured to be 1/4 of the call timeout. So with default settings, every 15 seconds, every member in the cluster, will notify every other member in the cluster about all calls that are pending.
`operation.invocations.heartbeatPacketsReceived`countNumber of received heartbeat packets
`operation.invocations.heartbeatPacketsSent`countNumber of sent heartbeat packets
`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`operation.invocations.lastCallId`countLast issued invocation call ID
`operation.invocations.normalTimeouts`countNumber of times that the operation invocations have timed out
`operation.invocations.pending`countNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`operation.parker.parkQueueCount`countNumber of separate WaitSet (set of operations waiting for some condition)
`operation.parker.totalParkedOperationCount`countTotal number of parked operations
`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`operation.partitionThreadCount`countNumber of partition operation handler threads for given member
`operation.priorityQueueSize`countNumber of priority operations pending (priority partition ops. + priority generic ops.)
`operation.queueSize`count - -Number of normal operations pending (normal partition operations + normal generic operations). - -It refers to the number of operations sent to the member that have yet to be consumed for processing by the partition operation threads. This is the most critical queue for partition aware operations such as `map.put` and `map.remove`. This value should be zero or very close to zero. Based on your latency tolerance in your business use case, you can define a threshold for alerts with your preferred alerting mechanism. For instance, triggering an alert if this value is above 100 for 15 seconds would be useful. - -
`operation.responseQueueSize`countTotal number of pending responses (work queue for the response threads) to be processed.
`operation.responses.backupCount`countNumber of backup acknowledgement responses
`operation.responses.errorCount`countNumber of error responses
`operation.responses.missingCount`countNumber of responses having missing invocations
`operation.responses.normalCount`countNumber of normal responses
`operation.responses.timeoutCount`countNumber of call timeout responses
`operation.retryCount`countNumber of retried operations
`operation.runningCount`countNumber of currently running operations (runningPartitionCount + runningGenericCount)
`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`operation.runningPartitionCount`countNumber of currently running partition operations
`operation.thread.completedOperationCount`countNumber of completed operations by this operation thread
`operation.thread.completedOperationBatchCount`countNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`operation.thread.completedPartitionSpecificRunnableCount`countNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`operation.thread.priorityPendingCount`countNumber of priority pending operations (tasks)
- -
- -
-Operating System - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`os.committedVirtualMemorySize`bytesAmount of committed virtual memory (that is, the amount of virtual memory guaranteed to be available to the running process)
`os.freePhysicalMemorySize`bytesAmount of free physical memory
`os.freeSwapSpaceSize`bytesAmount of free swap space size
`os.maxFileDescriptorCount`countMaximum number of open file descriptors (only for UNIX platforms)
`os.openFileDescriptorCount`countNumber of open file descriptors (only for UNIX platforms)
`os.processCpuLoad`percentRecent CPU usage for the JVM process; a negative value if not available
`os.processCpuTime`msCPU time used by the process on which the JVM is running
`os.systemCpuLoad`percentRecent CPU usage for the whole system; a negative value if not available
`os.systemLoadAverage`percentSystem load average for the last minute, or a negative value if not available
`os.totalPhysicalMemorySize`bytesTotal amount of physical memory
`os.totalSwapSpaceSize`bytesTotal amount of swap space
- -
- -
-Partitions - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`partitions.activePartitionCount`countNumber of partitions assigned to the member
`partitions.completedMigrations`countNumber of completed migrations on the latest repartitioning round
`partitions.elapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint on the latest repartitioning round
`partitions.elapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints on the latest repartitioning round
`partitions.elapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) on the latest repartitioning round
`partitions.lastRepartitionTime`msLatest time that repartition took place
`partitions.localPartitionCount`countNumber of partitions currently owned by given member
`partitions.maxBackupCount`countMaximum allowed backup count according to current cluster formation and partition group configuration
`partitions.memberGroupsSize`countNumber of the member groups to be used in partition assignments
`partitions.migrationActive`booleanWhether there are any currently active migration tasks
`partitions.migrationQueueSize`countNumber of migration tasks in the migration queue
`partitions.partitionCount`countTotal partition count
`partitions.plannedMigrations`countNumber of planned migrations on the latest repartitioning round
`partitions.replicaSyncRequestsCounter`countNumber of replica sync requests
`partitions.replicaSyncSemaphore`countPermits count of this replica sync semaphore
`partitions.stateStamp`countStamp value for the current partition table; stamp is calculated by hashing the individual partition versions using MurmurHash3 (if stamp has this initial value, 0L, then that means partition table is not initialized yet)
`partitions.totalCompletedMigrations`countTotal number of completed migrations
`partitions.totalElapsedDestinationCommitTime`nsTotal elapsed time of commit operations' executions to the destination endpoint since the beginning
`partitions.totalElapsedMigrationOperationTime`nsTotal elapsed time of migration & replication operations' executions from source to destination endpoints since the beginning
`partitions.totalElapsedMigrationTime`nsTotal elapsed time from the start of migration tasks to their completion (successful or otherwise) since the beginning
- -
- -
-Persistence - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`persistence.liveTombstones`countNumber of live tombstones in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.liveValues`countNumber of live values in the [persistent store](../operate-and-manage/fault-tolerance/persistence/persistence.mdx)
`persistence.tombGarbage`bytesApproximate size of the garbage within the tombstone chunks (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.tombOccupancy`bytesApproximate size of tombstone chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
`persistence.valGarbage`bytesApproximate size of the garbage within the value chunk (it does not account for data in the active chunk, it is incremented when a record is retired or an active chunk is turned into a stable one)
`persistence.valOccupancy`bytesApproximate size of value chunks (it does not account for data in the active chunk, it is incremented when the active chunk is turned into a stable one)
- -
- -
-Proxies - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`proxy.createdCount`countNumber of created proxies for a given service
`proxy.destroyedCount`countNumber of destroyed proxies for a given service
`proxy.proxyCount`countNumber of active proxies for a given service
- -
- -
-Raft Algorithm - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`raft.destroyedGroupIds`countNumber of destroyed raft node group IDs
`raft.group.availableLogCapacity`countAvailable log capacity for this CP group
`raft.group.commitIndex`countCommit index of this CP group
`raft.group.lastApplied`countLast applied index of this CP group
`raft.group.lastLogIndex`countLast log index of this CP group
`raft.group.lastLogTerm`countLast log term of this CP group
`raft.group.leadership.averageTimeMs`msAverage time this CP group member has held the leader role for
`raft.group.leadership.electedCount`countNumber of times this CP group member has been elected leader
`raft.group.memberCount`countNumber of members in this CP group
`raft.group.snapshotIndex`countRaft snapshot index of this CP group
`raft.group.term`countRaft term of this CP group
`raft.metadata.activeMembersCommitIndex`countCommit index of the active CP members
`raft.metadata.activeMembers`countNumber of active CP members
`raft.metadata.groups`countNumber of CP groups
`raft.missingMembers`countNumber of missing CP members
`raft.nodes`countNumber of local Raft nodes
`raft.terminatedRaftNodeGroupIds`countNumber of terminated raft node group IDs
- -
- -
-Runtime - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`runtime.availableProcessors`countNumber of processors available to the JVM
`runtime.freeMemory`bytesAmount of free memory in the JVM
`runtime.maxMemory`bytesMaximum amount of memory that the JVM will attempt to use
`runtime.totalMemory`bytesTotal amount of memory in the JVM, the value of this metric may vary over time, depending on the host environment
`runtime.upTime`msUptime of the JVM
`runtime.usedMemory`bytesApproximation to the total amount of memory currently used
- -
- -
-TCP - -Protocol-specific TCP byte metrics are available only when Advanced Networking is enabled. `{PROTOCOL}` is one of `MEMBER`, `CLIENT`, `WAN`, `REST`, or `MEMCACHE`; `WAN` includes all WAN protocol endpoints on the reporting member. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`tcp.acceptor.eventCount`countTotal number of the connections accepted by `TcpServerAcceptor`
`tcp.acceptor.exceptionCount`countNumber of thrown exceptions on this `TcpServerAcceptor`
`tcp.acceptor.idleTimeMillis`msIdle time that measures how long this TcpServerAcceptor has not received any events
`tcp.acceptor.selectorRecreateCount`countNumber of times the selector was recreated
`tcp.balancer.imbalanceDetectedCount`countNumber of times the `IOBalancer` detects the imbalance of loads on `NioThread` s
`tcp.balancer.migrationCompletedCount`countNumber of completed NioPipeline migrations by the IOBalancer (these migrations are performed to fix the load imbalance problem on the NioThreads)
`tcp.bytesReceived`bytesNumber of bytes received over all connections (active and closed)
`tcp.bytesReceived.{PROTOCOL}`bytesNumber of bytes received over all connections for the protocol (Advanced Networking only)
`tcp.bytesSend`bytesNumber of bytes sent over all connections (active and closed)
`tcp.bytesSend.{PROTOCOL}`bytesNumber of bytes sent over all connections for the protocol (Advanced Networking only)
`tcp.connection.acceptedSocketCount`countNumber of accepted socket channels
`tcp.connection.activeCount`countNumber of active connections
`tcp.connection.clientCount`countNumber of the active client connections
`tcp.connection.closedCount`countNumber of closed connections
`tcp.connection.connectionListenerCount`countNumber of active connection listeners
`tcp.connection.count`countNumber of `TcpServerConnection`
`tcp.connection.inProgressCount`countNumber of connection establishments in progress
`tcp.connection.openedCount`countNumber of opened connections
`tcp.connection.textCount`countNumber of connections used by text-based protocols (REST, Memcache)
`tcp.connection.in/out.completedMigrations`countNumber of completed migrations on this pipeline (migrates this pipeline to a different NioThread)
`tcp.connection.in/out.opsInterested`count
`tcp.connection.in/out.opsReady`count
`tcp.connection.in/out.ownerId`countOwner ID of this `NioPipeline`, -1 if the pipeline is being migrated (owner is null)
`tcp.connection.in/out.processCount`countNumber of time the `NioPipeline.process()` method has been called
`tcp.connection.in/out.startedMigrations`countNumber of started migrations on this pipeline
`tcp.connection.in.bytesRead`bytesTotal size of frames read on this inbound pipeline
`tcp.connection.in.idleTimeMs`msIdle time that indicates how long since the last read on this inbound nio pipeline
`tcp.connection.in.normalFramesRead`countNumber of priority frames read on this inbound nio pipeline
`tcp.connection.in.priorityFramesRead`countNumber of priority frames read
`tcp.connection.out.bytesWritten`bytesTotal amount of written frames on this outbound pipeline
`tcp.connection.out.idleTimeMillis`msIdle time that indicates how long since the last write on this outbound nio pipeline
`tcp.connection.out.normalFramesWritten`countNumber of written normal frames on this outbound nio pipeline
`tcp.connection.out.priorityFramesWritten`countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queue
`tcp.connection.out.priorityWriteQueueSize`countNumber of priority frames pending in the write queue
`tcp.connection.out.scheduled`countOrdinal of enum state of this outbound pipeline: 0 → UNSCHEDULED, 1 → SCHEDULED, 2 → BLOCKED, 3 → RESCHEDULE
`tcp.connection.out.writeQueuePendingBytes`bytesTotal size of normal frames pending in the write queue
`tcp.connection.out.writeQueueSize`countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThread
`tcp.inputThread/outputThread.completedTaskCount`countTotal number of completed tasks on this NioThread
`tcp.inputThread/outputThread.eventCount`countTotal number of the connections accepted by TcpServerAcceptor
`tcp.inputThread/outputThread.framesTransceived`countNumber of transceived frames on this NioThread
`tcp.inputThread/outputThread.idleTimeMillis`msIdle time that indicates the duration since the last read/write
`tcp.inputThread/outputThread.ioThreadId`countThread ID of this NioThread
`tcp.inputThread/outputThread.priorityFramesTransceived`countNumber of transceived priority frames
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread
`tcp.inputThread/outputThread.selectorIOExceptionCount`countNumber of times that I/O exceptions are thrown during selection
`tcp.inputThread/outputThread.selectorRebuildCount`countNumber of times the selector was recreated on this NioThread
`tcp.inputThread/outputThread.taskQueueSize`countNumber of pending tasks on the queue of NioThread
- -
- -
-Threads - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM
`thread.peakThreadCount`countPeak live thread count since the JVM started
`thread.threadCount`countCurrent number of live threads including both daemon and non-daemon threads in the JVM
`thread.totalStartedThreadCount`countTotal number of threads started since the JVM started
- -
- -
-Transactions - - ----- - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`transactions.commitCount`countNumber of committed transactions
`transactions.rollbackCount`countNumber of rollbacked transactions
`transactions.startCount`countNumber of started transactions
- -
- -
-WAN Replication - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying
`wan.ackDelayLastStart`msTimestamp of the last start of delaying the acknowledgments
`wan.ackDelayTotalCount`countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)
`wan.ackDelayTotalMillis`msTotal amount of time delaying the WAN acknowledgments was taking place
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastCheckedLeafCount`countNumber of checked partitions on the last WAN consistency check
`wan.consistencyCheck.lastDiffLeafCount`countNumber of different Merkle tree leaves on the last WAN consistency check
`wan.consistencyCheck.lastDiffPartitionCount`countNumber of partitions found to be inconsistent on the last WAN consistency check
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check
`wan.droppedCount`countNumber of dropped entry events
`wan.outboundQueueSize`countTotal number of WAN events currently placed in the WAN queues of primary partitions on this member
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled
`wan.removeCount`countNumber of entry remove events
`wan.syncCount`countNumber of entry sync events
`wan.sync.avgEntriesPerLeaf`countAverage of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.maxLeafEntryCount`countMaximum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.minLeafEntryCount`countMinimum of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.nodesSynced`countNumber of the synchronized Merkle tree nodes
`wan.sync.partitionsSynced`countNumber of synchronized partitions
`wan.sync.partitionsToSync`countNumber of partitions to synchronize
`wan.sync.recordsSynced`countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronization
`wan.sync.stdDevEntriesPerLeaf`countStandard deviation of the number of records belong the synchronized Merkle tree nodes have
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization
`wan.totalPublishLatency`msTotal latency of published WAN events from this member
`wan.totalPublishedEventCount`countTotal number of published WAN events from this member
`wan.updateCount`countNumber of entry update events
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not
`wan.failedTransmitCount`countNumber of attempted WAN replication transmissions that have failed
- -
- -
-User Code Namespaces - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`ucn.updateTime`msUpdate time of a user code namespace configuration
`ucn.resourceCount`countNumber of resources contained in a namespace
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace
+| Name | Unit | Description | +| --- | --- | --- | +| `ucn.updateTime` | ms | Update time of a user code namespace configuration | +| `ucn.resourceCount` | count | Number of resources contained in a namespace | +| `ucn.resource.resourceType` | enum | The Ordinal of the enum type of the resource contained in a namespace | +| `ucn.resource.resourceSizeBytes` | bytes | The size in bytes of a resource contained in a namespace |
diff --git a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx index b5bad581..1dd21b6d 100644 --- a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx @@ -19,13 +19,15 @@ When you want to reconfigure a system property, you need to [restart](../operate - + -Property Name -Default Value -Type -Description +Property Name +Default Value +Type +Description + + `hazelcast.aggregation.accumulation.parallel.evaluation` true diff --git a/management-center/get-started/overview.mdx b/management-center/get-started/overview.mdx index 656f340a..1780b7a0 100644 --- a/management-center/get-started/overview.mdx +++ b/management-center/get-started/overview.mdx @@ -106,11 +106,13 @@ Management Center supports the following versions of Hazelcast: - + -Product -Supported versions +Product +Supported versions + + Hazelcast Platform diff --git a/management-center_versioned_docs/version-5.10/get-started/overview.mdx b/management-center_versioned_docs/version-5.10/get-started/overview.mdx index dc84b18a..95060b96 100644 --- a/management-center_versioned_docs/version-5.10/get-started/overview.mdx +++ b/management-center_versioned_docs/version-5.10/get-started/overview.mdx @@ -106,11 +106,13 @@ Management Center supports the following versions of Hazelcast: - + -Product -Supported versions +Product +Supported versions + + Hazelcast Platform diff --git a/management-center_versioned_docs/version-5.11/get-started/overview.mdx b/management-center_versioned_docs/version-5.11/get-started/overview.mdx index ac34fb56..56c7d683 100644 --- a/management-center_versioned_docs/version-5.11/get-started/overview.mdx +++ b/management-center_versioned_docs/version-5.11/get-started/overview.mdx @@ -106,11 +106,13 @@ Management Center supports the following versions of Hazelcast: - + -Product -Supported versions +Product +Supported versions + + Hazelcast Platform diff --git a/management-center_versioned_docs/version-5.12/get-started/overview.mdx b/management-center_versioned_docs/version-5.12/get-started/overview.mdx index ca7fcc6d..a770c75f 100644 --- a/management-center_versioned_docs/version-5.12/get-started/overview.mdx +++ b/management-center_versioned_docs/version-5.12/get-started/overview.mdx @@ -106,11 +106,13 @@ Management Center supports the following versions of Hazelcast: - + -Product -Supported versions +Product +Supported versions + + Hazelcast Platform diff --git a/management-center_versioned_docs/version-5.9/get-started/overview.mdx b/management-center_versioned_docs/version-5.9/get-started/overview.mdx index 55dcc167..86022cfd 100644 --- a/management-center_versioned_docs/version-5.9/get-started/overview.mdx +++ b/management-center_versioned_docs/version-5.9/get-started/overview.mdx @@ -106,11 +106,13 @@ Management Center supports the following versions of Hazelcast: - + -Product -Supported versions +Product +Supported versions + + Hazelcast Platform diff --git a/operator/operate-and-manage/resilience/backup-restore/overview.mdx b/operator/operate-and-manage/resilience/backup-restore/overview.mdx index df2bbb3d..8d0c8d3c 100644 --- a/operator/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,26 +129,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -285,26 +270,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see [Configure persistence](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configure force or partial start diff --git a/operator_versioned_docs/version-5.16/configure/backup-restore.mdx b/operator_versioned_docs/version-5.16/configure/backup-restore.mdx index e4b84370..f4cb3ef2 100644 --- a/operator_versioned_docs/version-5.16/configure/backup-restore.mdx +++ b/operator_versioned_docs/version-5.16/configure/backup-restore.mdx @@ -133,26 +133,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -289,26 +274,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. The Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see the [Platform documentation](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configuring Force/Partial Start diff --git a/operator_versioned_docs/version-5.17/operate-and-manage/resilience/backup-restore/overview.mdx b/operator_versioned_docs/version-5.17/operate-and-manage/resilience/backup-restore/overview.mdx index df2bbb3d..8d0c8d3c 100644 --- a/operator_versioned_docs/version-5.17/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator_versioned_docs/version-5.17/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,26 +129,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -285,26 +270,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see [Configure persistence](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configure force or partial start diff --git a/operator_versioned_docs/version-5.18/operate-and-manage/resilience/backup-restore/overview.mdx b/operator_versioned_docs/version-5.18/operate-and-manage/resilience/backup-restore/overview.mdx index df2bbb3d..8d0c8d3c 100644 --- a/operator_versioned_docs/version-5.18/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator_versioned_docs/version-5.18/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,26 +129,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -285,26 +270,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see [Configure persistence](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configure force or partial start diff --git a/operator_versioned_docs/version-5.19/operate-and-manage/resilience/backup-restore/overview.mdx b/operator_versioned_docs/version-5.19/operate-and-manage/resilience/backup-restore/overview.mdx index df2bbb3d..8d0c8d3c 100644 --- a/operator_versioned_docs/version-5.19/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator_versioned_docs/version-5.19/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,26 +129,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -285,26 +270,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see [Configure persistence](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configure force or partial start diff --git a/operator_versioned_docs/version-5.20/operate-and-manage/resilience/backup-restore/overview.mdx b/operator_versioned_docs/version-5.20/operate-and-manage/resilience/backup-restore/overview.mdx index df2bbb3d..8d0c8d3c 100644 --- a/operator_versioned_docs/version-5.20/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator_versioned_docs/version-5.20/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,26 +129,11 @@ You can schedule backups using the `schedule` and `hotBackupTemplate` fields of The `schedule` field takes a valid cron expression. For example, you can configure the following scheduled backups: - ---- - - - - - - - - - - - - - - -
`30 10 * * *`At 10:30 AM every day
`0, 0, 1,15,25 * *`On 1st, 15th, and 25th of each month at midnight
`@monthly`On the first day of each month at midnight
+| Cron expression | Schedule | +| --- | --- | +| `30 10 * * *` | At 10:30 AM every day | +| `0, 0, 1,15,25 * *` | On 1st, 15th, and 25th of each month at midnight | +| `@monthly` | On the first day of each month at midnight | For a full list of supported expressions, see the [library documentation](https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#hdr-CRON_Expression_Format). @@ -285,26 +270,11 @@ To choose a data recovery timeout, you can use `dataRecoveryTimeout`. The field To decide how a cluster should behave when one or more members cannot rejoin after a cluster-wide restart, you can define one of the following cluster recovery policies. Operator supports all the policies in the Hazelcast Platform `cluster-data-recovery-policy configuration` options. For complete descriptions and advice on choosing a policy, see [Configure persistence](/hazelcast/latest/storage/configuring-persistence#policy). - ---- - - - - - - - - - - - - - - -
`FullRecoveryOnly`Does not allow partial start of the cluster.
`PartialRecoveryMostRecent`Allows partial start with the members that have most recent partition table.
`PartialRecoveryMostComplete`Allows partial start with the member that have most complete partition table.
+| Policy | Description | +| --- | --- | +| `FullRecoveryOnly` | Does not allow partial start of the cluster. | +| `PartialRecoveryMostRecent` | Allows partial start with the members that have most recent partition table. | +| `PartialRecoveryMostComplete` | Allows partial start with the member that have most complete partition table. | ### Configure force or partial start diff --git a/src/components/TableCodeBreaks.tsx b/src/components/TableCodeBreaks.tsx index c82ebabf..4ebbdb2c 100644 --- a/src/components/TableCodeBreaks.tsx +++ b/src/components/TableCodeBreaks.tsx @@ -1,7 +1,8 @@ import React from 'react'; -// Break points inside one word: after `/`, `_`, `.` or `-` between word characters, and at a camelCase hump. -const BOUNDARY = /(?<=\w[/_.-])(?=\w)|(?<=[a-z0-9])(?=[A-Z])/; +// Break points inside one word: after `/`, `_`, `.` or `-` between word characters, at a camelCase hump, and at an XML +// tag boundary (after a `>` that a word or `<` follows, and before `)(?=[\w<])|(?<=\w)(?=<\/)/; const SPACE = /^\s+$/; const NOWRAP = {whiteSpace: 'nowrap'} as const; diff --git a/src/components/Variable.tsx b/src/components/Variable.tsx index 9cf3dfde..3976789c 100644 --- a/src/components/Variable.tsx +++ b/src/components/Variable.tsx @@ -4,16 +4,19 @@ import {useActivePluginAndVersion, useAllDocsData} from '@docusaurus/plugin-cont import {variables, versionedVariables} from '@site/src/variables'; import substitute from '@site/plugins/lib/substitute-attributes'; import inUnbuiltVersion from '@site/src/lib/inUnbuiltVersion'; +import TableCodeBreaks from '@site/src/components/TableCodeBreaks'; // Single-sourced doc variables, resolved per active docs component + version (per-version values win). // -> the value, as text // -> a link; {name} tokens resolved in both. Off-site links open in a new tab. // `code` renders the link label in monospace (Markdown can't carry an unresolved `{attr}` in a code-labelled link href). +// `breaks` (added in table cells by src/remark/tableCodeBreaks.ts) lets that label wrap at readable points. export default function Variable(props: { name?: string; href?: string; text?: string; code?: boolean; + breaks?: boolean; }): React.ReactElement { const active = useActivePluginAndVersion(); const allDocsData = useAllDocsData(); @@ -26,7 +29,7 @@ export default function Variable(props: { if (props.href !== undefined) { const href = substitute(props.href, lookup); const text = substitute(props.text ?? '', lookup); - const label = props.code ? {text} : text; + const label = props.code ? props.breaks ? {text} : {text} : text; if (href.startsWith('/')) { // Only a version this site builds can pass the broken-link check; older versions are served outside the build. if (inUnbuiltVersion(href, allDocsData)) { diff --git a/src/components/test/TableCodeBreaks.test.js b/src/components/test/TableCodeBreaks.test.js index a73d8af0..64df6e7e 100644 --- a/src/components/test/TableCodeBreaks.test.js +++ b/src/components/test/TableCodeBreaks.test.js @@ -1,7 +1,8 @@ 'use strict' // Spec: inline code in a table cell reads and copies exactly as written, and the browser may break it only at -// whitespace, after `/`, `_`, `.` or `-` inside a name, and between the words of a camelCase name. +// whitespace, after `/`, `_`, `.` or `-` inside a name, between the words of a camelCase name, and at an XML tag +// boundary (after a `>` that a word or `<` follows, and before ` or whitespace between `white-space: nowrap` spans. const test = require('node:test') @@ -37,6 +38,9 @@ const CASES = { HTTPServer: ['HTTPServer'], '.mdx': ['.mdx'], name: ['name'], + 'b': ['', 'b', ''], + '': ['', ''], + 'optional>': ['optional>'], } test('breaks only at the allowed points', () => { diff --git a/src/components/test/Variable.test.js b/src/components/test/Variable.test.js index 3f460744..c2cd41f3 100644 --- a/src/components/test/Variable.test.js +++ b/src/components/test/Variable.test.js @@ -71,6 +71,14 @@ test('`code` sets the label in monospace; without it the label is plain text', ( assert.equal(code.text, value('hazelcast', 'current', name)) }) +test('`breaks` lets a code label wrap at readable points without changing its text', () => { + const props = {href: 'https://example.com', text: 'hazelcast.client.event.thread.count', code: true} + const $ = cheerio.load(render('hazelcast', 'current', {...props, breaks: true})) + assert.equal($('a code').text(), props.text) + assert.ok($('a code wbr').length > 0) + assert.equal(cheerio.load(render('hazelcast', 'current', props))('a code wbr').length, 0) +}) + test('outside a versioned docs page, the global values are used', () => { const name = Object.keys(variables)[0] client.active = undefined diff --git a/src/css/custom.css b/src/css/custom.css index a5edbdaa..c5c65b52 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -151,6 +151,10 @@ html:root { border-radius: var(--hive-border-radius); overflow: hidden; /* clip header/rows to the rounded corners */ } +/* Wrap a table that cannot fit the page column in
to scroll it sideways. */ +.markdown .table-scroll { + overflow-x: auto; +} .markdown table th, .markdown table td { text-align: left; diff --git a/src/remark/tableCodeBreaks.ts b/src/remark/tableCodeBreaks.ts index 3907f825..a00e5118 100644 --- a/src/remark/tableCodeBreaks.ts +++ b/src/remark/tableCodeBreaks.ts @@ -1,17 +1,21 @@ // Renders inline code inside table cells (Markdown tables and HTML ``/``) as ``, // which lets long names wrap only at readable points (see src/components/TableCodeBreaks.tsx). +// A `` link in a cell gets a `breaks` attribute, which makes it render its label the same way. -type Node = {type: string; name?: string; value?: string; attributes?: unknown[]; children?: Node[]}; +type Attribute = {type: string; name?: string}; +type Node = {type: string; name?: string; value?: string; attributes?: Attribute[]; children?: Node[]}; -const isCell = (node: Node) => - node.type === 'tableCell' || - ((node.type === 'mdxJsxFlowElement' || node.type === 'mdxJsxTextElement') && (node.name === 'td' || node.name === 'th')); +const isJsx = (node: Node) => node.type === 'mdxJsxFlowElement' || node.type === 'mdxJsxTextElement'; +const isCell = (node: Node) => node.type === 'tableCell' || (isJsx(node) && (node.name === 'td' || node.name === 'th')); +const isCodeVariable = (node: Node) => + isJsx(node) && node.name === 'Variable' && !!node.attributes?.some((a) => a.type === 'mdxJsxAttribute' && a.name === 'code'); export default function tableCodeBreaks() { return (tree: Node) => { const walk = (node: Node, inCell: boolean): void => { if (!node.children) return; const cell = inCell || isCell(node); + if (cell && isCodeVariable(node)) node.attributes!.push({type: 'mdxJsxAttribute', name: 'breaks'}); node.children = node.children.map((child) => cell && child.type === 'inlineCode' ? {type: 'mdxJsxTextElement', name: 'TableCodeBreaks', attributes: [], children: [{type: 'text', value: child.value}]} diff --git a/src/remark/test/tableCodeBreaks.test.js b/src/remark/test/tableCodeBreaks.test.js index 917e3eed..537c0346 100644 --- a/src/remark/test/tableCodeBreaks.test.js +++ b/src/remark/test/tableCodeBreaks.test.js @@ -29,6 +29,16 @@ test('HTML td and th, including code in a paragraph inside the cell', () => { } }) +test('a code Variable in a cell gets `breaks`; one outside a cell, or without `code`, does not', () => { + const variable = (...names) => ({type: 'mdxJsxTextElement', name: 'Variable', attributes: names.map((name) => ({type: 'mdxJsxAttribute', name})), children: []}) + const inCell = variable('href', 'code'), plain = variable('href'), outside = variable('href', 'code') + run({type: 'root', children: [{type: 'tableCell', children: [inCell, plain]}, {type: 'paragraph', children: [outside]}]}) + const has = (n) => n.attributes.some((a) => a.name === 'breaks') + assert.ok(has(inCell)) + assert.ok(!has(plain)) + assert.ok(!has(outside)) +}) + test('code outside a table cell is left alone', () => { const p = {type: 'paragraph', children: [code('x')]} run({type: 'root', children: [p, {type: 'mdxJsxFlowElement', name: 'table', attributes: [], children: []}]}) diff --git a/tutorials/stream-processing-fundamentals.mdx b/tutorials/stream-processing-fundamentals.mdx index b10707fb..bda773ae 100644 --- a/tutorials/stream-processing-fundamentals.mdx +++ b/tutorials/stream-processing-fundamentals.mdx @@ -48,46 +48,15 @@ You will need the following installed on your system: Each service is described briefly below. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**Service****Description**
hz1A Hazelcast node, 1 of 2. This node has a port mapping so that you can connect to it using CLC at localhost:5701.
hz2A Hazelcast node, 2 of 2. Will form a cluster with hz1
mcThe Hazelcast Management Center. Accessible at `http://localhost:8080`.
event\_generatorEmulates traffic from a set of machines. Writes to `machine_events`. Listens to `machine_controls`.
uiA Python program that listens to the `machine_events` map and displays temperature data graphically. Accessible at `http://localhost:8050`
redpandaA Kafka-compatible message broker.
kafka-uiA UI that can be used for viewing events in the Kafka topics used byt his lab. It is accessible at `http://localhost:8000`
+ | Service | Description | + | --- | --- | + | `hz1` | A Hazelcast node, 1 of 2. This node has a port mapping so that you can connect to it using CLC at localhost:5701. | + | `hz2` | A Hazelcast node, 2 of 2. Will form a cluster with hz1. | + | `mc` | The Hazelcast Management Center. Accessible at `http://localhost:8080`. | + | `event_generator` | Emulates traffic from a set of machines. Writes to `machine_events`. Listens to `machine_controls`. | + | `ui` | A Python program that listens to the `machine_events` map and displays temperature data graphically. Accessible at `http://localhost:8050`. | + | `redpanda` | A Kafka-compatible message broker. | + | `kafka-ui` | A UI that can be used for viewing events in the Kafka topics used by this lab. It is accessible at `http://localhost:8000` | ## Step 2: Get to Know the Data