From 5356f7f4d29bbe14ffac8bc0fc95b4f6d4ccbc27 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 17:12:49 +0000 Subject: [PATCH 1/7] Add headers to tables without one --- .../map/listening-for-map-entries.mdx | 16 +- .../compact-binary-specification.mdx | 70 ++-- .../sql/functions-and-operators.mdx | 8 + .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/sql-over-mongodb/mapping-to-mongo.mdx | 8 +- .../sql/statements/delete.mdx | 8 +- .../sql/statements/update.mdx | 8 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../authentication-overview.mdx | 10 +- .../authentication/jaas-authentication.mdx | 10 +- .../authentication/ldap-authentication.mdx | 10 +- .../authentication/tls-authentication.mdx | 10 +- hazelcast/reference/list-of-metrics.mdx | 382 +++++++++++------- hazelcast/reference/system-properties.mdx | 12 +- .../jaas-authentication.mdx | 10 +- .../securing-a-cluster/security-realms.mdx | 10 +- .../kubernetes/kubernetes-auto-discovery.mdx | 10 +- .../map/listening-for-map-entries.mdx | 16 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/statements/delete.mdx | 8 +- .../sql/statements/update.mdx | 8 +- .../compact-binary-specification.mdx | 70 ++-- .../version-5.3/reference/list-of-metrics.mdx | 350 +++++++++------- .../reference/system-properties.mdx | 12 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../map/listening-for-map-entries.mdx | 16 +- .../compact-binary-specification.mdx | 70 ++-- .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/sql-over-mongodb/mapping-to-mongo.mdx | 8 +- .../develop-build/sql/statements/delete.mdx | 8 +- .../develop-build/sql/statements/update.mdx | 8 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../jaas-authentication.mdx | 10 +- .../securing-a-cluster/security-realms.mdx | 10 +- .../version-5.4/reference/list-of-metrics.mdx | 360 ++++++++++------- .../reference/system-properties.mdx | 12 +- .../map/listening-for-map-entries.mdx | 16 +- .../compact-binary-specification.mdx | 70 ++-- .../sql/functions-and-operators.mdx | 8 + .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/sql-over-mongodb/mapping-to-mongo.mdx | 8 +- .../sql/statements/delete.mdx | 8 +- .../sql/statements/update.mdx | 8 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../authentication-overview.mdx | 10 +- .../authentication/jaas-authentication.mdx | 10 +- .../authentication/ldap-authentication.mdx | 10 +- .../authentication/tls-authentication.mdx | 10 +- .../version-5.5/reference/list-of-metrics.mdx | 382 +++++++++++------- .../reference/system-properties.mdx | 12 +- .../map/listening-for-map-entries.mdx | 16 +- .../compact-binary-specification.mdx | 70 ++-- .../sql/functions-and-operators.mdx | 8 + .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/sql-over-mongodb/mapping-to-mongo.mdx | 8 +- .../sql/statements/delete.mdx | 8 +- .../sql/statements/update.mdx | 8 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../authentication-overview.mdx | 10 +- .../authentication/jaas-authentication.mdx | 10 +- .../authentication/ldap-authentication.mdx | 10 +- .../authentication/tls-authentication.mdx | 10 +- .../version-5.6/reference/list-of-metrics.mdx | 382 +++++++++++------- .../reference/system-properties.mdx | 12 +- .../map/listening-for-map-entries.mdx | 16 +- .../compact-binary-specification.mdx | 70 ++-- .../sql/functions-and-operators.mdx | 8 + .../sql/sql-over-maps/querying-maps-sql.mdx | 16 +- .../sql/sql-over-mongodb/mapping-to-mongo.mdx | 8 +- .../sql/statements/delete.mdx | 8 +- .../sql/statements/update.mdx | 8 +- .../upgrade/upgrading-from-imdg-3.mdx | 208 ++++++---- .../authentication-overview.mdx | 10 +- .../authentication/jaas-authentication.mdx | 10 +- .../authentication/ldap-authentication.mdx | 10 +- .../authentication/tls-authentication.mdx | 10 +- .../version-5.7/reference/list-of-metrics.mdx | 382 +++++++++++------- .../reference/system-properties.mdx | 12 +- management-center/get-started/overview.mdx | 8 +- .../version-5.10/get-started/overview.mdx | 8 +- .../version-5.11/get-started/overview.mdx | 8 +- .../version-5.12/get-started/overview.mdx | 8 +- .../version-5.9/get-started/overview.mdx | 8 +- .../resilience/backup-restore/overview.mdx | 12 + .../version-5.16/configure/backup-restore.mdx | 12 + .../resilience/backup-restore/overview.mdx | 12 + .../resilience/backup-restore/overview.mdx | 12 + .../resilience/backup-restore/overview.mdx | 12 + .../resilience/backup-restore/overview.mdx | 12 + tutorials/stream-processing-fundamentals.mdx | 8 +- 90 files changed, 2899 insertions(+), 1769 deletions(-) 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..68b34fef 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 @@ -216,12 +216,14 @@ When you configure Hazelcast members with property `hazelcast.map.entry.filterin - + - -`hazelcast.map.entry.filtering.natural.event.types = false` (default) -`hazelcast.map.entry.filtering.natural.event.types = 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 predicate No event is delivered to entry listener @@ -274,6 +276,12 @@ Methods available within the `MapInterceptor` interface: + + +Method +Description + + `interceptGet` 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..d3fbc760 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 @@ -93,12 +93,14 @@ The partition hash and the type ID are common for all serialization methods supp - + -Name -Type -Description +Name +Type +Description + + Partition hash i32 @@ -124,12 +126,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Schema ID i64 @@ -150,11 +154,13 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Description +Name +Description + + Fixed-size Fields Fixed-size field offsets are deduced from the [schema](#schema). @@ -174,12 +180,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Variable-Size FieldOffset index 0 u8/u16/i32 @@ -249,11 +257,13 @@ Based on the length of the serialized data, the offsets of the variable-size fie - + -Name -Type +Name +Type + + type name string @@ -369,11 +379,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Data length i32 @@ -392,11 +404,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 item type @@ -423,11 +437,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 offset u8/u16/i32 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..3eba1fd1 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 @@ -75,11 +75,13 @@ The SQL service has access to the `Employee` object's fields. - + -Name -Type +Name +Type + + `name` `VARCHAR` @@ -115,11 +117,13 @@ For example, consider a map whose values are `Employee` objects with the followi - + -Name -Type +Name +Type + + `name` `String` 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..374dd48d 100644 --- a/hazelcast/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast/develop-and-build/sql/statements/delete.mdx @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` diff --git a/hazelcast/develop-and-build/sql/statements/update.mdx b/hazelcast/develop-and-build/sql/statements/update.mdx index 7f3cb6a4..b7ba18b4 100644 --- a/hazelcast/develop-and-build/sql/statements/update.mdx +++ b/hazelcast/develop-and-build/sql/statements/update.mdx @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` 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 - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -848,11 +868,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -945,11 +967,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1055,11 +1079,13 @@ See the following table for a before/after sample. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1110,11 +1136,13 @@ See the following table showing the interface code before and 5.3. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1163,11 +1191,13 @@ Because of this, the `AbstractEntryProcessor` interface has been removed. This s - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1242,11 +1272,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1302,11 +1334,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1404,11 +1438,13 @@ See the following table for the before/after built-in WAN publisher examples: - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Declarative Configuration @@ -1517,11 +1553,13 @@ See the following table for the before/after custom WAN publisher examples: - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + Declarative Configuration @@ -1635,11 +1673,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1702,11 +1742,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1825,11 +1867,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -1955,11 +1999,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -2003,11 +2049,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -2052,11 +2100,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + @@ -2140,11 +2190,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.3*** +3.12.x +5.3 + + diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx index 108aa92c..df3d28ba 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx @@ -216,12 +216,14 @@ When you configure Hazelcast members with property `hazelcast.map.entry.filterin - + - -`hazelcast.map.entry.filtering.natural.event.types = false` (default) -`hazelcast.map.entry.filtering.natural.event.types = 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 predicate No event is delivered to entry listener @@ -274,6 +276,12 @@ Methods available within the `MapInterceptor` interface: + + +Method +Description + + `interceptGet` diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx index 67ff692a..d3fbc760 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -93,12 +93,14 @@ The partition hash and the type ID are common for all serialization methods supp - + -Name -Type -Description +Name +Type +Description + + Partition hash i32 @@ -124,12 +126,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Schema ID i64 @@ -150,11 +154,13 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Description +Name +Description + + Fixed-size Fields Fixed-size field offsets are deduced from the [schema](#schema). @@ -174,12 +180,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Variable-Size FieldOffset index 0 u8/u16/i32 @@ -249,11 +257,13 @@ Based on the length of the serialized data, the offsets of the variable-size fie - + -Name -Type +Name +Type + + type name string @@ -369,11 +379,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Data length i32 @@ -392,11 +404,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 item type @@ -423,11 +437,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 offset u8/u16/i32 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..3eba1fd1 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 @@ -75,11 +75,13 @@ The SQL service has access to the `Employee` object's fields. - + -Name -Type +Name +Type + + `name` `VARCHAR` @@ -115,11 +117,13 @@ For example, consider a map whose values are `Employee` objects with the followi - + -Name -Type +Name +Type + + `name` `String` 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..aa560046 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 @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` 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..8e3c6d7f 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 @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` 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 - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -847,11 +867,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -947,11 +969,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1060,11 +1084,13 @@ See the following table for a before/after sample. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1115,11 +1141,13 @@ See the following table showing the interface code before and 5.0. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1168,11 +1196,13 @@ Because of this, the `AbstractEntryProcessor` interface has been removed. This s - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1247,11 +1277,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1307,11 +1339,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1409,11 +1443,13 @@ See the following table for the before/after built-in WAN publisher examples: - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -1522,11 +1558,13 @@ See the following table for the before/after custom WAN publisher examples: - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -1640,11 +1678,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1707,11 +1747,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1830,11 +1872,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1960,11 +2004,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2008,11 +2054,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2057,11 +2105,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2145,11 +2195,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 25e60dc2..2a1350bc 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -101,12 +101,14 @@ All Hazelcast provided authentication types support some common configuration pa - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `skip-role` `false` diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index d41e2739..77f95f99 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -118,12 +118,14 @@ public abstract class ClusterLoginModule implements LoginModule { - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `skipIdentity` `false` diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx index 67a6cf90..c17f6e51 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx @@ -39,12 +39,14 @@ The `direct` and `reverse` mapping modes allow a role search recursion. - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `url` diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index f0a6e9c4..dd4768ac 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -79,12 +79,14 @@ This `tls` authentication uses `cn` attribute from the subject DN as the role na - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `roleAttribute` `cn` 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..3fdb5a12 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 @@ -911,12 +915,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `multiMap.backupCount` count @@ -1096,12 +1102,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `replicatedMap.creationTime` ms @@ -1216,12 +1224,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `cache.averageGetTime` µs @@ -1311,12 +1321,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `queue.averageAge` ms @@ -1401,12 +1413,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `set.creationTime` ms @@ -1436,12 +1450,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `list.creationTime` ms @@ -1471,12 +1487,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `topic.creationTime` ms @@ -1506,12 +1524,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `reliableTopic.creationTime` ms @@ -1541,12 +1561,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `flakeIdGenerator.batchCount` count @@ -1576,12 +1598,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `pnCounter.creationTime` ms @@ -1616,12 +1640,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `executor.cancelled` count @@ -1696,12 +1722,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `classloading.loadedClassesCount` count @@ -1731,12 +1759,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `cluster.clock.clusterStartTime` ms @@ -1808,12 +1838,14 @@ Scope: member-side only. These metrics describe clients connected to the local m - + -Name -Unit -Description +Name +Unit +Description + + `client.endpoint.count` count @@ -1840,12 +1872,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `invocations.maxCurrentInvocations` count @@ -1875,12 +1909,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `cp.atomiclong.value` count @@ -1983,12 +2019,14 @@ We also have a `summary` section per object type which provides live and destroy - + -Name -Unit -Description +Name +Unit +Description + + `destroyed.count` count @@ -2013,12 +2051,14 @@ We also have a `summary` section per object type which provides live and destroy - + -Name -Unit -Description +Name +Unit +Description + + `event.eventQueueSize` count @@ -2080,12 +2120,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `listeners.eventsProcessed` count @@ -2110,12 +2152,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `file.partition.freeSpace` bytes @@ -2145,12 +2189,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `gc.majorCount` count @@ -2205,12 +2251,14 @@ The same metric values can be exposed under multiple prefixes. Depending on the - + -Name -Unit -Description +Name +Unit +Description + + `memory.committedHeap` bytes @@ -2289,12 +2337,14 @@ These metrics are provided for data structures using HD memory. They will be pre - + -Name -Unit -Description +Name +Unit +Description + + `usedMemory` bytes @@ -2333,12 +2383,14 @@ The names in this table use the client prefix form (`nearcache.`). For member-si - + -Name -Unit -Description +Name +Unit +Description + + `nearcache.creationTime` ms @@ -2429,12 +2481,14 @@ Within Hazelcast context, the **priority** operations are the ones that are impo - + -Name -Unit -Description +Name +Unit +Description + + `operation.adhoc.executedOperationsCount` count @@ -2680,12 +2734,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `os.committedVirtualMemorySize` bytes @@ -2755,12 +2811,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `partitions.activePartitionCount` count @@ -2875,12 +2933,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `persistence.liveTombstones` count @@ -2925,12 +2985,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `proxy.createdCount` count @@ -2960,12 +3022,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `raft.destroyedGroupIds` count @@ -3055,12 +3119,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `runtime.availableProcessors` count @@ -3107,12 +3173,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `tcp.acceptor.eventCount` count @@ -3372,12 +3440,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `thread.daemonThreadCount` count @@ -3412,12 +3482,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `transactions.commitCount` count @@ -3447,12 +3519,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `wan.ackDelayCurrentMillis` ms @@ -3617,12 +3691,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `ucn.updateTime` ms 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..68b34fef 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 @@ -216,12 +216,14 @@ When you configure Hazelcast members with property `hazelcast.map.entry.filterin - + - -`hazelcast.map.entry.filtering.natural.event.types = false` (default) -`hazelcast.map.entry.filtering.natural.event.types = 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 predicate No event is delivered to entry listener @@ -274,6 +276,12 @@ Methods available within the `MapInterceptor` interface: + + +Method +Description + + `interceptGet` 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..d3fbc760 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 @@ -93,12 +93,14 @@ The partition hash and the type ID are common for all serialization methods supp - + -Name -Type -Description +Name +Type +Description + + Partition hash i32 @@ -124,12 +126,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Schema ID i64 @@ -150,11 +154,13 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Description +Name +Description + + Fixed-size Fields Fixed-size field offsets are deduced from the [schema](#schema). @@ -174,12 +180,14 @@ Var-size objects are user-defined objects whose binary representation consists o - + -Name -Type -Description +Name +Type +Description + + Variable-Size FieldOffset index 0 u8/u16/i32 @@ -249,11 +257,13 @@ Based on the length of the serialized data, the offsets of the variable-size fie - + -Name -Type +Name +Type + + type name string @@ -369,11 +379,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Data length i32 @@ -392,11 +404,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 item type @@ -423,11 +437,13 @@ Consists of `Header`, `Data`, and `Offsets` sections in this order. - + -Name -Type +Name +Type + + Item 0 offset u8/u16/i32 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..3eba1fd1 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 @@ -75,11 +75,13 @@ The SQL service has access to the `Employee` object's fields. - + -Name -Type +Name +Type + + `name` `VARCHAR` @@ -115,11 +117,13 @@ For example, consider a map whose values are `Employee` objects with the followi - + -Name -Type +Name +Type + + `name` `String` 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..374dd48d 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 @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` 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..b7ba18b4 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 @@ -49,11 +49,13 @@ For example, in a map that contains `Employee` objects as values with the follow - + -Name -Type +Name +Type + + `startDate` `INT` 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 - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -847,11 +867,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -947,11 +969,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1060,11 +1084,13 @@ See the following table for a before/after sample. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1115,11 +1141,13 @@ See the following table showing the interface code before and 5.0. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1168,11 +1196,13 @@ Because of this, the `AbstractEntryProcessor` interface has been removed. This s - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1247,11 +1277,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1307,11 +1339,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1409,11 +1443,13 @@ See the following table for the before/after built-in WAN publisher examples: - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -1522,11 +1558,13 @@ See the following table for the before/after custom WAN publisher examples: - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + Declarative Configuration @@ -1640,11 +1678,13 @@ See the following table for the before/after sample implementations. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1707,11 +1747,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1830,11 +1872,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -1960,11 +2004,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2008,11 +2054,13 @@ See the following table for the before/after samples. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2057,11 +2105,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + @@ -2145,11 +2195,13 @@ See the following table for the before/after snippets. - + -***3.12.x*** -***5.0*** +3.12.x +5.0 + + diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 25e60dc2..2a1350bc 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -101,12 +101,14 @@ All Hazelcast provided authentication types support some common configuration pa - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `skip-role` `false` diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index d41e2739..77f95f99 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -118,12 +118,14 @@ public abstract class ClusterLoginModule implements LoginModule { - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `skipIdentity` `false` diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx index 67a6cf90..c17f6e51 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/ldap-authentication.mdx @@ -39,12 +39,14 @@ The `direct` and `reverse` mapping modes allow a role search recursion. - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `url` diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index f0a6e9c4..dd4768ac 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -79,12 +79,14 @@ This `tls` authentication uses `cn` attribute from the subject DN as the role na - + -Option Name -Default Value -Description +Option Name +Default Value +Description + + `roleAttribute` `cn` 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..67c81cca 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 @@ -917,12 +921,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `multiMap.backupCount` count @@ -1102,12 +1108,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `replicatedMap.creationTime` ms @@ -1222,12 +1230,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `cache.averageGetTime` µs @@ -1317,12 +1327,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `queue.averageAge` ms @@ -1407,12 +1419,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `set.creationTime` ms @@ -1442,12 +1456,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `list.creationTime` ms @@ -1477,12 +1493,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `topic.creationTime` ms @@ -1512,12 +1530,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `reliableTopic.creationTime` ms @@ -1547,12 +1567,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `flakeIdGenerator.batchCount` count @@ -1582,12 +1604,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `pnCounter.creationTime` ms @@ -1622,12 +1646,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `executor.cancelled` count @@ -1702,12 +1728,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `classloading.loadedClassesCount` count @@ -1737,12 +1765,14 @@ The above `latency` metrics are only measured for the members and do not represe - + -Name -Unit -Description +Name +Unit +Description + + `cluster.clock.clusterStartTime` ms @@ -1814,12 +1844,14 @@ Scope: member-side only. These metrics describe clients connected to the local m - + -Name -Unit -Description +Name +Unit +Description + + `client.endpoint.count` count @@ -1846,12 +1878,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `invocations.maxCurrentInvocations` count @@ -1881,12 +1915,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `cp.atomiclong.value` count @@ -1983,12 +2019,14 @@ We also have a `summary` section per object type which provides live and destroy - + -Name -Unit -Description +Name +Unit +Description + + `destroyed.count` count @@ -2013,12 +2051,14 @@ We also have a `summary` section per object type which provides live and destroy - + -Name -Unit -Description +Name +Unit +Description + + `event.eventQueueSize` count @@ -2080,12 +2120,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `listeners.eventsProcessed` count @@ -2110,12 +2152,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `file.partition.freeSpace` bytes @@ -2145,12 +2189,14 @@ Scope: client-side only. - + -Name -Unit -Description +Name +Unit +Description + + `gc.majorCount` count @@ -2205,12 +2251,14 @@ The same metric values can be exposed under multiple prefixes. Depending on the - + -Name -Unit -Description +Name +Unit +Description + + `memory.committedHeap` bytes @@ -2289,12 +2337,14 @@ These metrics are provided for data structures using HD memory. They will be pre - + -Name -Unit -Description +Name +Unit +Description + + `usedMemory` bytes @@ -2333,12 +2383,14 @@ The names in this table use the client prefix form (`nearcache.`). For member-si - + -Name -Unit -Description +Name +Unit +Description + + `nearcache.creationTime` ms @@ -2429,12 +2481,14 @@ Within Hazelcast context, the **priority** operations are the ones that are impo - + -Name -Unit -Description +Name +Unit +Description + + `operation.adhoc.executedOperationsCount` count @@ -2685,12 +2739,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `os.committedVirtualMemorySize` bytes @@ -2760,12 +2816,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `partitions.activePartitionCount` count @@ -2880,12 +2938,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `persistence.liveTombstones` count @@ -2930,12 +2990,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `proxy.createdCount` count @@ -2965,12 +3027,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `raft.destroyedGroupIds` count @@ -3070,12 +3134,14 @@ It refers to the number of operations sent to the member that have yet to be con - + -Name -Unit -Description +Name +Unit +Description + + `runtime.availableProcessors` count @@ -3122,12 +3188,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `tcp.acceptor.eventCount` count @@ -3387,12 +3455,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `thread.daemonThreadCount` count @@ -3427,12 +3497,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `transactions.commitCount` count @@ -3462,12 +3534,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `wan.ackDelayCurrentMillis` ms @@ -3632,12 +3706,14 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + -Name -Unit -Description +Name +Unit +Description + + `ucn.updateTime` ms 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..c10570c4 100644 --- a/operator/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator/operate-and-manage/resilience/backup-restore/overview.mdx @@ -134,6 +134,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -290,6 +296,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` 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..d8c3119e 100644 --- a/operator_versioned_docs/version-5.16/configure/backup-restore.mdx +++ b/operator_versioned_docs/version-5.16/configure/backup-restore.mdx @@ -138,6 +138,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -294,6 +300,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` 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..c10570c4 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 @@ -134,6 +134,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -290,6 +296,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` 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..c10570c4 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 @@ -134,6 +134,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -290,6 +296,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` 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..c10570c4 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 @@ -134,6 +134,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -290,6 +296,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` 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..c10570c4 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 @@ -134,6 +134,12 @@ The `schedule` field takes a valid cron expression. For example, you can configu + + +Cron expression +Schedule + + `30 10 * * *` @@ -290,6 +296,12 @@ To decide how a cluster should behave when one or more members cannot rejoin aft + + +Policy +Description + + `FullRecoveryOnly` diff --git a/tutorials/stream-processing-fundamentals.mdx b/tutorials/stream-processing-fundamentals.mdx index b10707fb..2aaf64d3 100644 --- a/tutorials/stream-processing-fundamentals.mdx +++ b/tutorials/stream-processing-fundamentals.mdx @@ -53,11 +53,13 @@ You will need the following installed on your system: - + - **Service** - **Description** + 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. From 9739f5032814f3bd3f4b5eca3ee8080b38860db5 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 17:37:47 +0000 Subject: [PATCH 2/7] Add backticks and CSS to big table --- .../compact-binary-specification.mdx | 88 ++++++++++--------- .../compact-binary-specification.mdx | 88 ++++++++++--------- .../compact-binary-specification.mdx | 88 ++++++++++--------- .../compact-binary-specification.mdx | 88 ++++++++++--------- .../compact-binary-specification.mdx | 88 ++++++++++--------- .../compact-binary-specification.mdx | 88 ++++++++++--------- src/css/custom.css | 4 + 7 files changed, 280 insertions(+), 252 deletions(-) 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 d3fbc760..699a9616 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,54 @@ 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` | `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 `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` | | `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 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 34959b33..e16dd3f5 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,54 @@ 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` | `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 `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` | | `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 diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx index d3fbc760..699a9616 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -30,50 +30,54 @@ 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` | `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 `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` | | `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 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 d3fbc760..699a9616 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,54 @@ 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` | `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 `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` | | `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 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 d3fbc760..699a9616 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,54 @@ 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` | `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 `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` | | `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 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 d3fbc760..699a9616 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,54 @@ 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` | `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 `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` | | `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 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; From 1e81bec1c600f288637d9d545665f1c68a35e3a3 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 17:40:19 +0000 Subject: [PATCH 3/7] Fix errors in big table --- .../compact-binary-specification.mdx | 22 +++++++++---------- .../compact-binary-specification.mdx | 22 +++++++++---------- .../compact-binary-specification.mdx | 22 +++++++++---------- .../compact-binary-specification.mdx | 22 +++++++++---------- .../compact-binary-specification.mdx | 22 +++++++++---------- .../compact-binary-specification.mdx | 22 +++++++++---------- 6 files changed, 66 insertions(+), 66 deletions(-) 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 699a9616..205d2095 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 @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | 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 e16dd3f5..b44f4330 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 @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx index 699a9616..205d2095 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | 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 699a9616..205d2095 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 @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | 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 699a9616..205d2095 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 @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | 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 699a9616..205d2095 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 @@ -35,18 +35,18 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | 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 | +| `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) | +| `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 WITH TIME ZONE` | `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 `boolean` values | no | | `int8[]` | `byte[]` | `optional>` | `sbyte[]?` | `Optional[list[int]]` | `Buffer \| null` | `[]int8` | | Array of `int8` values | no | @@ -56,11 +56,11 @@ You cannot redefine the endianness in Compact Serialization; it is inherited fro | `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 | +| `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` | | `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 | From c6fcd4c6872e0edc6b68061bb4d94e8c9866eaa2 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 17:53:20 +0000 Subject: [PATCH 4/7] Fix widths in that one table --- .../compact-binary-specification.mdx | 86 ++++++++++--------- .../compact-binary-specification.mdx | 86 ++++++++++--------- .../compact-binary-specification.mdx | 86 ++++++++++--------- .../compact-binary-specification.mdx | 86 ++++++++++--------- .../compact-binary-specification.mdx | 86 ++++++++++--------- .../compact-binary-specification.mdx | 86 ++++++++++--------- 6 files changed, 264 insertions(+), 252 deletions(-) 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 205d2095..45ff2112 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 @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 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 b44f4330..d55c3ee4 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 @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx index 205d2095..45ff2112 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 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 205d2095..45ff2112 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 @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 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 205d2095..45ff2112 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 @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 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 205d2095..45ff2112 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 @@ -31,52 +31,54 @@ 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 WITH TIME ZONE` | `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 `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` | | `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 | +| `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 From 26420be56bacfde090a7918f94a293b6b7f25ce0 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 18:55:38 +0000 Subject: [PATCH 5/7] Convert simple HTML tables to Markdown tables --- .../map/listening-for-map-entries.mdx | 88 +- .../compact-binary-specification.mdx | 287 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../sql/statements/delete.mdx | 36 +- .../sql/statements/update.mdx | 36 +- .../authentication-overview.mdx | 36 +- .../authentication/jaas-authentication.mdx | 36 +- .../authentication/tls-authentication.mdx | 24 +- hazelcast/reference/list-of-metrics.mdx | 3346 ++++------------- .../jaas-authentication.mdx | 36 +- .../map/listening-for-map-entries.mdx | 88 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../sql/statements/delete.mdx | 36 +- .../sql/statements/update.mdx | 36 +- .../compact-binary-specification.mdx | 287 +- .../version-5.3/reference/list-of-metrics.mdx | 3000 +++------------ .../map/listening-for-map-entries.mdx | 88 +- .../compact-binary-specification.mdx | 287 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../develop-build/sql/statements/delete.mdx | 36 +- .../develop-build/sql/statements/update.mdx | 36 +- .../jaas-authentication.mdx | 36 +- .../version-5.4/reference/list-of-metrics.mdx | 3020 +++------------ .../map/listening-for-map-entries.mdx | 88 +- .../compact-binary-specification.mdx | 287 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../sql/statements/delete.mdx | 36 +- .../sql/statements/update.mdx | 36 +- .../authentication-overview.mdx | 36 +- .../authentication/jaas-authentication.mdx | 36 +- .../authentication/tls-authentication.mdx | 24 +- .../version-5.5/reference/list-of-metrics.mdx | 3336 ++++------------ .../map/listening-for-map-entries.mdx | 88 +- .../compact-binary-specification.mdx | 287 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../sql/statements/delete.mdx | 36 +- .../sql/statements/update.mdx | 36 +- .../authentication-overview.mdx | 36 +- .../authentication/jaas-authentication.mdx | 36 +- .../authentication/tls-authentication.mdx | 24 +- .../version-5.6/reference/list-of-metrics.mdx | 3336 ++++------------ .../map/listening-for-map-entries.mdx | 88 +- .../compact-binary-specification.mdx | 287 +- .../sql/sql-over-maps/querying-maps-sql.mdx | 57 +- .../sql/statements/delete.mdx | 36 +- .../sql/statements/update.mdx | 36 +- .../authentication-overview.mdx | 36 +- .../authentication/jaas-authentication.mdx | 36 +- .../authentication/tls-authentication.mdx | 24 +- .../version-5.7/reference/list-of-metrics.mdx | 3340 ++++------------ .../resilience/backup-restore/overview.mdx | 62 +- .../version-5.16/configure/backup-restore.mdx | 62 +- .../resilience/backup-restore/overview.mdx | 62 +- .../resilience/backup-restore/overview.mdx | 62 +- .../resilience/backup-restore/overview.mdx | 62 +- .../resilience/backup-restore/overview.mdx | 62 +- tutorials/stream-processing-fundamentals.mdx | 51 +- 57 files changed, 4673 insertions(+), 18608 deletions(-) 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 68b34fef..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,42 +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 @@ -271,44 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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 45ff2112..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 @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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/sql/sql-over-maps/querying-maps-sql.mdx b/hazelcast/develop-and-build/sql/sql-over-maps/querying-maps-sql.mdx index 3eba1fd1..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,28 +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. @@ -112,32 +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/statements/delete.mdx b/hazelcast/develop-and-build/sql/statements/delete.mdx index 374dd48d..00797f5c 100644 --- a/hazelcast/develop-and-build/sql/statements/delete.mdx +++ b/hazelcast/develop-and-build/sql/statements/delete.mdx @@ -44,36 +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 b7ba18b4..f38ae02f 100644 --- a/hazelcast/develop-and-build/sql/statements/update.mdx +++ b/hazelcast/develop-and-build/sql/statements/update.mdx @@ -44,36 +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/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 2a1350bc..18ff2b5a 100644 --- a/hazelcast/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -95,37 +95,11 @@ Besides authentication, security realms can also contain [Identity](./identity-c All Hazelcast provided authentication types support some common configuration parameters. - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`skip-role``false`When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials.
`skip-identity``false`When set to `true`, the authentication mechanism won't use the remote party name after the authentication.
`skip-endpoint``false`When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication.
+| Option Name | Default Value | Description | +| --- | --- | --- | +| `skip-role` | `false` | When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials. | +| `skip-identity` | `false` | When set to `true`, the authentication mechanism won't use the remote party name after the authentication. | +| `skip-endpoint` | `false` | When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication. | For more advanced configuration options, see following sections. diff --git a/hazelcast/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index 77f95f99..6fe035d2 100644 --- a/hazelcast/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -112,37 +112,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/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index dd4768ac..3d140d76 100644 --- a/hazelcast/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -73,24 +73,6 @@ hazelcast: This `tls` authentication uses `cn` attribute from the subject DN as the role name. For example, if the subject DN in the certificate is `cn=admin,ou=Devs,o=Hazelcast` then the `"admin"` role name is assigned to the client. - ----- - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`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 029bdf6e..be60a00c 100644 --- a/hazelcast/reference/list-of-metrics.mdx +++ b/hazelcast/reference/list-of-metrics.mdx @@ -915,2564 +915,426 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.entrySetCount`countNumber of entry set operations on this member
`multiMap.evictionCount`countNumber of evictions completed on locally owned entries, backups are not included
`multiMap.expirationCount`countNumber of expirations completed on locally owned entries, backups are not included
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.indexesSkippedQueryCount`countTotal number of local queries performed on the multimap which cannot use indexes
`multiMap.noMatchingIndexQueryCount`countTotal number of local queries performed on the multimap which had no matching index
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.queryLimiterHitCount`countNumber of times the query result size limiter was hit on this member
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount`countNumber of entry set operations 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
`replicatedMap.valuesCount`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-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 - -Scope: member-side only. These metrics describe clients connected to the local member. - - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
- -
- -
-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
- -
- -
-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
+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 |
-Partitions +Flake ID Generator - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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) |
-Persistence +PN Counter - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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 |
-Proxies +Executor Service - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Raft Algorithm +User Code Deployment - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Runtime +Listeners - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+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 |
-TCP +Capacity -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. +| 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 | - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+
+ +
+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 |
-Threads +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`. + +::: @@ -3489,277 +1351,489 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + - + - + - + - + - + - + - + - -
`thread.daemonThreadCount``operation.adhoc.executedOperationsCount` countCurrent number of live daemon thread in the JVMNumber of executed adhoc operations
`thread.peakThreadCount``operation.asyncOperations` countPeak live thread count since the JVM startedNumber of current executing async operations on the operation service of the member
`thread.threadCount``operation.callTimeoutCount` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of operation call timeouts on the member
`thread.totalStartedThreadCount``operation.completedCount` countTotal number of threads started since the JVM startedNumber of completed operations
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - + - -
NameUnitDescription`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`transactions.commitCount``operation.generic.executedOperationsCount` countNumber of committed transactionsNumber of executed generic operations
`transactions.rollbackCount``operation.genericPriorityQueueSize` countNumber of rollbacked transactionsNumber of priority generic operations pending (waiting in the priority queue)
`transactions.startCount``operation.genericQueueSize` countNumber of started transactionsNumber of normal generic operations pending (waiting in the queue)
- -
- -
-WAN Replication - - ----- - - - - + + + - - - + - + - - - + + + + + + + + - + - + + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - - - + + + - + - + - -
NameUnitDescription`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`wan.ackDelayCurrentMillis``operation.invocations.backupTimeoutMillis` msDuration of ongoing delaying, -1 if there is no current delayingOperation 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)
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying`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
`wan.ackDelayLastStart``operation.invocations.heartbeatBroadcastPeriodMillis` msTimestamp of the last start of delaying the acknowledgmentsBroadcast 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
`wan.ackDelayTotalCount``operation.invocations.heartbeatPacketsSent` countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)Number of sent heartbeat packets
`wan.ackDelayTotalMillis``operation.invocations.invocationScanPeriodMillis` msTotal amount of time delaying the WAN acknowledgments was taking placePeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`wan.consistencyCheck.lastCheckedLeafCount``operation.invocations.lastCallId` countNumber of checked partitions on the last WAN consistency checkLast issued invocation call ID
`wan.consistencyCheck.lastDiffLeafCount``operation.invocations.normalTimeouts` countNumber of different Merkle tree leaves on the last WAN consistency checkNumber of times that the operation invocations have timed out
`wan.consistencyCheck.lastDiffPartitionCount``operation.invocations.pending` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of pending invocations
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`wan.droppedCount``operation.parker.parkQueueCount` countNumber of dropped entry eventsNumber of separate WaitSet (set of operations waiting for some condition)
`wan.outboundQueueSize``operation.parker.totalParkedOperationCount` countTotal number of WAN events currently placed in the WAN queues of primary partitions on this memberTotal number of parked operations
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`wan.removeCount``operation.partitionThreadCount` countNumber of entry remove eventsNumber of partition operation handler threads for given member
`wan.syncCount``operation.priorityQueueSize` countNumber of entry sync eventsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.sync.avgEntriesPerLeaf``operation.queueSize` countAverage of the number of records belong the synchronized Merkle tree nodes have + +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. + +
`wan.sync.maxLeafEntryCount``operation.responseQueueSize` countMaximum of the number of records belong the synchronized Merkle tree nodes haveTotal number of pending responses (work queue for the response threads) to be processed.
`wan.sync.minLeafEntryCount``operation.responses.backupCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of backup acknowledgement responses
`wan.sync.nodesSynced``operation.responses.errorCount` countNumber of the synchronized Merkle tree nodesNumber of error responses
`wan.sync.partitionsSynced``operation.responses.missingCount` countNumber of synchronized partitionsNumber of responses having missing invocations
`wan.sync.partitionsToSync``operation.responses.normalCount` countNumber of partitions to synchronizeNumber of normal responses
`wan.sync.recordsSynced``operation.responses.timeoutCount` countNumber of synchronized recordsNumber of call timeout responses
`wan.sync.syncDurationNanos`nsDuration of the last synchronization`operation.retryCount`countNumber of retried operations
`wan.sync.stdDevEntriesPerLeaf``operation.runningCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.runningPartitionCount`countNumber of currently running partition operations
`wan.totalPublishedEventCount``operation.thread.completedOperationCount` countTotal number of published WAN events from this memberNumber of completed operations by this operation thread
`wan.updateCount``operation.thread.completedOperationBatchCount` countNumber of entry update eventsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`wan.failedTransmitCount``operation.thread.completedPartitionSpecificRunnableCount` countNumber of attempted WAN replication transmissions that have failedNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
- -
- -
-User Code Namespaces - - ----- - - - - + + + - - - - - + + + - + - + - - - + + + - - - + + +
NameUnitDescription`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`ucn.updateTime`msUpdate time of a user code namespace configuration`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`ucn.resourceCount``operation.thread.errorCount` countNumber of resources contained in a namespaceTotal number of failed tasks on this operation thread
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace`operation.thread.priorityPendingCount`countNumber 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-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) | + +
+ +
+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.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 | + +
+ +
+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 + +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. + +| 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 | + +
+ +
+Threads + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + +| 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 | + +
+ +
+User Code Namespaces + +| 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.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 015b56d8..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,37 +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/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 c49a87a0..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,42 +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 @@ -265,44 +235,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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/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 bc36ca3f..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,28 +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. @@ -112,32 +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 e56f5400..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,36 +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 aeef768c..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,36 +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 d55c3ee4..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 @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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 83cc042c..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 @@ -528,2162 +528,386 @@ The above `*latency` metrics are only measured for the members and they are not
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.backupEntryMemoryCost`bytesMemory cost of backup entries in this member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.heapCost`countTotal heap cost for the multimap on this member
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.ownedEntryMemoryCost`bytesMemory cost of owned multimap entries on this member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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.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)
- +| 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 | +
-Proxies +CP Subsystem - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Raft Algorithm +Events - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Runtime +Listeners - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-TCP +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`. + +::: @@ -2694,478 +918,464 @@ It refers to the number of operations sent to the member that have yet to be con - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + - + - + - - - - - - + - + - + - + - - - - - - + - + - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - -
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 pipelineUnitDescription
`tcp.connection.out.normalFramesWritten``operation.adhoc.executedOperationsCount` countNumber of written normal frames on this outbound nio pipelineNumber of executed adhoc operations
`tcp.connection.out.priorityFramesWritten``operation.asyncOperations` countNumber of priority frames written into this nio pipeline
`tcp.connection.out.priorityWriteQueuePendingBytes`bytesTotal size of priority frames pending in the write queueNumber of current executing async operations on the operation service of the member
`tcp.connection.out.priorityWriteQueueSize``operation.completedCount` countNumber of priority frames pending in the write queueNumber of completed operations
`tcp.connection.out.scheduled``operation.failedBackups` 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 failed backup operations on the operation service of the member
`tcp.connection.out.writeQueueSize``operation.generic.executedOperationsCount` countNumber of normal frames pending in the write queue
`tcp.inputThread/outputThread.bytesTransceived`bytesAmount of transceived data on this NioThreadNumber of executed generic operations
`tcp.inputThread/outputThread.completedTaskCount``operation.genericPriorityQueueSize` countTotal number of completed tasks on this NioThreadNumber of priority generic operations pending (waiting in the priority queue)
`tcp.inputThread/outputThread.eventCount``operation.genericQueueSize` countTotal number of the connections accepted by TcpServerAcceptorNumber of normal generic operations pending (waiting in the queue)
`tcp.inputThread/outputThread.framesTransceived``operation.genericThreadCount` countNumber of transceived frames on this NioThreadNumber of generic operation handler threads in the member
`tcp.inputThread/outputThread.idleTimeMillis``operation.invocations.backupTimeoutMillis` msIdle time that indicates the duration since the last read/writeOperation 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)
`tcp.inputThread/outputThread.ioThreadId``operation.invocations.backupTimeouts` countThread ID of this NioThreadNumber of operation invocations that acknowledgment from backups has timeout
`tcp.inputThread/outputThread.priorityFramesTransceived``operation.invocations.delayedExecutionCount` countNumber of transceived priority framesNumber of times that the operation invocations have delayed
`tcp.inputThread/outputThread.processCount`countNumber of processed `NioPipeline`s on this NioThread`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.
`tcp.inputThread/outputThread.selectorIOExceptionCount``operation.invocations.heartbeatPacketsReceived` countNumber of times that I/O exceptions are thrown during selectionNumber of received heartbeat packets
`tcp.inputThread/outputThread.taskQueueSize``operation.invocations.heartbeatPacketsSent` countNumber of pending tasks on the queue of NioThreadNumber of sent heartbeat packets
- -
- -
-Threads - - ----- - - - - + + + - - - - - + + + - + - + - + - + - + - + - -
NameUnitDescription`operation.invocations.invocationScanPeriodMillis`msPeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`thread.daemonThreadCount`countCurrent number of live daemon thread in the JVM`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`thread.peakThreadCount``operation.invocations.lastCallId` countPeak live thread count since the JVM startedLast issued invocation call ID
`thread.threadCount``operation.invocations.normalTimeouts` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of times that the operation invocations have timed out
`thread.totalStartedThreadCount``operation.invocations.pending` countTotal number of threads started since the JVM startedNumber of pending invocations
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - - - -
NameUnitDescription`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`transactions.commitCount``operation.parker.parkQueueCount` countNumber of committed transactionsNumber of separate WaitSet (set of operations waiting for some condition)
`transactions.rollbackCount``operation.parker.totalParkedOperationCount` countNumber of rollbacked transactionsTotal number of parked operations
`transactions.startCount``operation.partition.executedOperationsCount` 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 acknowledgmentsNumber of executed partition operations on the specified partition
`wan.ackDelayTotalCount``operation.partitionThreadCount` 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 placeNumber of partition operation handler threads for given member
`wan.consistencyCheck.lastCheckedPartitionCount``operation.priorityQueueSize` countNumber of checked partitions on the last WAN consistency checkNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.consistencyCheck.lastCheckedLeafCount``operation.queueSize` countNumber of checked partitions on the last WAN consistency check + +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. + +
`wan.consistencyCheck.lastDiffLeafCount``operation.responseQueueSize` countNumber of different Merkle tree leaves on the last WAN consistency checkTotal number of pending responses (work queue for the response threads) to be processed.
`wan.consistencyCheck.lastDiffPartitionCount``operation.responses.backupCount` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of backup acknowledgement responses
`wan.consistencyCheck.lastEntriesToSync``operation.responses.errorCount` countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency checkNumber of error responses
`wan.droppedCount``operation.responses.missingCount` countNumber of dropped entry eventsNumber of responses having missing invocations
`wan.outboundQueueSize``operation.responses.normalCount` countOutbound WAN queue size on this memberNumber of normal responses
`wan.removeCount``operation.responses.timeoutCount` countNumber of entry remove eventsNumber of call timeout responses
`wan.syncCount``operation.retryCount` countNumber of entry sync eventsNumber of retried operations
`wan.sync.avgEntriesPerLeaf``operation.runningCount` countAverage of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.maxLeafEntryCount``operation.runningGenericCount` countMaximum of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running generic (non partition specific) operations
`wan.sync.minLeafEntryCount``operation.runningPartitionCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running partition operations
`wan.sync.nodesSynced``operation.thread.completedOperationCount` countNumber of the synchronized Merkle tree nodesNumber of completed operations by this operation thread
`wan.sync.partitionsSynced``operation.thread.completedOperationBatchCount` countNumber of synchronized partitionsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.sync.partitionsToSync``operation.thread.completedPacketCount` countNumber of partitions to synchronizeNumber of packets that executed by this operation thread
`wan.sync.recordsSynced``operation.thread.completedPartitionSpecificRunnableCount` countNumber of synchronized records
`wan.sync.syncDurationNanos`nsDuration of the last synchronizationNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
`wan.sync.stdDevEntriesPerLeaf``operation.thread.completedRunnableCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveTotal number of runnables executed by this operation thread
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.thread.errorCount`countTotal number of failed tasks on this operation thread
`wan.totalPublishedEventCount``operation.thread.normalPendingCount` countTotal number of published WAN events from this memberNumber of normal pending operations (tasks)
`wan.updateCount``operation.thread.priorityPendingCount` countNumber of entry update eventsNumber 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 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 | + +
+ +
+Persistence + +| 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) | + +
+ +
+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 + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + +| 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.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx index df3d28ba..dd492595 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/distributed-data-structures/map/listening-for-map-entries.mdx @@ -210,42 +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 @@ -271,44 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx index 45ff2112..63767951 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/serialization/compact-serialization/compact-binary-specification.mdx @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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/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 3eba1fd1..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,28 +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. @@ -112,32 +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/statements/delete.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/statements/delete.mdx index aa560046..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,36 +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 8e3c6d7f..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,36 +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/operate-manage/securing-a-cluster/authentication-types/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/authentication-types/jaas-authentication.mdx index 015b56d8..b145fd53 100644 --- a/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/authentication-types/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.4/operate-manage/securing-a-cluster/authentication-types/jaas-authentication.mdx @@ -77,37 +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.4/reference/list-of-metrics.mdx b/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx index 75e7296c..11dafe90 100644 --- a/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx +++ b/hazelcast_versioned_docs/version-5.4/reference/list-of-metrics.mdx @@ -531,960 +531,246 @@ The above `*latency` metrics are only measured for the members and they are not
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.backupEntryMemoryCost`bytesMemory cost of backup entries in this member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.heapCost`countTotal heap cost for the multimap on this member
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.ownedEntryMemoryCost`bytesMemory cost of owned multimap entries on this member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 |
@@ -1493,511 +779,131 @@ The above `*latency` metrics are only measured for the members and they are not - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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) |
@@ -2008,949 +914,7 @@ The above `*latency` metrics are only measured for the members and they are not 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`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 +::: @@ -2967,274 +931,474 @@ It refers to the number of operations sent to the member that have yet to be con - + - + - + - + - + - + - + - + - -
`thread.daemonThreadCount``operation.adhoc.executedOperationsCount` countCurrent number of live daemon thread in the JVMNumber of executed adhoc operations
`thread.peakThreadCount``operation.asyncOperations` countPeak live thread count since the JVM startedNumber of current executing async operations on the operation service of the member
`thread.threadCount``operation.completedCount` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of completed operations
`thread.totalStartedThreadCount``operation.failedBackups` countTotal number of threads started since the JVM startedNumber of failed backup operations on the operation service of the member
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - + - -
NameUnitDescription`operation.generic.executedOperationsCount`countNumber of executed generic operations
`transactions.commitCount``operation.genericPriorityQueueSize` countNumber of committed transactionsNumber of priority generic operations pending (waiting in the priority queue)
`transactions.rollbackCount``operation.genericQueueSize` countNumber of rollbacked transactionsNumber of normal generic operations pending (waiting in the queue)
`transactions.startCount``operation.genericThreadCount` countNumber of started transactionsNumber of generic operation handler threads in the member
- -
- -
-WAN Replication - - - - ----- - - - - + + + - - - - - + + + - - - + + + - + - + + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - - - + + + - + - + - -
NameUnitDescription`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)
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`wan.ackDelayLastStart``operation.invocations.heartbeatBroadcastPeriodMillis` msTimestamp of the last start of delaying the acknowledgmentsBroadcast 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
`wan.ackDelayTotalCount``operation.invocations.heartbeatPacketsSent` countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)Number of sent heartbeat packets
`wan.ackDelayTotalMillis``operation.invocations.invocationScanPeriodMillis` msTotal amount of time delaying the WAN acknowledgments was taking placePeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`wan.consistencyCheck.lastCheckedLeafCount``operation.invocations.lastCallId` countNumber of checked partitions on the last WAN consistency checkLast issued invocation call ID
`wan.consistencyCheck.lastDiffLeafCount``operation.invocations.normalTimeouts` countNumber of different Merkle tree leaves on the last WAN consistency checkNumber of times that the operation invocations have timed out
`wan.consistencyCheck.lastDiffPartitionCount``operation.invocations.pending` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of pending invocations
`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`wan.consistencyCheck.lastEntriesToSync``operation.parker.parkQueueCount` countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency checkNumber of separate WaitSet (set of operations waiting for some condition)
`wan.droppedCount``operation.parker.totalParkedOperationCount` countNumber of dropped entry eventsTotal number of parked operations
`wan.outboundQueueSize``operation.partition.executedOperationsCount` countTotal number of WAN events currently placed in the WAN queues of primary partitions on this memberNumber of executed partition operations on the specified partition
`wan.removeCount``operation.partitionThreadCount` countNumber of entry remove eventsNumber of partition operation handler threads for given member
`wan.syncCount``operation.priorityQueueSize` countNumber of entry sync eventsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.sync.avgEntriesPerLeaf``operation.queueSize` countAverage of the number of records belong the synchronized Merkle tree nodes have + +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. + +
`wan.sync.maxLeafEntryCount``operation.responseQueueSize` countMaximum of the number of records belong the synchronized Merkle tree nodes haveTotal number of pending responses (work queue for the response threads) to be processed.
`wan.sync.minLeafEntryCount``operation.responses.backupCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of backup acknowledgement responses
`wan.sync.nodesSynced``operation.responses.errorCount` countNumber of the synchronized Merkle tree nodesNumber of error responses
`wan.sync.partitionsSynced``operation.responses.missingCount` countNumber of synchronized partitionsNumber of responses having missing invocations
`wan.sync.partitionsToSync``operation.responses.normalCount` countNumber of partitions to synchronizeNumber of normal responses
`wan.sync.recordsSynced``operation.responses.timeoutCount` countNumber of synchronized recordsNumber of call timeout responses
`wan.sync.syncDurationNanos`nsDuration of the last synchronization`operation.retryCount`countNumber of retried operations
`wan.sync.stdDevEntriesPerLeaf``operation.runningCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.runningPartitionCount`countNumber of currently running partition operations
`wan.totalPublishedEventCount``operation.thread.completedOperationCount` countTotal number of published WAN events from this memberNumber of completed operations by this operation thread
`wan.updateCount``operation.thread.completedOperationBatchCount` countNumber of entry update eventsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`wan.failedTransmitCount``operation.thread.completedPartitionSpecificRunnableCount` countNumber of attempted WAN replication transmissions that have failedNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
- -
- -
-User Code Namespaces - - ----- - - - - + + + - - - - - + + + - + - + - - - + + + - - - + + +
NameUnitDescription`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`ucn.updateTime`msUpdate time of a user code namespace configuration`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`ucn.resourceCount``operation.thread.errorCount` countNumber of resources contained in a namespaceTotal number of failed tasks on this operation thread
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace`operation.thread.priorityPendingCount`countNumber 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 + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + + + +| 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 + +| 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/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 cbdae155..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,42 +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 @@ -271,44 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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 45ff2112..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 @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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/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 3eba1fd1..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,28 +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. @@ -112,32 +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/statements/delete.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/statements/delete.mdx index 374dd48d..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,36 +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 b7ba18b4..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,36 +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/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 2a1350bc..18ff2b5a 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -95,37 +95,11 @@ Besides authentication, security realms can also contain [Identity](./identity-c All Hazelcast provided authentication types support some common configuration parameters. - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`skip-role``false`When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials.
`skip-identity``false`When set to `true`, the authentication mechanism won't use the remote party name after the authentication.
`skip-endpoint``false`When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication.
+| Option Name | Default Value | Description | +| --- | --- | --- | +| `skip-role` | `false` | When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials. | +| `skip-identity` | `false` | When set to `true`, the authentication mechanism won't use the remote party name after the authentication. | +| `skip-endpoint` | `false` | When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication. | For more advanced configuration options, see following sections. diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index 77f95f99..6fe035d2 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -112,37 +112,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.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index dd4768ac..3d140d76 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -73,24 +73,6 @@ hazelcast: This `tls` authentication uses `cn` attribute from the subject DN as the role name. For example, if the subject DN in the certificate is `cn=admin,ou=Devs,o=Hazelcast` then the `"admin"` role name is assigned to the client. - ----- - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`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 3fdb5a12..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 @@ -909,2530 +909,431 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.entrySetCount`countNumber of entry set operations on this member
`multiMap.evictionCount`countNumber of evictions completed on locally owned entries, backups are not included
`multiMap.expirationCount`countNumber of expirations completed on locally owned entries, backups are not included
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.indexesSkippedQueryCount`countTotal number of local queries performed on the multimap which cannot use indexes
`multiMap.noMatchingIndexQueryCount`countTotal number of local queries performed on the multimap which had no matching index
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.queryLimiterHitCount`countNumber of times the query result size limiter was hit on this member
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount`countNumber of entry set operations 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
`replicatedMap.valuesCount`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-
-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 - -Scope: member-side only. These metrics describe clients connected to the local member. - - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
- -
- -
-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
- -
- -
-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
+
+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 |
-Partitions +Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Persistence +Reliable Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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 |
-Proxies +Flake ID Generator - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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) |
-Raft Algorithm +PN Counter - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Runtime +Listeners - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+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 |
-TCP +Capacity -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. +| 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 | - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+
+ +
+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 |
-
-Threads +
+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`. + +::: @@ -3449,277 +1350,478 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + - + - + - + - + - + - + - + - -
`thread.daemonThreadCount``operation.adhoc.executedOperationsCount` countCurrent number of live daemon thread in the JVMNumber of executed adhoc operations
`thread.peakThreadCount``operation.asyncOperations` countPeak live thread count since the JVM startedNumber of current executing async operations on the operation service of the member
`thread.threadCount``operation.completedCount` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of completed operations
`thread.totalStartedThreadCount``operation.failedBackups` countTotal number of threads started since the JVM startedNumber of failed backup operations on the operation service of the member
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - + - -
NameUnitDescription`operation.generic.executedOperationsCount`countNumber of executed generic operations
`transactions.commitCount``operation.genericPriorityQueueSize` countNumber of committed transactionsNumber of priority generic operations pending (waiting in the priority queue)
`transactions.rollbackCount``operation.genericQueueSize` countNumber of rollbacked transactionsNumber of normal generic operations pending (waiting in the queue)
`transactions.startCount``operation.genericThreadCount` countNumber of started transactionsNumber of generic operation handler threads in the member
- -
- -
-WAN Replication - - ----- - - - - + + + - - - - - + + + - - - + + + - + - + + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - - - + + + - + - + - -
NameUnitDescription`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)
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`wan.ackDelayLastStart``operation.invocations.heartbeatBroadcastPeriodMillis` msTimestamp of the last start of delaying the acknowledgmentsBroadcast 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
`wan.ackDelayTotalCount``operation.invocations.heartbeatPacketsSent` countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)Number of sent heartbeat packets
`wan.ackDelayTotalMillis``operation.invocations.invocationScanPeriodMillis` msTotal amount of time delaying the WAN acknowledgments was taking placePeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`wan.consistencyCheck.lastCheckedLeafCount``operation.invocations.lastCallId` countNumber of checked partitions on the last WAN consistency checkLast issued invocation call ID
`wan.consistencyCheck.lastDiffLeafCount``operation.invocations.normalTimeouts` countNumber of different Merkle tree leaves on the last WAN consistency checkNumber of times that the operation invocations have timed out
`wan.consistencyCheck.lastDiffPartitionCount``operation.invocations.pending` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of pending invocations
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`wan.droppedCount``operation.parker.parkQueueCount` countNumber of dropped entry eventsNumber of separate WaitSet (set of operations waiting for some condition)
`wan.outboundQueueSize``operation.parker.totalParkedOperationCount` countTotal number of WAN events currently placed in the WAN queues of primary partitions on this memberTotal number of parked operations
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`wan.removeCount``operation.partitionThreadCount` countNumber of entry remove eventsNumber of partition operation handler threads for given member
`wan.syncCount``operation.priorityQueueSize` countNumber of entry sync eventsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.sync.avgEntriesPerLeaf``operation.queueSize` countAverage of the number of records belong the synchronized Merkle tree nodes have + +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. + +
`wan.sync.maxLeafEntryCount``operation.responseQueueSize` countMaximum of the number of records belong the synchronized Merkle tree nodes haveTotal number of pending responses (work queue for the response threads) to be processed.
`wan.sync.minLeafEntryCount``operation.responses.backupCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of backup acknowledgement responses
`wan.sync.nodesSynced``operation.responses.errorCount` countNumber of the synchronized Merkle tree nodesNumber of error responses
`wan.sync.partitionsSynced``operation.responses.missingCount` countNumber of synchronized partitionsNumber of responses having missing invocations
`wan.sync.partitionsToSync``operation.responses.normalCount` countNumber of partitions to synchronizeNumber of normal responses
`wan.sync.recordsSynced``operation.responses.timeoutCount` countNumber of synchronized recordsNumber of call timeout responses
`wan.sync.syncDurationNanos`nsDuration of the last synchronization`operation.retryCount`countNumber of retried operations
`wan.sync.stdDevEntriesPerLeaf``operation.runningCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.runningPartitionCount`countNumber of currently running partition operations
`wan.totalPublishedEventCount``operation.thread.completedOperationCount` countTotal number of published WAN events from this memberNumber of completed operations by this operation thread
`wan.updateCount``operation.thread.completedOperationBatchCount` countNumber of entry update eventsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`wan.failedTransmitCount``operation.thread.completedPartitionSpecificRunnableCount` countNumber of attempted WAN replication transmissions that have failedNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
- -
- -
-User Code Namespaces - - ----- - - - - + + + - - - - - + + + - + - + - - - + + + - - - + + +
NameUnitDescription`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`ucn.updateTime`msUpdate time of a user code namespace configuration`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`ucn.resourceCount``operation.thread.errorCount` countNumber of resources contained in a namespaceTotal number of failed tasks on this operation thread
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace`operation.thread.priorityPendingCount`countNumber 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-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) | + +
+ +
+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 + +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. + +| 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 | + +
+ +
+Threads + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + +| 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 | + +
+ +
+User Code Namespaces + +| 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/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 68b34fef..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,42 +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 @@ -271,44 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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 45ff2112..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 @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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/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 3eba1fd1..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,28 +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. @@ -112,32 +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/statements/delete.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/statements/delete.mdx index 374dd48d..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,36 +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 b7ba18b4..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,36 +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/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 2a1350bc..18ff2b5a 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -95,37 +95,11 @@ Besides authentication, security realms can also contain [Identity](./identity-c All Hazelcast provided authentication types support some common configuration parameters. - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`skip-role``false`When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials.
`skip-identity``false`When set to `true`, the authentication mechanism won't use the remote party name after the authentication.
`skip-endpoint``false`When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication.
+| Option Name | Default Value | Description | +| --- | --- | --- | +| `skip-role` | `false` | When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials. | +| `skip-identity` | `false` | When set to `true`, the authentication mechanism won't use the remote party name after the authentication. | +| `skip-endpoint` | `false` | When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication. | For more advanced configuration options, see following sections. diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index 77f95f99..6fe035d2 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -112,37 +112,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.6/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index dd4768ac..3d140d76 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -73,24 +73,6 @@ hazelcast: This `tls` authentication uses `cn` attribute from the subject DN as the role name. For example, if the subject DN in the certificate is `cn=admin,ou=Devs,o=Hazelcast` then the `"admin"` role name is assigned to the client. - ----- - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`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 b2d8b8e5..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 @@ -911,2524 +911,425 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.entrySetCount`countNumber of entry set operations on this member
`multiMap.evictionCount`countNumber of evictions completed on locally owned entries, backups are not included
`multiMap.expirationCount`countNumber of expirations completed on locally owned entries, backups are not included
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.indexesSkippedQueryCount`countTotal number of local queries performed on the multimap which cannot use indexes
`multiMap.noMatchingIndexQueryCount`countTotal number of local queries performed on the multimap which had no matching index
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.queryLimiterHitCount`countNumber of times the query result size limiter was hit on this member
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount`countNumber of entry set operations 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
`replicatedMap.valuesCount`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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) |
-
-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 - -Scope: member-side only. These metrics describe clients connected to the local member. - - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
- -
- -
-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
- -
- -
-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
+
+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 |
-Partitions +List - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Persistence +Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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 |
-Proxies +Reliable Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Raft Algorithm +Flake ID Generator - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Runtime +Listeners - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+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 |
-TCP +Capacity -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. +| 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 | - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+
+ +
+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 |
-
-Threads +
+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`. + +::: @@ -3445,277 +1346,478 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + - + - + - + - + - + - + - + - -
`thread.daemonThreadCount``operation.adhoc.executedOperationsCount` countCurrent number of live daemon thread in the JVMNumber of executed adhoc operations
`thread.peakThreadCount``operation.asyncOperations` countPeak live thread count since the JVM startedNumber of current executing async operations on the operation service of the member
`thread.threadCount``operation.completedCount` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of completed operations
`thread.totalStartedThreadCount``operation.failedBackups` countTotal number of threads started since the JVM startedNumber of failed backup operations on the operation service of the member
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - + - -
NameUnitDescription`operation.generic.executedOperationsCount`countNumber of executed generic operations
`transactions.commitCount``operation.genericPriorityQueueSize` countNumber of committed transactionsNumber of priority generic operations pending (waiting in the priority queue)
`transactions.rollbackCount``operation.genericQueueSize` countNumber of rollbacked transactionsNumber of normal generic operations pending (waiting in the queue)
`transactions.startCount``operation.genericThreadCount` countNumber of started transactionsNumber of generic operation handler threads in the member
- -
- -
-WAN Replication - - ----- - - - - + + + - - - - - + + + - - - + + + - + - + + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - - - + + + - + - + - -
NameUnitDescription`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)
`wan.ackDelayCurrentMillis`msDuration of ongoing delaying, -1 if there is no current delaying`operation.invocations.backupTimeouts`countNumber of operation invocations that acknowledgment from backups has timeout
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying`operation.invocations.delayedExecutionCount`countNumber of times that the operation invocations have delayed
`wan.ackDelayLastStart``operation.invocations.heartbeatBroadcastPeriodMillis` msTimestamp of the last start of delaying the acknowledgmentsBroadcast 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
`wan.ackDelayTotalCount``operation.invocations.heartbeatPacketsSent` countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)Number of sent heartbeat packets
`wan.ackDelayTotalMillis``operation.invocations.invocationScanPeriodMillis` msTotal amount of time delaying the WAN acknowledgments was taking placePeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`wan.consistencyCheck.lastCheckedLeafCount``operation.invocations.lastCallId` countNumber of checked partitions on the last WAN consistency checkLast issued invocation call ID
`wan.consistencyCheck.lastDiffLeafCount``operation.invocations.normalTimeouts` countNumber of different Merkle tree leaves on the last WAN consistency checkNumber of times that the operation invocations have timed out
`wan.consistencyCheck.lastDiffPartitionCount``operation.invocations.pending` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of pending invocations
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`wan.droppedCount``operation.parker.parkQueueCount` countNumber of dropped entry eventsNumber of separate WaitSet (set of operations waiting for some condition)
`wan.outboundQueueSize``operation.parker.totalParkedOperationCount` countTotal number of WAN events currently placed in the WAN queues of primary partitions on this memberTotal number of parked operations
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`wan.removeCount``operation.partitionThreadCount` countNumber of entry remove eventsNumber of partition operation handler threads for given member
`wan.syncCount``operation.priorityQueueSize` countNumber of entry sync eventsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.sync.avgEntriesPerLeaf``operation.queueSize` countAverage of the number of records belong the synchronized Merkle tree nodes have + +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. + +
`wan.sync.maxLeafEntryCount``operation.responseQueueSize` countMaximum of the number of records belong the synchronized Merkle tree nodes haveTotal number of pending responses (work queue for the response threads) to be processed.
`wan.sync.minLeafEntryCount``operation.responses.backupCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of backup acknowledgement responses
`wan.sync.nodesSynced``operation.responses.errorCount` countNumber of the synchronized Merkle tree nodesNumber of error responses
`wan.sync.partitionsSynced``operation.responses.missingCount` countNumber of synchronized partitionsNumber of responses having missing invocations
`wan.sync.partitionsToSync``operation.responses.normalCount` countNumber of partitions to synchronizeNumber of normal responses
`wan.sync.recordsSynced``operation.responses.timeoutCount` countNumber of synchronized recordsNumber of call timeout responses
`wan.sync.syncDurationNanos`nsDuration of the last synchronization`operation.retryCount`countNumber of retried operations
`wan.sync.stdDevEntriesPerLeaf``operation.runningCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.runningPartitionCount`countNumber of currently running partition operations
`wan.totalPublishedEventCount``operation.thread.completedOperationCount` countTotal number of published WAN events from this memberNumber of completed operations by this operation thread
`wan.updateCount``operation.thread.completedOperationBatchCount` countNumber of entry update eventsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`wan.failedTransmitCount``operation.thread.completedPartitionSpecificRunnableCount` countNumber of attempted WAN replication transmissions that have failedNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
- -
- -
-User Code Namespaces - - ----- - - - - + + + - - - - - + + + - + - + - - - + + + - - - + + +
NameUnitDescription`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`ucn.updateTime`msUpdate time of a user code namespace configuration`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`ucn.resourceCount``operation.thread.errorCount` countNumber of resources contained in a namespaceTotal number of failed tasks on this operation thread
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace`operation.thread.priorityPendingCount`countNumber 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-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) | + +
+ +
+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 + +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. + +| 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 | + +
+ +
+Threads + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + +| 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 | + +
+ +
+User Code Namespaces + +| 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/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 68b34fef..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,42 +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 @@ -271,44 +241,14 @@ The map API has two methods for adding and removing an interceptor to the map: ` Methods available within the `MapInterceptor` interface: - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDescription
`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 45ff2112..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 @@ -93,32 +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 @@ -126,96 +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. @@ -258,56 +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. @@ -380,94 +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/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 3eba1fd1..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,28 +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. @@ -112,32 +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/statements/delete.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/statements/delete.mdx index 374dd48d..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,36 +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 b7ba18b4..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,36 +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/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx index 2a1350bc..18ff2b5a 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/authentication-overview.mdx @@ -95,37 +95,11 @@ Besides authentication, security realms can also contain [Identity](./identity-c All Hazelcast provided authentication types support some common configuration parameters. - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`skip-role``false`When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials.
`skip-identity``false`When set to `true`, the authentication mechanism won't use the remote party name after the authentication.
`skip-endpoint``false`When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication.
+| Option Name | Default Value | Description | +| --- | --- | --- | +| `skip-role` | `false` | When set to `true`, the authentication mechanism won't assign roles during authentication but will only verify the credentials. | +| `skip-identity` | `false` | When set to `true`, the authentication mechanism won't use the remote party name after the authentication. | +| `skip-endpoint` | `false` | When set to `true`, the authentication mechanism won't use the remote party IP address name after authentication. | For more advanced configuration options, see following sections. diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx index 77f95f99..6fe035d2 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/jaas-authentication.mdx @@ -112,37 +112,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.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx index dd4768ac..3d140d76 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/securing-a-cluster/authentication/tls-authentication.mdx @@ -73,24 +73,6 @@ hazelcast: This `tls` authentication uses `cn` attribute from the subject DN as the role name. For example, if the subject DN in the certificate is `cn=admin,ou=Devs,o=Hazelcast` then the `"admin"` role name is assigned to the client. - ----- - - - - - - - - - - - - - - -
Option NameDefault ValueDescription
`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 67c81cca..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 @@ -915,2539 +915,425 @@ The above `latency` metrics are only measured for the members and do not represe
`MultiMap` - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`multiMap.backupCount`countNumber of backups per entry
`multiMap.backupEntryCount`countNumber of backup entries held by the member
`multiMap.creationTime`msCreation time of the multimap in the member
`multiMap.dirtyEntryCount`countNumber of dirty (updated but not persisted yet) entries that the member owns
`multiMap.entrySetCount`countNumber of entry set operations on this member
`multiMap.evictionCount`countNumber of evictions completed on locally owned entries, backups are not included
`multiMap.expirationCount`countNumber of expirations completed on locally owned entries, backups are not included
`multiMap.getCount`countNumber of local get operations on the multimap
`multiMap.hits`countNumber of hits (reads) of the locally owned entries
`multiMap.indexedQueryCount`countTotal number of indexed local queries performed on the multimap
`multiMap.indexesSkippedQueryCount`countTotal number of local queries performed on the multimap which cannot use indexes
`multiMap.noMatchingIndexQueryCount`countTotal number of local queries performed on the multimap which had no matching index
`multiMap.lastAccessTime`msLast access (read) time of the locally owned entries
`multiMap.lastUpdateTime`msLast update time of the locally owned entries
`multiMap.lockedEntryCount`countNumber of locked entries that the member owns
`multiMap.merkleTreesCost`countHeap cost of the Merkle trees
`multiMap.numberOfEvents`countNumber of local events received
`multiMap.numberOfOtherOperations`countTotal number of other operations
`multiMap.ownedEntryCount`countNumber of multimap entries owned by the member
`multiMap.putCount`countNumber of local put operations on the multimap
`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)
`multiMap.queryLimiterHitCount`countNumber of times the query result size limiter was hit on this member
`multiMap.removeCount`countNumber of local remove operations on the multimap
`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`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`replicatedMap.creationTime`msCreation time of this replicated map on this member
`replicatedMap.entrySetCount`countNumber of entry set operations 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
`replicatedMap.valuesCount`countNumber of values operations on this member
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 | +| --- | --- | --- | +| `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 - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-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 - -Scope: member-side only. These metrics describe clients connected to the local member. - - ----- - - - - - - - - - - - - - - - - - - - -
NameUnitDescription
`client.endpoint.count`countNumber of active client endpoints for this member
`client.endpoint.totalRegistrations`countTotal number of client endpoint registrations
- -
- -
-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
- -
- -
-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
+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 |
-Partitions +Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Persistence +Reliable Topic - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
+| 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 |
-Proxies +Flake ID Generator - ----- - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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) |
-Raft Algorithm +PN Counter - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+| 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 |
-Runtime +Listeners - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+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 |
-TCP +Capacity -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. +| 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 | - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
+
+ +
+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 |
-Threads +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`. + +::: @@ -3464,277 +1350,485 @@ Protocol-specific TCP byte metrics are available only when Advanced Networking i - + - + - + - + - + - + - + - + - -
`thread.daemonThreadCount``operation.adhoc.executedOperationsCount` countCurrent number of live daemon thread in the JVMNumber of executed adhoc operations
`thread.peakThreadCount``operation.asyncOperations` countPeak live thread count since the JVM startedNumber of current executing async operations on the operation service of the member
`thread.threadCount``operation.callTimeoutCount` countCurrent number of live threads including both daemon and non-daemon threads in the JVMNumber of operation call timeouts on the member
`thread.totalStartedThreadCount``operation.completedCount` countTotal number of threads started since the JVM startedNumber of completed operations
- -
- -
-Transactions - - ----- - - - - + + + - - - + - + - + - + - + - + - -
NameUnitDescription`operation.failedBackups`countNumber of failed backup operations on the operation service of the member
`transactions.commitCount``operation.generic.executedOperationsCount` countNumber of committed transactionsNumber of executed generic operations
`transactions.rollbackCount``operation.genericPriorityQueueSize` countNumber of rollbacked transactionsNumber of priority generic operations pending (waiting in the priority queue)
`transactions.startCount``operation.genericQueueSize` countNumber of started transactionsNumber of normal generic operations pending (waiting in the queue)
- -
- -
-WAN Replication - - ----- - - - - + + + - - - + - + - - - + + + + + + + + - + - + + + + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - - - + + + - + - + - -
NameUnitDescription`operation.genericThreadCount`countNumber of generic operation handler threads in the member
`wan.ackDelayCurrentMillis``operation.invocations.backupTimeoutMillis` msDuration of ongoing delaying, -1 if there is no current delayingOperation 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)
`wan.ackDelayLastEnd`msTimestamp of the last end of delaying the acknowledgments; if this value is bigger than `wan.ackDelayLastStart`, then there is no delaying`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
`wan.ackDelayLastStart``operation.invocations.heartbeatBroadcastPeriodMillis` msTimestamp of the last start of delaying the acknowledgmentsBroadcast 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
`wan.ackDelayTotalCount``operation.invocations.heartbeatPacketsSent` countTotal number of the triggering delaying the WAN acknowledgments (exceeding the invocation threshold)Number of sent heartbeat packets
`wan.ackDelayTotalMillis``operation.invocations.invocationScanPeriodMillis` msTotal amount of time delaying the WAN acknowledgments was taking placePeriod for scanning over pending invocations for getting rid of duplicates, checking for heartbeat timeout, and checking for backup timeout
`wan.consistencyCheck.lastCheckedPartitionCount`countNumber of checked partitions on the last WAN consistency check`operation.invocations.invocationTimeoutMillis`msTimeout for operation invocations
`wan.consistencyCheck.lastCheckedLeafCount``operation.invocations.lastCallId` countNumber of checked partitions on the last WAN consistency checkLast issued invocation call ID
`wan.consistencyCheck.lastDiffLeafCount``operation.invocations.normalTimeouts` countNumber of different Merkle tree leaves on the last WAN consistency checkNumber of times that the operation invocations have timed out
`wan.consistencyCheck.lastDiffPartitionCount``operation.invocations.pending` countNumber of partitions found to be inconsistent on the last WAN consistency checkNumber of pending invocations
`wan.consistencyCheck.lastEntriesToSync`countNumber of entries to synchronize to get the clusters into sync on the last WAN consistency check`operation.invocations.usedPercentage`percentUsage percentage of the operation invocation capacity (pending invocations/ max concurrent invocations)
`wan.droppedCount``operation.parker.parkQueueCount` countNumber of dropped entry eventsNumber of separate WaitSet (set of operations waiting for some condition)
`wan.outboundQueueSize``operation.parker.totalParkedOperationCount` countTotal number of WAN events currently placed in the WAN queues of primary partitions on this memberTotal number of parked operations
`wan.queueFillPercent`percentPercentage of the WAN replication queue that is filled`operation.partition.executedOperationsCount`countNumber of executed partition operations on the specified partition
`wan.removeCount``operation.partitionThreadCount` countNumber of entry remove eventsNumber of partition operation handler threads for given member
`wan.syncCount``operation.priorityQueueSize` countNumber of entry sync eventsNumber of priority operations pending (priority partition ops. + priority generic ops.)
`wan.sync.avgEntriesPerLeaf``operation.queueSize` countAverage of the number of records belong the synchronized Merkle tree nodes have + +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. + +
`wan.sync.maxLeafEntryCount``operation.responseQueueSize` countMaximum of the number of records belong the synchronized Merkle tree nodes haveTotal number of pending responses (work queue for the response threads) to be processed.
`wan.sync.minLeafEntryCount``operation.responses.backupCount` countMinimum of the number of records belong the synchronized Merkle tree nodes haveNumber of backup acknowledgement responses
`wan.sync.nodesSynced``operation.responses.errorCount` countNumber of the synchronized Merkle tree nodesNumber of error responses
`wan.sync.partitionsSynced``operation.responses.missingCount` countNumber of synchronized partitionsNumber of responses having missing invocations
`wan.sync.partitionsToSync``operation.responses.normalCount` countNumber of partitions to synchronizeNumber of normal responses
`wan.sync.recordsSynced``operation.responses.timeoutCount` countNumber of synchronized recordsNumber of call timeout responses
`wan.sync.syncDurationNanos`nsDuration of the last synchronization`operation.retryCount`countNumber of retried operations
`wan.sync.stdDevEntriesPerLeaf``operation.runningCount` countStandard deviation of the number of records belong the synchronized Merkle tree nodes haveNumber of currently running operations (runningPartitionCount + runningGenericCount)
`wan.sync.syncStartNanos`nsStart time of this WAN synchronization`operation.runningGenericCount`countNumber of currently running generic (non partition specific) operations
`wan.totalPublishLatency`msTotal latency of published WAN events from this member`operation.runningPartitionCount`countNumber of currently running partition operations
`wan.totalPublishedEventCount``operation.thread.completedOperationCount` countTotal number of published WAN events from this memberNumber of completed operations by this operation thread
`wan.updateCount``operation.thread.completedOperationBatchCount` countNumber of entry update eventsNumber of completed `TaskBatch` (a batch of tasks) by this operation thread
`wan.connectionHealth`booleanThe health of an individual WAN target endpoint, where 1 is healthy and 0 is not`operation.thread.completedPacketCount`countNumber of packets that executed by this operation thread
`wan.failedTransmitCount``operation.thread.completedPartitionSpecificRunnableCount` countNumber of attempted WAN replication transmissions that have failedNumber of `PartitionSpecificRunnable` tasks executed by this operation thread
- -
- -
-User Code Namespaces - - ----- - - - - + + + - - - - - + + + - + - + - - - + + + - - - + + +
NameUnitDescription`operation.thread.completedRunnableCount`countTotal number of runnables executed by this operation thread
`ucn.updateTime`msUpdate time of a user code namespace configuration`operation.thread.completedTotalCount`countTotal number of tasks (`Operation` + `PartitionSpecificRunnable` + `Runnable` + `TaskBatch`) completed on this operation thread
`ucn.resourceCount``operation.thread.errorCount` countNumber of resources contained in a namespaceTotal number of failed tasks on this operation thread
`ucn.resource.resourceType`enumThe Ordinal of the enum type of the resource contained in a namespace`operation.thread.normalPendingCount`countNumber of normal pending operations (tasks)
`ucn.resource.resourceSizeBytes`bytesThe size in bytes of a resource contained in a namespace`operation.thread.priorityPendingCount`countNumber 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-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) | + +
+ +
+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.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 | + +
+ +
+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 + +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. + +| 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 | + +
+ +
+Threads + +| 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 + +| Name | Unit | Description | +| --- | --- | --- | +| `transactions.commitCount` | count | Number of committed transactions | +| `transactions.rollbackCount` | count | Number of rollbacked transactions | +| `transactions.startCount` | count | Number of started transactions | + +
+ +
+WAN Replication + +| 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 | + +
+ +
+User Code Namespaces + +| 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/operator/operate-and-manage/resilience/backup-restore/overview.mdx b/operator/operate-and-manage/resilience/backup-restore/overview.mdx index c10570c4..8d0c8d3c 100644 --- a/operator/operate-and-manage/resilience/backup-restore/overview.mdx +++ b/operator/operate-and-manage/resilience/backup-restore/overview.mdx @@ -129,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -291,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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 d8c3119e..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,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -295,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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 c10570c4..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,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -291,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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 c10570c4..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,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -291,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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 c10570c4..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,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -291,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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 c10570c4..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,32 +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: - ---- - - - - - - - - - - - - - - - - - - - - -
Cron expressionSchedule
`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). @@ -291,32 +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). - ---- - - - - - - - - - - - - - - - - - - - - -
PolicyDescription
`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/tutorials/stream-processing-fundamentals.mdx b/tutorials/stream-processing-fundamentals.mdx index 2aaf64d3..bda773ae 100644 --- a/tutorials/stream-processing-fundamentals.mdx +++ b/tutorials/stream-processing-fundamentals.mdx @@ -48,48 +48,15 @@ You will need the following installed on your system: Each service is described briefly below. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ServiceDescription
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 From 06c0eb4c4a1798dbca3b7ecf70dc693e064f5990 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 19:15:39 +0000 Subject: [PATCH 6/7] Fix another overflowing table --- .../compact-serialization/overview.mdx | 90 ++++++++++--------- .../serialization/compact-serialization.mdx | 90 ++++++++++--------- .../compact-serialization/overview.mdx | 90 ++++++++++--------- .../compact-serialization/overview.mdx | 90 ++++++++++--------- .../compact-serialization/overview.mdx | 90 ++++++++++--------- .../compact-serialization/overview.mdx | 90 ++++++++++--------- 6 files changed, 288 insertions(+), 252 deletions(-) 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_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.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.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.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.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 From 9b8fff6a9d62904e2c2eaec35a5a789332e77b0a Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Tue, 3 Nov 2026 19:16:15 +0000 Subject: [PATCH 7/7] Wrap code Variables in tables --- src/components/TableCodeBreaks.tsx | 5 +++-- src/components/Variable.tsx | 5 ++++- src/components/test/TableCodeBreaks.test.js | 6 +++++- src/components/test/Variable.test.js | 8 ++++++++ src/remark/tableCodeBreaks.ts | 12 ++++++++---- src/remark/test/tableCodeBreaks.test.js | 10 ++++++++++ 6 files changed, 38 insertions(+), 8 deletions(-) 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/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: []}]})