From 2e80de29771df37563783647039380c36f38aea9 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 26 Dec 2023 15:36:54 +0300 Subject: [PATCH 01/10] Introduce cpmap. --- src/Hazelcast.Net/CP/ICPMap.cs | 83 ++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/Hazelcast.Net/CP/ICPMap.cs diff --git a/src/Hazelcast.Net/CP/ICPMap.cs b/src/Hazelcast.Net/CP/ICPMap.cs new file mode 100644 index 0000000000..79105b06e5 --- /dev/null +++ b/src/Hazelcast.Net/CP/ICPMap.cs @@ -0,0 +1,83 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Diagnostics.CodeAnalysis; +using System.Threading.Tasks; +using Hazelcast.DistributedObjects; + +namespace Hazelcast.CP; + +/// +/// CPMap is a key-value store within CP. It supports atomic operations on an entry. +/// CPMap is only available in enterprise edition.This data structure is not partitioned +/// across members in the cluster. It lives in one of the members. +/// +/// Type of key in the map. +/// Type of value in the map. +public interface ICPMap : IDistributedObject +{ + /// + /// Sets to . + /// See for more optimal usage if existing value is not required. + /// + /// The key to be set. + /// The value to be map to . + /// Value of the existing entry if any, otherwise null. + [return:MaybeNull] + Task PutAsync([NotNull]TKey key, [NotNull]TValue value); + + /// + /// Sets to . + /// This method should be preferred over to reduce network footprint + /// if the existing value map to is not required. + /// + /// The key to be set. + /// The value to be map to . + Task SetAsync([NotNull]TKey key, [NotNull]TValue value); + + /// + /// Gets value of the entry map to if any, otherwise null. + /// + /// The key of the entry. + /// Value of the entry if any, otherwise null. + [return:MaybeNull] + Task GetAsync([NotNull]TKey key); + + /// + /// Removes the entry if exists. Then, returns the value of the entry. + /// + /// See for more optimal usage if value of the entry is not required. + /// Key of the entry to be removed. + /// Value of the removed entry if any, otherwise null. + [return:MaybeNull] + Task RemoveAsync([NotNull]TKey key); + + /// + /// Deletes the entry if exists without returning value of the entry. + /// This method should be preferred over to reduce network footprint + /// if the value map to is not required. + /// + /// Key of the entry to be deleted. + Task DeleteAsync([NotNull]TKey key); + + /// + /// Atomically compares serialized forms of existing value with , and sets + /// the if existing and expected values are equal. + /// + /// Key of the entry. + /// Expected value map to . + /// to be set if existing value and are equal. + /// true if comparision and set operations are successful; otherwise false. + Task CompareAndSetAsync([NotNull]TKey key, [NotNull]TValue expectedValue, [NotNull]TValue newValue); +} From 1314d3c99b35f695f201bbd0b26671a70c57ed82 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 26 Dec 2023 15:46:46 +0300 Subject: [PATCH 02/10] Update codec submodule and regenerate. --- protocol | 2 +- .../Codecs/AtomicLongAddAndGetCodec.cs | 2 +- .../Codecs/AtomicLongCompareAndSetCodec.cs | 2 +- .../Codecs/AtomicLongGetAndAddCodec.cs | 2 +- .../Codecs/AtomicLongGetAndSetCodec.cs | 2 +- .../Protocol/Codecs/AtomicLongGetCodec.cs | 2 +- .../Codecs/AtomicRefCompareAndSetCodec.cs | 2 +- .../Protocol/Codecs/AtomicRefContainsCodec.cs | 2 +- .../Protocol/Codecs/AtomicRefGetCodec.cs | 2 +- .../Protocol/Codecs/AtomicRefSetCodec.cs | 2 +- .../Codecs/CPGroupCreateCPGroupCodec.cs | 2 +- .../Codecs/CPGroupDestroyCPObjectCodec.cs | 2 +- .../Codecs/CPMapCompareAndSetCodec.cs | 153 ++++++++++++++++++ .../Protocol/Codecs/CPMapDeleteCodec.cs | 137 ++++++++++++++++ .../Protocol/Codecs/CPMapGetCodec.cs | 137 ++++++++++++++++ .../Protocol/Codecs/CPMapPutCodec.cs | 144 +++++++++++++++++ .../Protocol/Codecs/CPMapRemoveCodec.cs | 137 ++++++++++++++++ .../Protocol/Codecs/CPMapSetCodec.cs | 144 +++++++++++++++++ .../Codecs/CPSessionCloseSessionCodec.cs | 2 +- .../Codecs/CPSessionCreateSessionCodec.cs | 2 +- .../Codecs/CPSessionGenerateThreadIdCodec.cs | 2 +- .../Codecs/CPSessionHeartbeatSessionCodec.cs | 2 +- .../ClientAddClusterViewListenerCodec.cs | 2 +- ...ClientAddDistributedObjectListenerCodec.cs | 2 +- .../ClientAddPartitionLostListenerCodec.cs | 2 +- .../Codecs/ClientAuthenticationCodec.cs | 41 ++++- .../Codecs/ClientAuthenticationCustomCodec.cs | 41 ++++- .../Codecs/ClientCreateProxiesCodec.cs | 2 +- .../Protocol/Codecs/ClientCreateProxyCodec.cs | 2 +- .../Codecs/ClientDeployClassesCodec.cs | 2 +- .../Codecs/ClientDestroyProxyCodec.cs | 2 +- .../Protocol/Codecs/ClientFetchSchemaCodec.cs | 2 +- .../ClientGetDistributedObjectsCodec.cs | 2 +- .../Codecs/ClientLocalBackupListenerCodec.cs | 2 +- .../Protocol/Codecs/ClientPingCodec.cs | 2 +- ...entRemoveDistributedObjectListenerCodec.cs | 2 +- .../ClientRemovePartitionLostListenerCodec.cs | 2 +- .../Codecs/ClientSendAllSchemasCodec.cs | 2 +- .../Protocol/Codecs/ClientSendSchemaCodec.cs | 2 +- .../Protocol/Codecs/ClientStatisticsCodec.cs | 2 +- .../Codecs/ClientTpcAuthenticationCodec.cs | 124 ++++++++++++++ .../ClientTriggerPartitionAssignmentCodec.cs | 2 +- .../Codecs/ExperimentalPipelineSubmitCodec.cs | 146 +++++++++++++++++ .../Codecs/FencedLockGetLockOwnershipCodec.cs | 4 +- .../Protocol/Codecs/FencedLockLockCodec.cs | 2 +- .../Protocol/Codecs/FencedLockTryLockCodec.cs | 2 +- .../Protocol/Codecs/FencedLockUnlockCodec.cs | 2 +- .../Codecs/FlakeIdGeneratorNewIdBatchCodec.cs | 2 +- .../Protocol/Codecs/ListAddAllCodec.cs | 2 +- .../Codecs/ListAddAllWithIndexCodec.cs | 2 +- .../Protocol/Codecs/ListAddCodec.cs | 2 +- .../Protocol/Codecs/ListAddListenerCodec.cs | 2 +- .../Protocol/Codecs/ListAddWithIndexCodec.cs | 2 +- .../Protocol/Codecs/ListClearCodec.cs | 2 +- .../Codecs/ListCompareAndRemoveAllCodec.cs | 2 +- .../Codecs/ListCompareAndRetainAllCodec.cs | 2 +- .../Protocol/Codecs/ListContainsAllCodec.cs | 2 +- .../Protocol/Codecs/ListContainsCodec.cs | 2 +- .../Protocol/Codecs/ListGetAllCodec.cs | 2 +- .../Protocol/Codecs/ListGetCodec.cs | 2 +- .../Protocol/Codecs/ListIndexOfCodec.cs | 2 +- .../Protocol/Codecs/ListIsEmptyCodec.cs | 2 +- .../Protocol/Codecs/ListIteratorCodec.cs | 2 +- .../Protocol/Codecs/ListLastIndexOfCodec.cs | 2 +- .../Protocol/Codecs/ListListIteratorCodec.cs | 2 +- .../Protocol/Codecs/ListRemoveCodec.cs | 2 +- .../Codecs/ListRemoveListenerCodec.cs | 2 +- .../Codecs/ListRemoveWithIndexCodec.cs | 2 +- .../Protocol/Codecs/ListSetCodec.cs | 2 +- .../Protocol/Codecs/ListSizeCodec.cs | 2 +- .../Protocol/Codecs/ListSubCodec.cs | 2 +- .../Codecs/MapAddEntryListenerCodec.cs | 2 +- .../Codecs/MapAddEntryListenerToKeyCodec.cs | 2 +- ...AddEntryListenerToKeyWithPredicateCodec.cs | 2 +- .../MapAddEntryListenerWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapAddIndexCodec.cs | 2 +- .../Protocol/Codecs/MapAddInterceptorCodec.cs | 2 +- ...apAddNearCacheInvalidationListenerCodec.cs | 2 +- .../MapAddPartitionLostListenerCodec.cs | 2 +- .../Protocol/Codecs/MapAggregateCodec.cs | 2 +- .../Codecs/MapAggregateWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapClearCodec.cs | 2 +- .../Protocol/Codecs/MapContainsKeyCodec.cs | 2 +- .../Protocol/Codecs/MapContainsValueCodec.cs | 2 +- .../Protocol/Codecs/MapDeleteCodec.cs | 27 +++- .../MapEntriesWithPagingPredicateCodec.cs | 2 +- .../Codecs/MapEntriesWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapEntrySetCodec.cs | 2 +- .../Codecs/MapEventJournalReadCodec.cs | 4 +- .../Codecs/MapEventJournalSubscribeCodec.cs | 2 +- .../Protocol/Codecs/MapEvictAllCodec.cs | 2 +- .../Protocol/Codecs/MapEvictCodec.cs | 2 +- .../Codecs/MapExecuteOnAllKeysCodec.cs | 2 +- .../Protocol/Codecs/MapExecuteOnKeyCodec.cs | 2 +- .../Protocol/Codecs/MapExecuteOnKeysCodec.cs | 2 +- .../Codecs/MapExecuteWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapFetchEntriesCodec.cs | 2 +- .../Protocol/Codecs/MapFetchKeysCodec.cs | 2 +- ...FetchNearCacheInvalidationMetadataCodec.cs | 4 +- .../Protocol/Codecs/MapFetchWithQueryCodec.cs | 2 +- .../Protocol/Codecs/MapFlushCodec.cs | 2 +- .../Protocol/Codecs/MapForceUnlockCodec.cs | 2 +- .../Protocol/Codecs/MapGetAllCodec.cs | 2 +- .../Protocol/Codecs/MapGetCodec.cs | 2 +- .../Protocol/Codecs/MapGetEntryViewCodec.cs | 2 +- .../Protocol/Codecs/MapIsEmptyCodec.cs | 2 +- .../Protocol/Codecs/MapIsLockedCodec.cs | 2 +- .../Protocol/Codecs/MapKeySetCodec.cs | 2 +- .../MapKeySetWithPagingPredicateCodec.cs | 2 +- .../Codecs/MapKeySetWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapLoadAllCodec.cs | 2 +- .../Protocol/Codecs/MapLoadGivenKeysCodec.cs | 2 +- .../Protocol/Codecs/MapLockCodec.cs | 2 +- .../Protocol/Codecs/MapProjectCodec.cs | 2 +- .../Codecs/MapProjectWithPredicateCodec.cs | 2 +- .../Protocol/Codecs/MapPutAllCodec.cs | 2 +- .../Protocol/Codecs/MapPutCodec.cs | 2 +- .../Protocol/Codecs/MapPutIfAbsentCodec.cs | 2 +- .../Codecs/MapPutIfAbsentWithMaxIdleCodec.cs | 2 +- .../Protocol/Codecs/MapPutTransientCodec.cs | 2 +- .../Codecs/MapPutTransientWithMaxIdleCodec.cs | 2 +- .../Protocol/Codecs/MapPutWithMaxIdleCodec.cs | 2 +- .../Protocol/Codecs/MapRemoveAllCodec.cs | 2 +- .../Protocol/Codecs/MapRemoveCodec.cs | 2 +- .../Codecs/MapRemoveEntryListenerCodec.cs | 2 +- .../Protocol/Codecs/MapRemoveIfSameCodec.cs | 2 +- .../Codecs/MapRemoveInterceptorCodec.cs | 2 +- .../MapRemovePartitionLostListenerCodec.cs | 2 +- .../Protocol/Codecs/MapReplaceCodec.cs | 2 +- .../Protocol/Codecs/MapReplaceIfSameCodec.cs | 2 +- .../Protocol/Codecs/MapSetCodec.cs | 2 +- .../Protocol/Codecs/MapSetTtlCodec.cs | 2 +- .../Protocol/Codecs/MapSetWithMaxIdleCodec.cs | 2 +- .../Protocol/Codecs/MapSizeCodec.cs | 2 +- .../Protocol/Codecs/MapSubmitToKeyCodec.cs | 2 +- .../Protocol/Codecs/MapTryLockCodec.cs | 2 +- .../Protocol/Codecs/MapTryPutCodec.cs | 2 +- .../Protocol/Codecs/MapTryRemoveCodec.cs | 2 +- .../Protocol/Codecs/MapUnlockCodec.cs | 2 +- .../Protocol/Codecs/MapValuesCodec.cs | 2 +- .../MapValuesWithPagingPredicateCodec.cs | 2 +- .../Codecs/MapValuesWithPredicateCodec.cs | 2 +- .../Codecs/MultiMapAddEntryListenerCodec.cs | 2 +- .../MultiMapAddEntryListenerToKeyCodec.cs | 2 +- .../Protocol/Codecs/MultiMapClearCodec.cs | 2 +- .../Codecs/MultiMapContainsEntryCodec.cs | 2 +- .../Codecs/MultiMapContainsKeyCodec.cs | 2 +- .../Codecs/MultiMapContainsValueCodec.cs | 2 +- .../Protocol/Codecs/MultiMapDeleteCodec.cs | 2 +- .../Protocol/Codecs/MultiMapEntrySetCodec.cs | 2 +- .../Codecs/MultiMapForceUnlockCodec.cs | 2 +- .../Protocol/Codecs/MultiMapGetCodec.cs | 2 +- .../Protocol/Codecs/MultiMapIsLockedCodec.cs | 2 +- .../Protocol/Codecs/MultiMapKeySetCodec.cs | 2 +- .../Protocol/Codecs/MultiMapLockCodec.cs | 2 +- .../Protocol/Codecs/MultiMapPutCodec.cs | 2 +- .../Protocol/Codecs/MultiMapRemoveCodec.cs | 2 +- .../Codecs/MultiMapRemoveEntryCodec.cs | 2 +- .../MultiMapRemoveEntryListenerCodec.cs | 2 +- .../Protocol/Codecs/MultiMapSizeCodec.cs | 2 +- .../Protocol/Codecs/MultiMapTryLockCodec.cs | 2 +- .../Protocol/Codecs/MultiMapUnlockCodec.cs | 2 +- .../Codecs/MultiMapValueCountCodec.cs | 2 +- .../Protocol/Codecs/MultiMapValuesCodec.cs | 2 +- .../Protocol/Codecs/PNCounterAddCodec.cs | 2 +- .../Protocol/Codecs/PNCounterGetCodec.cs | 2 +- ...PNCounterGetConfiguredReplicaCountCodec.cs | 2 +- .../Protocol/Codecs/QueueAddAllCodec.cs | 2 +- .../Protocol/Codecs/QueueAddListenerCodec.cs | 2 +- .../Protocol/Codecs/QueueClearCodec.cs | 2 +- .../Codecs/QueueCompareAndRemoveAllCodec.cs | 2 +- .../Codecs/QueueCompareAndRetainAllCodec.cs | 2 +- .../Protocol/Codecs/QueueContainsAllCodec.cs | 2 +- .../Protocol/Codecs/QueueContainsCodec.cs | 2 +- .../Protocol/Codecs/QueueDrainToCodec.cs | 2 +- .../Codecs/QueueDrainToMaxSizeCodec.cs | 2 +- .../Protocol/Codecs/QueueIsEmptyCodec.cs | 2 +- .../Protocol/Codecs/QueueIteratorCodec.cs | 2 +- .../Protocol/Codecs/QueueOfferCodec.cs | 2 +- .../Protocol/Codecs/QueuePeekCodec.cs | 2 +- .../Protocol/Codecs/QueuePollCodec.cs | 2 +- .../Protocol/Codecs/QueuePutCodec.cs | 2 +- .../Codecs/QueueRemainingCapacityCodec.cs | 2 +- .../Protocol/Codecs/QueueRemoveCodec.cs | 2 +- .../Codecs/QueueRemoveListenerCodec.cs | 2 +- .../Protocol/Codecs/QueueSizeCodec.cs | 2 +- .../Protocol/Codecs/QueueTakeCodec.cs | 2 +- .../ReplicatedMapAddEntryListenerCodec.cs | 2 +- ...ReplicatedMapAddEntryListenerToKeyCodec.cs | 2 +- ...AddEntryListenerToKeyWithPredicateCodec.cs | 2 +- ...edMapAddEntryListenerWithPredicateCodec.cs | 2 +- ...icatedMapAddNearCacheEntryListenerCodec.cs | 2 +- .../Codecs/ReplicatedMapClearCodec.cs | 2 +- .../Codecs/ReplicatedMapContainsKeyCodec.cs | 2 +- .../Codecs/ReplicatedMapContainsValueCodec.cs | 2 +- .../Codecs/ReplicatedMapEntrySetCodec.cs | 2 +- .../Protocol/Codecs/ReplicatedMapGetCodec.cs | 2 +- .../Codecs/ReplicatedMapIsEmptyCodec.cs | 2 +- .../Codecs/ReplicatedMapKeySetCodec.cs | 2 +- .../Codecs/ReplicatedMapPutAllCodec.cs | 2 +- .../Protocol/Codecs/ReplicatedMapPutCodec.cs | 2 +- .../Codecs/ReplicatedMapRemoveCodec.cs | 2 +- .../ReplicatedMapRemoveEntryListenerCodec.cs | 2 +- .../Protocol/Codecs/ReplicatedMapSizeCodec.cs | 2 +- .../Codecs/ReplicatedMapValuesCodec.cs | 2 +- .../Protocol/Codecs/RingbufferAddAllCodec.cs | 2 +- .../Protocol/Codecs/RingbufferAddCodec.cs | 2 +- .../Codecs/RingbufferCapacityCodec.cs | 2 +- .../Codecs/RingbufferHeadSequenceCodec.cs | 2 +- .../Codecs/RingbufferReadManyCodec.cs | 4 +- .../Protocol/Codecs/RingbufferReadOneCodec.cs | 2 +- .../RingbufferRemainingCapacityCodec.cs | 2 +- .../Protocol/Codecs/RingbufferSizeCodec.cs | 2 +- .../Codecs/RingbufferTailSequenceCodec.cs | 2 +- .../Protocol/Codecs/SetAddAllCodec.cs | 2 +- .../Protocol/Codecs/SetAddCodec.cs | 2 +- .../Protocol/Codecs/SetAddListenerCodec.cs | 2 +- .../Protocol/Codecs/SetClearCodec.cs | 2 +- .../Codecs/SetCompareAndRemoveAllCodec.cs | 2 +- .../Codecs/SetCompareAndRetainAllCodec.cs | 2 +- .../Protocol/Codecs/SetContainsAllCodec.cs | 2 +- .../Protocol/Codecs/SetContainsCodec.cs | 2 +- .../Protocol/Codecs/SetGetAllCodec.cs | 2 +- .../Protocol/Codecs/SetIsEmptyCodec.cs | 2 +- .../Protocol/Codecs/SetRemoveCodec.cs | 2 +- .../Protocol/Codecs/SetRemoveListenerCodec.cs | 2 +- .../Protocol/Codecs/SetSizeCodec.cs | 2 +- .../Protocol/Codecs/SqlCloseCodec.cs | 2 +- .../Protocol/Codecs/SqlExecuteCodec.cs | 2 +- .../Protocol/Codecs/SqlFetchCodec.cs | 2 +- .../Codecs/TopicAddMessageListenerCodec.cs | 2 +- .../Protocol/Codecs/TopicPublishAllCodec.cs | 2 +- .../Protocol/Codecs/TopicPublishCodec.cs | 2 +- .../Codecs/TopicRemoveMessageListenerCodec.cs | 2 +- .../Protocol/Codecs/TransactionCommitCodec.cs | 2 +- .../Protocol/Codecs/TransactionCreateCodec.cs | 2 +- .../Codecs/TransactionRollbackCodec.cs | 2 +- .../Codecs/TransactionalListAddCodec.cs | 2 +- .../Codecs/TransactionalListRemoveCodec.cs | 2 +- .../Codecs/TransactionalListSizeCodec.cs | 2 +- .../TransactionalMapContainsKeyCodec.cs | 2 +- .../TransactionalMapContainsValueCodec.cs | 2 +- .../Codecs/TransactionalMapDeleteCodec.cs | 2 +- .../Codecs/TransactionalMapGetCodec.cs | 2 +- .../TransactionalMapGetForUpdateCodec.cs | 2 +- .../Codecs/TransactionalMapIsEmptyCodec.cs | 2 +- .../Codecs/TransactionalMapKeySetCodec.cs | 2 +- ...ransactionalMapKeySetWithPredicateCodec.cs | 2 +- .../Codecs/TransactionalMapPutCodec.cs | 2 +- .../TransactionalMapPutIfAbsentCodec.cs | 2 +- .../Codecs/TransactionalMapRemoveCodec.cs | 2 +- .../TransactionalMapRemoveIfSameCodec.cs | 2 +- .../Codecs/TransactionalMapReplaceCodec.cs | 2 +- .../TransactionalMapReplaceIfSameCodec.cs | 2 +- .../Codecs/TransactionalMapSetCodec.cs | 2 +- .../Codecs/TransactionalMapSizeCodec.cs | 2 +- .../Codecs/TransactionalMapValuesCodec.cs | 2 +- ...ransactionalMapValuesWithPredicateCodec.cs | 2 +- .../Codecs/TransactionalMultiMapGetCodec.cs | 2 +- .../Codecs/TransactionalMultiMapPutCodec.cs | 2 +- .../TransactionalMultiMapRemoveCodec.cs | 2 +- .../TransactionalMultiMapRemoveEntryCodec.cs | 2 +- .../Codecs/TransactionalMultiMapSizeCodec.cs | 2 +- .../TransactionalMultiMapValueCountCodec.cs | 2 +- .../Codecs/TransactionalQueueOfferCodec.cs | 4 +- .../Codecs/TransactionalQueuePeekCodec.cs | 2 +- .../Codecs/TransactionalQueuePollCodec.cs | 2 +- .../Codecs/TransactionalQueueSizeCodec.cs | 2 +- .../Codecs/TransactionalQueueTakeCodec.cs | 2 +- .../Codecs/TransactionalSetAddCodec.cs | 2 +- .../Codecs/TransactionalSetRemoveCodec.cs | 2 +- .../Codecs/TransactionalSetSizeCodec.cs | 2 +- .../Protocol/CustomCodecs/AddressCodec.cs | 2 +- .../CustomCodecs/AnchorDataListHolderCodec.cs | 2 +- .../CustomCodecs/BTreeIndexConfigCodec.cs | 2 +- .../CustomCodecs/BitmapIndexOptionsCodec.cs | 2 +- .../Protocol/CustomCodecs/CapacityCodec.cs | 2 +- .../DistributedObjectInfoCodec.cs | 2 +- .../CustomCodecs/EndpointQualifierCodec.cs | 2 +- .../Protocol/CustomCodecs/ErrorHolderCodec.cs | 2 +- .../CustomCodecs/FieldDescriptorCodec.cs | 2 +- .../CustomCodecs/HazelcastJsonValueCodec.cs | 2 +- .../Protocol/CustomCodecs/IndexConfigCodec.cs | 2 +- .../Protocol/CustomCodecs/MemberInfoCodec.cs | 2 +- .../CustomCodecs/MemberVersionCodec.cs | 2 +- .../CustomCodecs/MemoryTierConfigCodec.cs | 2 +- .../PagingPredicateHolderCodec.cs | 2 +- .../Protocol/CustomCodecs/RaftGroupIdCodec.cs | 2 +- .../Protocol/CustomCodecs/SchemaCodec.cs | 2 +- .../CustomCodecs/SimpleEntryViewCodec.cs | 2 +- .../CustomCodecs/SqlColumnMetadataCodec.cs | 2 +- .../Protocol/CustomCodecs/SqlErrorCodec.cs | 12 +- .../Protocol/CustomCodecs/SqlQueryIdCodec.cs | 2 +- .../CustomCodecs/StackTraceElementCodec.cs | 2 +- 294 files changed, 1520 insertions(+), 297 deletions(-) create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapCompareAndSetCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapDeleteCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapGetCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapPutCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapRemoveCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/CPMapSetCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/ClientTpcAuthenticationCodec.cs create mode 100644 src/Hazelcast.Net/Protocol/Codecs/ExperimentalPipelineSubmitCodec.cs diff --git a/protocol b/protocol index f558f4034a..326d416b4e 160000 --- a/protocol +++ b/protocol @@ -1 +1 @@ -Subproject commit f558f4034ae2028edcd9cb4caac5aec161e89215 +Subproject commit 326d416b4e0f4ef911f0c67eac8ef99307de9492 diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongAddAndGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongAddAndGetCodec.cs index 1dfa5fd74b..6b980389c8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongAddAndGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongAddAndGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongCompareAndSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongCompareAndSetCodec.cs index 8842c5e8f3..72b3cacd6e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongCompareAndSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongCompareAndSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndAddCodec.cs index 6df39ebbc4..27e12cd10f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndSetCodec.cs index 1a0d088b8b..5b5749cd31 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetAndSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetCodec.cs index 5ba5a646a6..a2ab0a3108 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicLongGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefCompareAndSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefCompareAndSetCodec.cs index 0c8fe77a70..21b979d448 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefCompareAndSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefCompareAndSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefContainsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefContainsCodec.cs index 0e3b379dd1..92cd023292 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefContainsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefContainsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefGetCodec.cs index 8d3a7a035b..c162bbdb06 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefSetCodec.cs index 1dd1eb361d..235ca7a96f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/AtomicRefSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/AtomicRefSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPGroupCreateCPGroupCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPGroupCreateCPGroupCodec.cs index 3088170ccd..7c07bd7e68 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPGroupCreateCPGroupCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPGroupCreateCPGroupCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPGroupDestroyCPObjectCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPGroupDestroyCPObjectCodec.cs index 34314cb2ea..c6a44fc267 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPGroupDestroyCPObjectCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPGroupDestroyCPObjectCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapCompareAndSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapCompareAndSetCodec.cs new file mode 100644 index 0000000000..74c4313600 --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapCompareAndSetCodec.cs @@ -0,0 +1,153 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Tests if the value associated with the key is expectedValue and if so associates key with + /// newValue. + /// +#if SERVER_CODEC + internal static class CPMapCompareAndSetServerCodec +#else + internal static class CPMapCompareAndSetCodec +#endif + { + public const int RequestMessageType = 2295296; // 0x230600 + public const int ResponseMessageType = 2295297; // 0x230601 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseResponseFieldOffset = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + private const int ResponseInitialFrameSize = ResponseResponseFieldOffset + BytesExtensions.SizeOfBool; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the data that is subject of the compare and set. + /// + public IData Key { get; set; } + + /// + /// The expected value associated with key. + /// + public IData ExpectedValue { get; set; } + + /// + /// The new value to associate with key. + /// + public IData NewValue { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key, IData expectedValue, IData newValue) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.CompareAndSet" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + DataCodec.Encode(clientMessage, expectedValue); + DataCodec.Encode(clientMessage, newValue); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + request.ExpectedValue = DataCodec.Decode(iterator); + request.NewValue = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// True if key was associated with newValue, otherwise false. + /// + public bool Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(bool response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + initialFrame.Bytes.WriteBoolL(ResponseResponseFieldOffset, response); + clientMessage.Append(initialFrame); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + var initialFrame = iterator.Take(); + response.Response = initialFrame.Bytes.ReadBoolL(ResponseResponseFieldOffset); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapDeleteCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapDeleteCodec.cs new file mode 100644 index 0000000000..e70465f2a3 --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapDeleteCodec.cs @@ -0,0 +1,137 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Deletes the value associated with the key in the specified map. + /// +#if SERVER_CODEC + internal static class CPMapDeleteServerCodec +#else + internal static class CPMapDeleteCodec +#endif + { + public const int RequestMessageType = 2295040; // 0x230500 + public const int ResponseMessageType = 2295041; // 0x230501 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the value to delete. + /// + public IData Key { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.Delete" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// Always null, delete does not return any value. + /// + public IData Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(IData response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, response, DataCodec.Encode); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + response.Response = CodecUtil.DecodeNullable(iterator, DataCodec.Decode); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapGetCodec.cs new file mode 100644 index 0000000000..1a1910771e --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapGetCodec.cs @@ -0,0 +1,137 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Gets the value associated with the key in the specified map. + /// +#if SERVER_CODEC + internal static class CPMapGetServerCodec +#else + internal static class CPMapGetCodec +#endif + { + public const int RequestMessageType = 2294016; // 0x230100 + public const int ResponseMessageType = 2294017; // 0x230101 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the value to retrieve. + /// + public IData Key { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.Get" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// The result of the map lookup. + /// + public IData Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(IData response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, response, DataCodec.Encode); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + response.Response = CodecUtil.DecodeNullable(iterator, DataCodec.Decode); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapPutCodec.cs new file mode 100644 index 0000000000..2357000ef3 --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapPutCodec.cs @@ -0,0 +1,144 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Puts the key-value into the specified map. + /// +#if SERVER_CODEC + internal static class CPMapPutServerCodec +#else + internal static class CPMapPutCodec +#endif + { + public const int RequestMessageType = 2294272; // 0x230200 + public const int ResponseMessageType = 2294273; // 0x230201 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the value. + /// + public IData Key { get; set; } + + /// + /// Value to associate with the key. + /// + public IData Value { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key, IData @value) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.Put" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + DataCodec.Encode(clientMessage, @value); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + request.Value = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// Previous value associated with the key. + /// + public IData Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(IData response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, response, DataCodec.Encode); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + response.Response = CodecUtil.DecodeNullable(iterator, DataCodec.Decode); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapRemoveCodec.cs new file mode 100644 index 0000000000..164b664fb6 --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapRemoveCodec.cs @@ -0,0 +1,137 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Removes the value associated with the key in the specified map. + /// +#if SERVER_CODEC + internal static class CPMapRemoveServerCodec +#else + internal static class CPMapRemoveCodec +#endif + { + public const int RequestMessageType = 2294784; // 0x230400 + public const int ResponseMessageType = 2294785; // 0x230401 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the value to remove. + /// + public IData Key { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.Remove" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// The result of the remove. + /// + public IData Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(IData response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, response, DataCodec.Encode); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + response.Response = CodecUtil.DecodeNullable(iterator, DataCodec.Decode); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPMapSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPMapSetCodec.cs new file mode 100644 index 0000000000..345dcf2145 --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/CPMapSetCodec.cs @@ -0,0 +1,144 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Sets the key-value in the specified map. + /// +#if SERVER_CODEC + internal static class CPMapSetServerCodec +#else + internal static class CPMapSetCodec +#endif + { + public const int RequestMessageType = 2294528; // 0x230300 + public const int ResponseMessageType = 2294529; // 0x230301 + private const int RequestInitialFrameSize = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// CP group ID of this CPMap instance. + /// + public Hazelcast.CP.CPGroupId GroupId { get; set; } + + /// + /// Name of this CPMap instance. + /// + public string Name { get; set; } + + /// + /// Key of the value. + /// + public IData Key { get; set; } + + /// + /// Value to associate with the key. + /// + public IData Value { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Hazelcast.CP.CPGroupId groupId, string name, IData key, IData @value) + { + var clientMessage = new ClientMessage + { + IsRetryable = false, + OperationName = "CPMap.Set" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + clientMessage.Append(initialFrame); + RaftGroupIdCodec.Encode(clientMessage, groupId); + StringCodec.Encode(clientMessage, name); + DataCodec.Encode(clientMessage, key); + DataCodec.Encode(clientMessage, @value); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + iterator.Take(); // empty initial frame + request.GroupId = RaftGroupIdCodec.Decode(iterator); + request.Name = StringCodec.Decode(iterator); + request.Key = DataCodec.Decode(iterator); + request.Value = DataCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// Always null, set does not return any previous value. + /// + public IData Response { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(IData response) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, response, DataCodec.Encode); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + response.Response = CodecUtil.DecodeNullable(iterator, DataCodec.Decode); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPSessionCloseSessionCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPSessionCloseSessionCodec.cs index a889dea600..99b3cbd672 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPSessionCloseSessionCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPSessionCloseSessionCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPSessionCreateSessionCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPSessionCreateSessionCodec.cs index 33a0fc1ca9..0a4f825afa 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPSessionCreateSessionCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPSessionCreateSessionCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPSessionGenerateThreadIdCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPSessionGenerateThreadIdCodec.cs index e64eec6b53..9fbda297e3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPSessionGenerateThreadIdCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPSessionGenerateThreadIdCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/CPSessionHeartbeatSessionCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/CPSessionHeartbeatSessionCodec.cs index a53e8d1d4f..3bec9f737a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/CPSessionHeartbeatSessionCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/CPSessionHeartbeatSessionCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientAddClusterViewListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientAddClusterViewListenerCodec.cs index 56ce798961..80d3e2173e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientAddClusterViewListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientAddClusterViewListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientAddDistributedObjectListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientAddDistributedObjectListenerCodec.cs index 10aeef0009..10b6dee985 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientAddDistributedObjectListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientAddDistributedObjectListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientAddPartitionLostListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientAddPartitionLostListenerCodec.cs index 12d5b38c96..9dc53119e9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientAddPartitionLostListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientAddPartitionLostListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCodec.cs index 9017f7761c..5d3bd9fd54 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -198,10 +198,33 @@ public sealed class ResponseParameters /// Returns true if server supports clients with failover feature. /// public bool FailoverSupported { get; set; } + + /// + /// Returns the list of TPC ports or null if TPC is disabled. + /// + public IList TpcPorts { get; set; } + + /// + /// Returns the token to use while authenticating TPC channels + /// or null if TPC is disabled. + /// + public byte[] TpcToken { get; set; } + + /// + /// true if the tpcPorts is received from the member, false otherwise. + /// If this is false, tpcPorts has the default value for its type. + /// + public bool IsTpcPortsExists { get; set; } + + /// + /// true if the tpcToken is received from the member, false otherwise. + /// If this is false, tpcToken has the default value for its type. + /// + public bool IsTpcTokenExists { get; set; } } #if SERVER_CODEC - public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.NetworkAddress address, Guid memberUuid, byte serializationVersion, string serverHazelcastVersion, int partitionCount, Guid clusterId, bool failoverSupported) + public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.NetworkAddress address, Guid memberUuid, byte serializationVersion, string serverHazelcastVersion, int partitionCount, Guid clusterId, bool failoverSupported, ICollection tpcPorts, byte[] tpcToken) { var clientMessage = new ClientMessage(); var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); @@ -215,6 +238,8 @@ public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.Net clientMessage.Append(initialFrame); CodecUtil.EncodeNullable(clientMessage, address, AddressCodec.Encode); StringCodec.Encode(clientMessage, serverHazelcastVersion); + CodecUtil.EncodeNullable(clientMessage, tpcPorts, ListIntegerCodec.Encode); + CodecUtil.EncodeNullable(clientMessage, tpcToken, ByteArrayCodec.Encode); return clientMessage; } #endif @@ -232,6 +257,18 @@ public static ResponseParameters DecodeResponse(ClientMessage clientMessage) response.FailoverSupported = initialFrame.Bytes.ReadBoolL(ResponseFailoverSupportedFieldOffset); response.Address = CodecUtil.DecodeNullable(iterator, AddressCodec.Decode); response.ServerHazelcastVersion = StringCodec.Decode(iterator); + if (iterator.Current?.Next != null) + { + response.TpcPorts = CodecUtil.DecodeNullable(iterator, ListIntegerCodec.Decode); + response.IsTpcPortsExists = true; + } + else response.IsTpcPortsExists = false; + if (iterator.Current?.Next != null) + { + response.TpcToken = CodecUtil.DecodeNullable(iterator, ByteArrayCodec.Decode); + response.IsTpcTokenExists = true; + } + else response.IsTpcTokenExists = false; return response; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCustomCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCustomCodec.cs index ba20481ae3..81867bfcc7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCustomCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientAuthenticationCustomCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -189,10 +189,33 @@ public sealed class ResponseParameters /// Returns true if server supports clients with failover feature. /// public bool FailoverSupported { get; set; } + + /// + /// Returns the list of TPC ports or null if TPC is disabled. + /// + public IList TpcPorts { get; set; } + + /// + /// Returns the token to use while authenticating TPC channels + /// or null if TPC is disabled. + /// + public byte[] TpcToken { get; set; } + + /// + /// true if the tpcPorts is received from the member, false otherwise. + /// If this is false, tpcPorts has the default value for its type. + /// + public bool IsTpcPortsExists { get; set; } + + /// + /// true if the tpcToken is received from the member, false otherwise. + /// If this is false, tpcToken has the default value for its type. + /// + public bool IsTpcTokenExists { get; set; } } #if SERVER_CODEC - public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.NetworkAddress address, Guid memberUuid, byte serializationVersion, string serverHazelcastVersion, int partitionCount, Guid clusterId, bool failoverSupported) + public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.NetworkAddress address, Guid memberUuid, byte serializationVersion, string serverHazelcastVersion, int partitionCount, Guid clusterId, bool failoverSupported, ICollection tpcPorts, byte[] tpcToken) { var clientMessage = new ClientMessage(); var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); @@ -206,6 +229,8 @@ public static ClientMessage EncodeResponse(byte status, Hazelcast.Networking.Net clientMessage.Append(initialFrame); CodecUtil.EncodeNullable(clientMessage, address, AddressCodec.Encode); StringCodec.Encode(clientMessage, serverHazelcastVersion); + CodecUtil.EncodeNullable(clientMessage, tpcPorts, ListIntegerCodec.Encode); + CodecUtil.EncodeNullable(clientMessage, tpcToken, ByteArrayCodec.Encode); return clientMessage; } #endif @@ -223,6 +248,18 @@ public static ResponseParameters DecodeResponse(ClientMessage clientMessage) response.FailoverSupported = initialFrame.Bytes.ReadBoolL(ResponseFailoverSupportedFieldOffset); response.Address = CodecUtil.DecodeNullable(iterator, AddressCodec.Decode); response.ServerHazelcastVersion = StringCodec.Decode(iterator); + if (iterator.Current?.Next != null) + { + response.TpcPorts = CodecUtil.DecodeNullable(iterator, ListIntegerCodec.Decode); + response.IsTpcPortsExists = true; + } + else response.IsTpcPortsExists = false; + if (iterator.Current?.Next != null) + { + response.TpcToken = CodecUtil.DecodeNullable(iterator, ByteArrayCodec.Decode); + response.IsTpcTokenExists = true; + } + else response.IsTpcTokenExists = false; return response; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxiesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxiesCodec.cs index 1aa04f9e9f..f5eb578f27 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxiesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxiesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxyCodec.cs index 9421de29a1..f2e1c1d258 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientCreateProxyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientDeployClassesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientDeployClassesCodec.cs index 92fc7c717f..f5d558890f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientDeployClassesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientDeployClassesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientDestroyProxyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientDestroyProxyCodec.cs index 073fb90188..6aa4891295 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientDestroyProxyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientDestroyProxyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientFetchSchemaCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientFetchSchemaCodec.cs index 2dbc4fcdd3..edd9ed246c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientFetchSchemaCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientFetchSchemaCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientGetDistributedObjectsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientGetDistributedObjectsCodec.cs index ec2c751b80..14883cd979 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientGetDistributedObjectsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientGetDistributedObjectsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientLocalBackupListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientLocalBackupListenerCodec.cs index 52eb757b72..bfbff92e18 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientLocalBackupListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientLocalBackupListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientPingCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientPingCodec.cs index e424694d27..994485ec1c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientPingCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientPingCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientRemoveDistributedObjectListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientRemoveDistributedObjectListenerCodec.cs index e3d2a6e92d..25b6305574 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientRemoveDistributedObjectListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientRemoveDistributedObjectListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientRemovePartitionLostListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientRemovePartitionLostListenerCodec.cs index e5718e8364..dcea0614e9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientRemovePartitionLostListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientRemovePartitionLostListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientSendAllSchemasCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientSendAllSchemasCodec.cs index ca08ec1502..b337c94f7b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientSendAllSchemasCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientSendAllSchemasCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientSendSchemaCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientSendSchemaCodec.cs index 23c3115223..65b7c4bce5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientSendSchemaCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientSendSchemaCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientStatisticsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientStatisticsCodec.cs index fa5529404b..6fff309c09 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientStatisticsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientStatisticsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientTpcAuthenticationCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientTpcAuthenticationCodec.cs new file mode 100644 index 0000000000..acff16838f --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientTpcAuthenticationCodec.cs @@ -0,0 +1,124 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// Makes an authentication request to TPC channels. + /// +#if SERVER_CODEC + internal static class ClientTpcAuthenticationServerCodec +#else + internal static class ClientTpcAuthenticationCodec +#endif + { + public const int RequestMessageType = 5632; // 0x001600 + public const int ResponseMessageType = 5633; // 0x001601 + private const int RequestUuidFieldOffset = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int RequestInitialFrameSize = RequestUuidFieldOffset + BytesExtensions.SizeOfCodecGuid; + private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// UUID of the client. + /// + public Guid Uuid { get; set; } + + /// + /// Authentication token bytes for the TPC channels + /// + public byte[] Token { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(Guid uuid, byte[] token) + { + var clientMessage = new ClientMessage + { + IsRetryable = true, + OperationName = "Client.TpcAuthentication" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + initialFrame.Bytes.WriteGuidL(RequestUuidFieldOffset, uuid); + clientMessage.Append(initialFrame); + ByteArrayCodec.Encode(clientMessage, token); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + var initialFrame = iterator.Take(); + request.Uuid = initialFrame.Bytes.ReadGuidL(RequestUuidFieldOffset); + request.Token = ByteArrayCodec.Decode(iterator); + return request; + } +#endif + + public sealed class ResponseParameters + { + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse() + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + clientMessage.Append(initialFrame); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + iterator.Take(); // empty initial frame + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/ClientTriggerPartitionAssignmentCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ClientTriggerPartitionAssignmentCodec.cs index 0f3aab9872..abd52f5ef8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ClientTriggerPartitionAssignmentCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ClientTriggerPartitionAssignmentCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ExperimentalPipelineSubmitCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ExperimentalPipelineSubmitCodec.cs new file mode 100644 index 0000000000..541e47802c --- /dev/null +++ b/src/Hazelcast.Net/Protocol/Codecs/ExperimentalPipelineSubmitCodec.cs @@ -0,0 +1,146 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +// This code was generated by a tool. +// Hazelcast Client Protocol Code Generator @2e80de297 +// https://github.com/hazelcast/hazelcast-client-protocol +// Change to this file will be lost if the code is regenerated. +// + +#pragma warning disable IDE0051 // Remove unused private members +// ReSharper disable UnusedMember.Local +// ReSharper disable RedundantUsingDirective +// ReSharper disable CheckNamespace + +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Hazelcast.Protocol.BuiltInCodecs; +using Hazelcast.Protocol.CustomCodecs; +using Hazelcast.Core; +using Hazelcast.Messaging; +using Hazelcast.Clustering; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.Protocol.Codecs +{ + /// + /// The message is used to transfer the declarative pipeline definition and the related resource files from client to the server. + /// +#if SERVER_CODEC + internal static class ExperimentalPipelineSubmitServerCodec +#else + internal static class ExperimentalPipelineSubmitCodec +#endif + { + public const int RequestMessageType = 16580864; // 0xFD0100 + public const int ResponseMessageType = 16580865; // 0xFD0101 + private const int RequestResourceBundleChecksumFieldOffset = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; + private const int RequestInitialFrameSize = RequestResourceBundleChecksumFieldOffset + BytesExtensions.SizeOfInt; + private const int ResponseJobIdFieldOffset = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + private const int ResponseInitialFrameSize = ResponseJobIdFieldOffset + BytesExtensions.SizeOfLong; + +#if SERVER_CODEC + public sealed class RequestParameters + { + + /// + /// The name of the submitted Job using this pipeline. + /// + public string JobName { get; set; } + + /// + /// The definition of the pipeline steps. It currently uses the YAML format. + /// + public string PipelineDefinition { get; set; } + + /// + /// This is the zipped file which contains the user project folders and files. For Python project, it is the Python project files. It is optional in the sense that if the user likes to use a user docker image with all the resources and project files included, this parameter can be null. + /// + public byte[] ResourceBundle { get; set; } + + /// + /// This is the CRC32 checksum over the resource bundle bytes. + /// + public int ResourceBundleChecksum { get; set; } + } +#endif + + public static ClientMessage EncodeRequest(string jobName, string pipelineDefinition, byte[] resourceBundle, int resourceBundleChecksum) + { + var clientMessage = new ClientMessage + { + IsRetryable = true, + OperationName = "Experimental.PipelineSubmit" + }; + var initialFrame = new Frame(new byte[RequestInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, RequestMessageType); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.PartitionId, -1); + initialFrame.Bytes.WriteIntL(RequestResourceBundleChecksumFieldOffset, resourceBundleChecksum); + clientMessage.Append(initialFrame); + CodecUtil.EncodeNullable(clientMessage, jobName, StringCodec.Encode); + StringCodec.Encode(clientMessage, pipelineDefinition); + CodecUtil.EncodeNullable(clientMessage, resourceBundle, ByteArrayCodec.Encode); + return clientMessage; + } + +#if SERVER_CODEC + public static RequestParameters DecodeRequest(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var request = new RequestParameters(); + var initialFrame = iterator.Take(); + request.ResourceBundleChecksum = initialFrame.Bytes.ReadIntL(RequestResourceBundleChecksumFieldOffset); + request.JobName = CodecUtil.DecodeNullable(iterator, StringCodec.Decode); + request.PipelineDefinition = StringCodec.Decode(iterator); + request.ResourceBundle = CodecUtil.DecodeNullable(iterator, ByteArrayCodec.Decode); + return request; + } +#endif + + public sealed class ResponseParameters + { + + /// + /// This is the unique identifier for the job which is created for this pipeline + /// + public long JobId { get; set; } + } + +#if SERVER_CODEC + public static ClientMessage EncodeResponse(long jobId) + { + var clientMessage = new ClientMessage(); + var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); + initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + initialFrame.Bytes.WriteLongL(ResponseJobIdFieldOffset, jobId); + clientMessage.Append(initialFrame); + return clientMessage; + } +#endif + + public static ResponseParameters DecodeResponse(ClientMessage clientMessage) + { + using var iterator = clientMessage.GetEnumerator(); + var response = new ResponseParameters(); + var initialFrame = iterator.Take(); + response.JobId = initialFrame.Bytes.ReadLongL(ResponseJobIdFieldOffset); + return response; + } + + } +} diff --git a/src/Hazelcast.Net/Protocol/Codecs/FencedLockGetLockOwnershipCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/FencedLockGetLockOwnershipCodec.cs index 4c9f7a8642..8508817ae9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/FencedLockGetLockOwnershipCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/FencedLockGetLockOwnershipCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -109,7 +109,7 @@ public sealed class ResponseParameters public long Fence { get; set; } /// - /// Reenterant lock count + /// Reentrant lock count /// public int LockCount { get; set; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/FencedLockLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/FencedLockLockCodec.cs index 43696ae357..56adbd0242 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/FencedLockLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/FencedLockLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/FencedLockTryLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/FencedLockTryLockCodec.cs index 7afd7c41d3..458d89f5f3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/FencedLockTryLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/FencedLockTryLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/FencedLockUnlockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/FencedLockUnlockCodec.cs index 57c7d8f7ea..aae1c57f68 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/FencedLockUnlockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/FencedLockUnlockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/FlakeIdGeneratorNewIdBatchCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/FlakeIdGeneratorNewIdBatchCodec.cs index 56627c92cd..bbc7a9685f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/FlakeIdGeneratorNewIdBatchCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/FlakeIdGeneratorNewIdBatchCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListAddAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListAddAllCodec.cs index 2810b1da24..45b17410c3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListAddAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListAddAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListAddAllWithIndexCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListAddAllWithIndexCodec.cs index 0c47a75ee3..7d55dd9724 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListAddAllWithIndexCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListAddAllWithIndexCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListAddCodec.cs index cb0feb5241..08802a8a91 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListAddListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListAddListenerCodec.cs index d4e68b3174..15f663f2d5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListAddListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListAddListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListAddWithIndexCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListAddWithIndexCodec.cs index b4b1646338..9e7c4a5a80 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListAddWithIndexCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListAddWithIndexCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListClearCodec.cs index 3ed93b6693..e5a8a2afbd 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRemoveAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRemoveAllCodec.cs index 9af4f458c8..c1f9038316 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRemoveAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRemoveAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRetainAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRetainAllCodec.cs index 1b74da6522..ff8c289790 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRetainAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListCompareAndRetainAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListContainsAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListContainsAllCodec.cs index 66406e7209..dd20d2cd10 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListContainsAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListContainsAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListContainsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListContainsCodec.cs index d149d533f1..9a4b346ac8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListContainsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListContainsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListGetAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListGetAllCodec.cs index 07a0105d78..8d40d8d93b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListGetAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListGetAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListGetCodec.cs index b1624c1eb6..cf354b182c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListIndexOfCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListIndexOfCodec.cs index 38444590b1..9fcd255220 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListIndexOfCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListIndexOfCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListIsEmptyCodec.cs index cf2f40d874..417fd7c535 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListIteratorCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListIteratorCodec.cs index 24a76eb798..c8e2c7055f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListIteratorCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListIteratorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListLastIndexOfCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListLastIndexOfCodec.cs index 63df851748..85076ca85c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListLastIndexOfCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListLastIndexOfCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListListIteratorCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListListIteratorCodec.cs index e238aa15e8..933331a150 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListListIteratorCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListListIteratorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveCodec.cs index f8a2ec2b5f..caf548d6ac 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveListenerCodec.cs index 9887247c9b..02c2159882 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveWithIndexCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveWithIndexCodec.cs index b3ed9bb7f0..e1ba1a0bb6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListRemoveWithIndexCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListRemoveWithIndexCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListSetCodec.cs index 032f3b1478..bab8a26a57 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListSizeCodec.cs index 6daa96e177..4212605e3f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ListSubCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ListSubCodec.cs index 5c65bed13f..c35d35155c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ListSubCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ListSubCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerCodec.cs index a7f301bed6..6183eeba97 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyCodec.cs index f1a401402f..1cf53bd807 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyWithPredicateCodec.cs index a67160ac2a..27a8b8a084 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerToKeyWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerWithPredicateCodec.cs index 0a1862e255..33ea5c77c9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddEntryListenerWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddIndexCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddIndexCodec.cs index 570538add4..8c2917be7a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddIndexCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddIndexCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddInterceptorCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddInterceptorCodec.cs index 39a36184f2..6a8d53cac0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddInterceptorCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddInterceptorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddNearCacheInvalidationListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddNearCacheInvalidationListenerCodec.cs index 03c26dda89..c85dfe8325 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddNearCacheInvalidationListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddNearCacheInvalidationListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAddPartitionLostListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAddPartitionLostListenerCodec.cs index 18f0a3421e..7bf757d458 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAddPartitionLostListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAddPartitionLostListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAggregateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAggregateCodec.cs index 404ac39c94..d954d23ee4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAggregateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAggregateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapAggregateWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapAggregateWithPredicateCodec.cs index 62d9d76240..fed3377293 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapAggregateWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapAggregateWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapClearCodec.cs index 83d362cec0..a853200c58 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapContainsKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapContainsKeyCodec.cs index 54add9cd43..cb2f9220a5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapContainsKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapContainsKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapContainsValueCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapContainsValueCodec.cs index 4042029b0d..24232a4905 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapContainsValueCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapContainsValueCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapDeleteCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapDeleteCodec.cs index d3542da912..2d3bf42b1d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapDeleteCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapDeleteCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -56,7 +56,8 @@ internal static class MapDeleteCodec public const int ResponseMessageType = 67841; // 0x010901 private const int RequestThreadIdFieldOffset = Messaging.FrameFields.Offset.PartitionId + BytesExtensions.SizeOfInt; private const int RequestInitialFrameSize = RequestThreadIdFieldOffset + BytesExtensions.SizeOfLong; - private const int ResponseInitialFrameSize = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + private const int ResponseResponseFieldOffset = Messaging.FrameFields.Offset.ResponseBackupAcks + BytesExtensions.SizeOfByte; + private const int ResponseInitialFrameSize = ResponseResponseFieldOffset + BytesExtensions.SizeOfBool; #if SERVER_CODEC public sealed class RequestParameters @@ -111,14 +112,26 @@ public static RequestParameters DecodeRequest(ClientMessage clientMessage) public sealed class ResponseParameters { + + /// + /// Returns true if the key exists and removed, otherwise returns false. + /// + public bool Response { get; set; } + + /// + /// true if the response is received from the member, false otherwise. + /// If this is false, response has the default value for its type. + /// + public bool IsResponseExists { get; set; } } #if SERVER_CODEC - public static ClientMessage EncodeResponse() + public static ClientMessage EncodeResponse(bool response) { var clientMessage = new ClientMessage(); var initialFrame = new Frame(new byte[ResponseInitialFrameSize], (FrameFlags) ClientMessageFlags.Unfragmented); initialFrame.Bytes.WriteIntL(Messaging.FrameFields.Offset.MessageType, ResponseMessageType); + initialFrame.Bytes.WriteBoolL(ResponseResponseFieldOffset, response); clientMessage.Append(initialFrame); return clientMessage; } @@ -128,7 +141,13 @@ public static ResponseParameters DecodeResponse(ClientMessage clientMessage) { using var iterator = clientMessage.GetEnumerator(); var response = new ResponseParameters(); - iterator.Take(); // empty initial frame + var initialFrame = iterator.Take(); + if (initialFrame.Bytes.Length >= ResponseResponseFieldOffset + BytesExtensions.SizeOfBool) + { + response.Response = initialFrame.Bytes.ReadBoolL(ResponseResponseFieldOffset); + response.IsResponseExists = true; + } + else response.IsResponseExists = false; return response; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPagingPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPagingPredicateCodec.cs index ff19319c9a..c17d1cf4e1 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPagingPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPagingPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPredicateCodec.cs index ad265df9c7..21b1e9e703 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEntriesWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEntrySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEntrySetCodec.cs index cfd003378f..0a456efaec 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEntrySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEntrySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalReadCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalReadCodec.cs index 7215e89760..fd189b9944 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalReadCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalReadCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -40,7 +40,7 @@ namespace Hazelcast.Protocol.Codecs { /// /// Reads from the map event journal in batches. You may specify the start sequence, - /// the minumum required number of items in the response, the maximum number of items + /// the minimum required number of items in the response, the maximum number of items /// in the response, a predicate that the events should pass and a projection to /// apply to the events in the journal. /// If the event journal currently contains less events than {@code minSize}, the diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalSubscribeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalSubscribeCodec.cs index a28be37122..5b60573271 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalSubscribeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEventJournalSubscribeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEvictAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEvictAllCodec.cs index c396d8db67..8035ccc71d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEvictAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEvictAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapEvictCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapEvictCodec.cs index a003bd3e02..dd24e88b26 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapEvictCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapEvictCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnAllKeysCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnAllKeysCodec.cs index 1ac48f299a..2aba9384b2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnAllKeysCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnAllKeysCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeyCodec.cs index a681fba0a3..61dcb52aea 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeysCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeysCodec.cs index b7cf06c35f..2f03c0d806 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeysCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteOnKeysCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteWithPredicateCodec.cs index d673c75ed6..2e5dac0727 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapExecuteWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapExecuteWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapFetchEntriesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapFetchEntriesCodec.cs index 7b15b6fe66..9508c0b122 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapFetchEntriesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapFetchEntriesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapFetchKeysCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapFetchKeysCodec.cs index a72229489d..199dc1196a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapFetchKeysCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapFetchKeysCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapFetchNearCacheInvalidationMetadataCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapFetchNearCacheInvalidationMetadataCodec.cs index 4a6c9b8693..3687be7269 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapFetchNearCacheInvalidationMetadataCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapFetchNearCacheInvalidationMetadataCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -63,7 +63,7 @@ public sealed class RequestParameters public IList Names { get; set; } /// - /// The uuid of the member to fetch the near cahce invalidation meta data + /// The uuid of the member to fetch the near cache invalidation meta data /// public Guid Uuid { get; set; } } diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapFetchWithQueryCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapFetchWithQueryCodec.cs index a550abb800..0e670d1b9d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapFetchWithQueryCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapFetchWithQueryCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapFlushCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapFlushCodec.cs index d3944184d0..899616aff3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapFlushCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapFlushCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapForceUnlockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapForceUnlockCodec.cs index 6855228c87..e69d6aeca2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapForceUnlockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapForceUnlockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapGetAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapGetAllCodec.cs index 1108760a7d..7aea0056bb 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapGetAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapGetAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapGetCodec.cs index 4600d233fe..c89a6443bf 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapGetEntryViewCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapGetEntryViewCodec.cs index 1fca48713e..f250b62587 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapGetEntryViewCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapGetEntryViewCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapIsEmptyCodec.cs index a855c29385..cfea4866a2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapIsLockedCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapIsLockedCodec.cs index 7f64936650..e61f9be54c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapIsLockedCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapIsLockedCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetCodec.cs index 4fecb8d649..81adcf1ec8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPagingPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPagingPredicateCodec.cs index d2a6a47ba3..3b9a662630 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPagingPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPagingPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPredicateCodec.cs index 5bcec46049..3340b103b4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapLoadAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapLoadAllCodec.cs index 159d799bbb..df3a5df01a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapLoadAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapLoadAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapLoadGivenKeysCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapLoadGivenKeysCodec.cs index fca682bed5..5943ed33ee 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapLoadGivenKeysCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapLoadGivenKeysCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapLockCodec.cs index cb98707a6a..d5b49715f2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapProjectCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapProjectCodec.cs index 7005a6cab8..a6a14f427d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapProjectCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapProjectCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapProjectWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapProjectWithPredicateCodec.cs index 5a0218a00e..d84ac6bffb 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapProjectWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapProjectWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutAllCodec.cs index 825cbc5cc2..b42652bdd4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutCodec.cs index f32b7b6cb9..410f78f7b5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentCodec.cs index 2e241b8aa3..1f044aec1f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentWithMaxIdleCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentWithMaxIdleCodec.cs index cfaca4f003..b5639a642b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentWithMaxIdleCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutIfAbsentWithMaxIdleCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientCodec.cs index 874609f132..95cb32271e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientWithMaxIdleCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientWithMaxIdleCodec.cs index af3bd9d69b..0edd8a27d8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientWithMaxIdleCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutTransientWithMaxIdleCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapPutWithMaxIdleCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapPutWithMaxIdleCodec.cs index 221c067fc3..87a5f5851e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapPutWithMaxIdleCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapPutWithMaxIdleCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveAllCodec.cs index d2b105a980..f98e69e4b5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveCodec.cs index f5d27d9f89..1a82ba5333 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveEntryListenerCodec.cs index 00fc462aeb..c676b95fa6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveIfSameCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveIfSameCodec.cs index 24aa73fec9..bcc26279e1 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveIfSameCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveIfSameCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveInterceptorCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveInterceptorCodec.cs index 83c87974be..0150220218 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemoveInterceptorCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemoveInterceptorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapRemovePartitionLostListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapRemovePartitionLostListenerCodec.cs index 4eb262293b..1fa9789aaa 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapRemovePartitionLostListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapRemovePartitionLostListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapReplaceCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapReplaceCodec.cs index 648bb427a2..986929efbc 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapReplaceCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapReplaceCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapReplaceIfSameCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapReplaceIfSameCodec.cs index f83eb15f23..dfae805d30 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapReplaceIfSameCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapReplaceIfSameCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapSetCodec.cs index 738d0d7bee..75fa07f2b8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapSetTtlCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapSetTtlCodec.cs index 3fd009b2ee..344d7383a5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapSetTtlCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapSetTtlCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapSetWithMaxIdleCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapSetWithMaxIdleCodec.cs index 41903126c2..78b706ace0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapSetWithMaxIdleCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapSetWithMaxIdleCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapSizeCodec.cs index a3c23e7f9f..d6688909d5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapSubmitToKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapSubmitToKeyCodec.cs index a6a87c2185..51cd2efda9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapSubmitToKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapSubmitToKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapTryLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapTryLockCodec.cs index ec032fa99e..1a88de3169 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapTryLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapTryLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapTryPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapTryPutCodec.cs index 7f63c9c172..194c91eb89 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapTryPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapTryPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapTryRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapTryRemoveCodec.cs index 4e9730aef7..a238b74f5a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapTryRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapTryRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapUnlockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapUnlockCodec.cs index 760fa405db..56c7ff2215 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapUnlockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapUnlockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapValuesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapValuesCodec.cs index 71a5cc88bc..c522890743 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapValuesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapValuesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPagingPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPagingPredicateCodec.cs index 1e53e9e0ea..ff6b64e6eb 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPagingPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPagingPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPredicateCodec.cs index db20f103b8..92c3821489 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MapValuesWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerCodec.cs index 0e5764c9bf..3449b010a0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerToKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerToKeyCodec.cs index 20e2a75c1c..1f04d871e0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerToKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapAddEntryListenerToKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapClearCodec.cs index f1f3528c4a..bfc12abf22 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsEntryCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsEntryCodec.cs index dd224b32b7..04f1149db0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsEntryCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsEntryCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsKeyCodec.cs index 4b803bc56a..013e9c6597 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsValueCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsValueCodec.cs index e7449405a9..6e06a774e9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsValueCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapContainsValueCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapDeleteCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapDeleteCodec.cs index b0dc592cdc..ee5ef9b1a6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapDeleteCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapDeleteCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapEntrySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapEntrySetCodec.cs index e902b96f0c..904d79951d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapEntrySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapEntrySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapForceUnlockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapForceUnlockCodec.cs index 14432af15b..3210f25870 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapForceUnlockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapForceUnlockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapGetCodec.cs index fca50fdd03..f082c08588 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapIsLockedCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapIsLockedCodec.cs index 725d8effe7..a2cb750981 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapIsLockedCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapIsLockedCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapKeySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapKeySetCodec.cs index df29933b32..b185af33e2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapKeySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapKeySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapLockCodec.cs index 0f441b371d..08cbc00f73 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapPutCodec.cs index 20b120aa45..1c617fb6a2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveCodec.cs index 9d937709f8..2ce044ea6e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryCodec.cs index 37781b73c7..6bb953a8a2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryListenerCodec.cs index 938e966886..2b151bbe36 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapRemoveEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapSizeCodec.cs index 4a13e10a9f..e398222fdb 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapTryLockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapTryLockCodec.cs index 47c14396b9..6a92dc9682 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapTryLockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapTryLockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapUnlockCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapUnlockCodec.cs index 7ab8dea8f8..827a506d09 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapUnlockCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapUnlockCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapValueCountCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapValueCountCodec.cs index 6640bfac18..5b85ad8cf8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapValueCountCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapValueCountCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/MultiMapValuesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/MultiMapValuesCodec.cs index 4f4c7857e7..cfa376f8cf 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/MultiMapValuesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/MultiMapValuesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/PNCounterAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/PNCounterAddCodec.cs index 10211794a9..c211c80933 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/PNCounterAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/PNCounterAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetCodec.cs index 0062a5a348..10782739c8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetConfiguredReplicaCountCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetConfiguredReplicaCountCodec.cs index ba85e4757d..7f020f9cb3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetConfiguredReplicaCountCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/PNCounterGetConfiguredReplicaCountCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueAddAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueAddAllCodec.cs index 915f8d3710..054ab33e10 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueAddAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueAddAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueAddListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueAddListenerCodec.cs index 5ac4841380..bfbbe28bb6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueAddListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueAddListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueClearCodec.cs index 5d45b7af18..c2b107173d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRemoveAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRemoveAllCodec.cs index 188f54ad3a..2202288ffe 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRemoveAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRemoveAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRetainAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRetainAllCodec.cs index 33a760ddcf..74aaaef2a3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRetainAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueCompareAndRetainAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueContainsAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueContainsAllCodec.cs index 9a98f827db..ac11768509 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueContainsAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueContainsAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueContainsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueContainsCodec.cs index 89414fc7f3..dd2a078b53 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueContainsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueContainsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToCodec.cs index 5dadaf7961..d2244ab53b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToMaxSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToMaxSizeCodec.cs index 7071486678..d0cd970ba3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToMaxSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueDrainToMaxSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueIsEmptyCodec.cs index 6139e3b636..64441f976f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueIteratorCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueIteratorCodec.cs index 87d04694c7..5e0929a06e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueIteratorCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueIteratorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueOfferCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueOfferCodec.cs index f344994c38..c9281a40ee 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueOfferCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueOfferCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueuePeekCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueuePeekCodec.cs index 74f533f9e3..6f4cd36ca4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueuePeekCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueuePeekCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueuePollCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueuePollCodec.cs index ef6fe68836..cb2a52cda7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueuePollCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueuePollCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueuePutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueuePutCodec.cs index 96ca138694..111d01f98a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueuePutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueuePutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueRemainingCapacityCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueRemainingCapacityCodec.cs index 1aafccf44e..02aaac6d75 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueRemainingCapacityCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueRemainingCapacityCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveCodec.cs index 04cb196ef3..25b308a58c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveListenerCodec.cs index 3c74978cad..ed29c34bae 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueRemoveListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueSizeCodec.cs index 1d58040519..038bc4611a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/QueueTakeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/QueueTakeCodec.cs index a7f28d221a..6b3292b943 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/QueueTakeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/QueueTakeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerCodec.cs index 716caa670a..0e3473967b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyCodec.cs index c30e884cf0..78ace32d27 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.cs index 8202c2e764..50318eebdd 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerWithPredicateCodec.cs index b29a4a266f..6ab88ba401 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddEntryListenerWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddNearCacheEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddNearCacheEntryListenerCodec.cs index 8f9d403949..1185199b4a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddNearCacheEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapAddNearCacheEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapClearCodec.cs index 63e94677ee..9e0e5583ef 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsKeyCodec.cs index c0b4db4c6d..6f9cf3df8d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsValueCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsValueCodec.cs index 4604c034d3..93e80b4902 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsValueCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapContainsValueCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapEntrySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapEntrySetCodec.cs index 1df74a70b4..15ac32d71d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapEntrySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapEntrySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapGetCodec.cs index 18a798e45e..724a5dc838 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapIsEmptyCodec.cs index d51f47866d..100a025f51 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapKeySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapKeySetCodec.cs index a44bc2ad85..8f6c6ab44a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapKeySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapKeySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutAllCodec.cs index 9776744f88..900a7d7f5d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutCodec.cs index 2fa9b030c0..bb47bfbe1d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveCodec.cs index 00021fa1e0..cb1ab0d78f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveEntryListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveEntryListenerCodec.cs index 3eab67ed79..c6e9f947e9 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveEntryListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapRemoveEntryListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapSizeCodec.cs index 352a5e58f2..cbdcd3b1a1 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapValuesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapValuesCodec.cs index b5b9e78e1c..e6b952af4c 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapValuesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/ReplicatedMapValuesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddAllCodec.cs index 099e2f7345..aa249a0e95 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddCodec.cs index 3bb6b4dd67..b531e21361 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferCapacityCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferCapacityCodec.cs index 8b816d5345..433eb68073 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferCapacityCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferCapacityCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferHeadSequenceCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferHeadSequenceCodec.cs index ba1745d1d7..806f2b5259 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferHeadSequenceCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferHeadSequenceCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadManyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadManyCodec.cs index 20ffccf0b7..b12c9c41a0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadManyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadManyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -137,7 +137,7 @@ public sealed class ResponseParameters public int ReadCount { get; set; } /// - /// List of items that have beee read. + /// List of items that have been read. /// public IList Items { get; set; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadOneCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadOneCodec.cs index d74708ee2a..c78464abd8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadOneCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferReadOneCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferRemainingCapacityCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferRemainingCapacityCodec.cs index 5c3665ef61..04edf64150 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferRemainingCapacityCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferRemainingCapacityCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferSizeCodec.cs index 652dfa93da..d1612f571e 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/RingbufferTailSequenceCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/RingbufferTailSequenceCodec.cs index 551cb9444f..5d7adfeed2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/RingbufferTailSequenceCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/RingbufferTailSequenceCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetAddAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetAddAllCodec.cs index 98d28aad6c..e317489f78 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetAddAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetAddAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetAddCodec.cs index 98faa15402..2ffa46cd71 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetAddListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetAddListenerCodec.cs index 1c33299e71..e2fe62edc3 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetAddListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetAddListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetClearCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetClearCodec.cs index 3ae3ad3f68..98fa3ea301 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetClearCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetClearCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRemoveAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRemoveAllCodec.cs index 5a7cbd9fd7..45108bd2a6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRemoveAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRemoveAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRetainAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRetainAllCodec.cs index 898fb43157..98f07b8815 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRetainAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetCompareAndRetainAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetContainsAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetContainsAllCodec.cs index 1d40585701..2d066ba018 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetContainsAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetContainsAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetContainsCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetContainsCodec.cs index 8dfedbcab0..e232be3391 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetContainsCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetContainsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetGetAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetGetAllCodec.cs index fd02f6be21..bacfaebaf4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetGetAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetGetAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetIsEmptyCodec.cs index ee4cdf2768..e8a8636a8f 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetRemoveCodec.cs index 31a0ef41e5..5c5cc73ec0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetRemoveListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetRemoveListenerCodec.cs index fc11f0b938..5bb9d38dea 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetRemoveListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetRemoveListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SetSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SetSizeCodec.cs index 2c8de4d93f..fddb1ef091 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SetSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SetSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SqlCloseCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SqlCloseCodec.cs index ec2d1419b8..1783d708e2 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SqlCloseCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SqlCloseCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SqlExecuteCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SqlExecuteCodec.cs index 04512cec25..106604c7f7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SqlExecuteCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SqlExecuteCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/SqlFetchCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/SqlFetchCodec.cs index 2fda315886..47e58948dd 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/SqlFetchCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/SqlFetchCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TopicAddMessageListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TopicAddMessageListenerCodec.cs index c47c2a623a..71dafe55d7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TopicAddMessageListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TopicAddMessageListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TopicPublishAllCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TopicPublishAllCodec.cs index 7d2584b2c4..747bf56930 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TopicPublishAllCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TopicPublishAllCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TopicPublishCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TopicPublishCodec.cs index 7e6566d69a..9c8e7190ca 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TopicPublishCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TopicPublishCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TopicRemoveMessageListenerCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TopicRemoveMessageListenerCodec.cs index b7af6ef862..43405e91e8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TopicRemoveMessageListenerCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TopicRemoveMessageListenerCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionCommitCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionCommitCodec.cs index 789ab237ef..5dc20da872 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionCommitCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionCommitCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionCreateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionCreateCodec.cs index 39bcf323c8..4284eafa78 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionCreateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionCreateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionRollbackCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionRollbackCodec.cs index 50f1e022d2..53dba6e96d 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionRollbackCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionRollbackCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListAddCodec.cs index 6306ad6149..ec2bbb02ff 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListRemoveCodec.cs index fb3e43820c..6fe613e58a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListSizeCodec.cs index 9c898b03b3..c47d764b41 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalListSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalListSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsKeyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsKeyCodec.cs index a43d517d87..66f0512339 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsKeyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsKeyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsValueCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsValueCodec.cs index fa30480ffb..13fb20b3a8 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsValueCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapContainsValueCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapDeleteCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapDeleteCodec.cs index cb5b62f75e..150d62fada 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapDeleteCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapDeleteCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetCodec.cs index f0ecf2b36e..762845b6bc 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetForUpdateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetForUpdateCodec.cs index 491c79d66c..e9643c46c7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetForUpdateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapGetForUpdateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapIsEmptyCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapIsEmptyCodec.cs index ed9a261d02..c5213f9fcc 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapIsEmptyCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapIsEmptyCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetCodec.cs index 8ccf3323cd..b36febe404 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetWithPredicateCodec.cs index afb3a11711..9034d2b330 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapKeySetWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutCodec.cs index d4d99e2024..7a8dba456a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutIfAbsentCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutIfAbsentCodec.cs index bdcd011139..934297680a 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutIfAbsentCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapPutIfAbsentCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveCodec.cs index f043e45e2e..9d75142d74 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveIfSameCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveIfSameCodec.cs index 9707ed7679..1564fc6c83 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveIfSameCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapRemoveIfSameCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceCodec.cs index 65119a8fbf..7c38cad0e7 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceIfSameCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceIfSameCodec.cs index 53fde02bbe..66c37dd0a4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceIfSameCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapReplaceIfSameCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSetCodec.cs index 8cf84fbe36..38a35ccbb4 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSizeCodec.cs index 74e2f652d2..8dc89c3390 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesCodec.cs index 7df62f1c86..4a8c1e9170 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesWithPredicateCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesWithPredicateCodec.cs index 194605a6fc..8085865a13 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesWithPredicateCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMapValuesWithPredicateCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapGetCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapGetCodec.cs index 0ed28c9d47..262144cd70 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapGetCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapGetCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapPutCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapPutCodec.cs index 56d1c0ab62..daf8dc5af6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapPutCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapPutCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveCodec.cs index 98bd2d7b01..0165338c40 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveEntryCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveEntryCodec.cs index 1fcc23cd5d..cfc94640a0 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveEntryCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapRemoveEntryCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapSizeCodec.cs index a7ad977af4..887c115f24 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapValueCountCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapValueCountCodec.cs index d6409ab76b..8b6f5bc324 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapValueCountCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalMultiMapValueCountCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueOfferCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueOfferCodec.cs index bccfdfb647..d604d95c35 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueOfferCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueOfferCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -62,7 +62,7 @@ public sealed class RequestParameters { /// - /// Name of the Transcational Queue + /// Name of the Transactional Queue /// public string Name { get; set; } diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePeekCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePeekCodec.cs index fd82539cf3..a712e3cb1b 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePeekCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePeekCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePollCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePollCodec.cs index ba801f7d4e..1114004673 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePollCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueuePollCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueSizeCodec.cs index d6ba6443e7..11283ab7b6 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueTakeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueTakeCodec.cs index 2daa700937..e4cd8c19a5 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueTakeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalQueueTakeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetAddCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetAddCodec.cs index fac746f263..e15a79bf23 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetAddCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetAddCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetRemoveCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetRemoveCodec.cs index 17abf1e034..701b68fb02 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetRemoveCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetRemoveCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetSizeCodec.cs b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetSizeCodec.cs index 0f73497f25..9ee2b96e85 100644 --- a/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetSizeCodec.cs +++ b/src/Hazelcast.Net/Protocol/Codecs/TransactionalSetSizeCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/AddressCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/AddressCodec.cs index bf70cc37bf..9443b3587d 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/AddressCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/AddressCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/AnchorDataListHolderCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/AnchorDataListHolderCodec.cs index 93ac52bdb9..aff3948d63 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/AnchorDataListHolderCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/AnchorDataListHolderCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/BTreeIndexConfigCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/BTreeIndexConfigCodec.cs index 3614ebe8ac..1252987799 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/BTreeIndexConfigCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/BTreeIndexConfigCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/BitmapIndexOptionsCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/BitmapIndexOptionsCodec.cs index 98e10f72f5..a0c7455bb3 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/BitmapIndexOptionsCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/BitmapIndexOptionsCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/CapacityCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/CapacityCodec.cs index 296b7b0dce..dbe85b07a7 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/CapacityCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/CapacityCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/DistributedObjectInfoCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/DistributedObjectInfoCodec.cs index 305dc06cb6..56e22405f2 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/DistributedObjectInfoCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/DistributedObjectInfoCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/EndpointQualifierCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/EndpointQualifierCodec.cs index 5d9181fd6b..2f232e5b5f 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/EndpointQualifierCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/EndpointQualifierCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/ErrorHolderCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/ErrorHolderCodec.cs index 74b967625b..aee8275e03 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/ErrorHolderCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/ErrorHolderCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/FieldDescriptorCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/FieldDescriptorCodec.cs index 98bc83933b..93e07dca6c 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/FieldDescriptorCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/FieldDescriptorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/HazelcastJsonValueCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/HazelcastJsonValueCodec.cs index 39d833014b..1078b24429 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/HazelcastJsonValueCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/HazelcastJsonValueCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/IndexConfigCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/IndexConfigCodec.cs index 6334cd501b..d546a92ed1 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/IndexConfigCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/IndexConfigCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/MemberInfoCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/MemberInfoCodec.cs index c696c54b77..f93c166c1d 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/MemberInfoCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/MemberInfoCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/MemberVersionCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/MemberVersionCodec.cs index 9289c6f036..de321d19ae 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/MemberVersionCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/MemberVersionCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/MemoryTierConfigCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/MemoryTierConfigCodec.cs index cc3e762c33..8a77c0bb82 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/MemoryTierConfigCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/MemoryTierConfigCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/PagingPredicateHolderCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/PagingPredicateHolderCodec.cs index f2f72a1c87..df5eee8b7d 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/PagingPredicateHolderCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/PagingPredicateHolderCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/RaftGroupIdCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/RaftGroupIdCodec.cs index dc408d3816..1359cee90e 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/RaftGroupIdCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/RaftGroupIdCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/SchemaCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/SchemaCodec.cs index 29933d0fa3..55ee5063bd 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/SchemaCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/SchemaCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/SimpleEntryViewCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/SimpleEntryViewCodec.cs index 4959b590f7..7564a7d0dc 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/SimpleEntryViewCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/SimpleEntryViewCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlColumnMetadataCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlColumnMetadataCodec.cs index a5183849bd..eaed1606d2 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlColumnMetadataCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlColumnMetadataCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlErrorCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlErrorCodec.cs index 9a4c17e1f2..35a3053cd6 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlErrorCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlErrorCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // @@ -53,6 +53,7 @@ public static void Encode(ClientMessage clientMessage, Hazelcast.Sql.SqlError sq CodecUtil.EncodeNullable(clientMessage, sqlError.Message, StringCodec.Encode); CodecUtil.EncodeNullable(clientMessage, sqlError.Suggestion, StringCodec.Encode); + CodecUtil.EncodeNullable(clientMessage, sqlError.CauseStackTrace, StringCodec.Encode); clientMessage.Append(Frame.CreateEndStruct()); } @@ -74,9 +75,16 @@ public static Hazelcast.Sql.SqlError Decode(IEnumerator iterator) suggestion = CodecUtil.DecodeNullable(iterator, StringCodec.Decode); isSuggestionExists = true; } + var isCauseStackTraceExists = false; + string causeStackTrace = default; + if (iterator.NextIsNotTheEnd()) + { + causeStackTrace = CodecUtil.DecodeNullable(iterator, StringCodec.Decode); + isCauseStackTraceExists = true; + } iterator.SkipToStructEnd(); - return new Hazelcast.Sql.SqlError(code, message, originatingMemberId, isSuggestionExists, suggestion); + return new Hazelcast.Sql.SqlError(code, message, originatingMemberId, isSuggestionExists, suggestion, isCauseStackTraceExists, causeStackTrace); } } } diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlQueryIdCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlQueryIdCodec.cs index 889d8e39cd..b009f708a2 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/SqlQueryIdCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/SqlQueryIdCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // diff --git a/src/Hazelcast.Net/Protocol/CustomCodecs/StackTraceElementCodec.cs b/src/Hazelcast.Net/Protocol/CustomCodecs/StackTraceElementCodec.cs index a8b821d419..fe95709f8f 100644 --- a/src/Hazelcast.Net/Protocol/CustomCodecs/StackTraceElementCodec.cs +++ b/src/Hazelcast.Net/Protocol/CustomCodecs/StackTraceElementCodec.cs @@ -14,7 +14,7 @@ // // This code was generated by a tool. -// Hazelcast Client Protocol Code Generator @54480b651 +// Hazelcast Client Protocol Code Generator @2e80de297 // https://github.com/hazelcast/hazelcast-client-protocol // Change to this file will be lost if the code is regenerated. // From 0b980f9a0810f0a26268c8fb469865b0bf0cce58 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 26 Dec 2023 16:10:39 +0300 Subject: [PATCH 03/10] Update codec changes. --- .../Clustering/MemberConnectionTests.cs | 3 ++- .../Clustering/SubscriptionCollectTests.cs | 4 +++- src/Hazelcast.Net.Tests/Networking/NetworkingTests.cs | 6 ++++-- src/Hazelcast.Net/Sql/SqlError.cs | 10 ++++++++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs b/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs index e06be21987..fb47e03f01 100644 --- a/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs +++ b/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs @@ -317,7 +317,8 @@ private async ValueTask ServerHandler(ClientRequest request) var authRequest = ClientAuthenticationServerCodec.DecodeRequest(request.Message); var authResponse = ClientAuthenticationServerCodec.EncodeResponse( 0, request.State.Address, request.State.MemberId, SerializationService.SerializerVersion, - "4.0", partitionsCount, request.Server.ClusterId, false); + "4.0", partitionsCount, request.Server.ClusterId, false, + Enumerable.Empty().ToList(),Array.Empty()); await request.RespondAsync(authResponse).CfAwait(); break; } diff --git a/src/Hazelcast.Net.Tests/Clustering/SubscriptionCollectTests.cs b/src/Hazelcast.Net.Tests/Clustering/SubscriptionCollectTests.cs index 04311b9b20..a1099bcd1b 100644 --- a/src/Hazelcast.Net.Tests/Clustering/SubscriptionCollectTests.cs +++ b/src/Hazelcast.Net.Tests/Clustering/SubscriptionCollectTests.cs @@ -14,6 +14,7 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Threading; using System.Threading.Tasks; using Hazelcast.Core; @@ -192,7 +193,8 @@ private async ValueTask ServerHandler(ClientRequest request) var authRequest = ClientAuthenticationServerCodec.DecodeRequest(request.Message); var authResponse = ClientAuthenticationServerCodec.EncodeResponse( 0, request.State.Address, request.State.MemberId, SerializationService.SerializerVersion, - "4.0", partitionsCount, request.Server.ClusterId, false); + "4.0", partitionsCount, request.Server.ClusterId, false, + Enumerable.Empty().ToList(),Array.Empty()); await request.RespondAsync(authResponse).CfAwait(); break; } diff --git a/src/Hazelcast.Net.Tests/Networking/NetworkingTests.cs b/src/Hazelcast.Net.Tests/Networking/NetworkingTests.cs index 3b05117a9d..f5c7a8d5e8 100644 --- a/src/Hazelcast.Net.Tests/Networking/NetworkingTests.cs +++ b/src/Hazelcast.Net.Tests/Networking/NetworkingTests.cs @@ -87,7 +87,8 @@ private async Task HandleAsync(Server server, ClientMessageConnection connection var request = ClientAuthenticationServerCodec.DecodeRequest(requestMessage); var responseMessage = ClientAuthenticationServerCodec.EncodeResponse( 0, server.Address, server.MemberId, SerializationService.SerializerVersion, - "4.0", 1, server.ClusterId, false); + "4.0", 1, server.ClusterId, false, + Enumerable.Empty().ToList(),Array.Empty()); await connection.SendResponseAsync(requestMessage, responseMessage).CfAwait(); break; } @@ -272,7 +273,8 @@ async Task EventAsync(ClientMessage eventMessage) var authRequest = ClientAuthenticationServerCodec.DecodeRequest(msg); var authResponse = ClientAuthenticationServerCodec.EncodeResponse( 0, address, Guid.NewGuid(), SerializationService.SerializerVersion, - "4.0", 1, Guid.NewGuid(), false); + "4.0", 1, Guid.NewGuid(), false, + Enumerable.Empty().ToList(),Array.Empty()); await ResponseAsync(authResponse).CfAwait(); break; diff --git a/src/Hazelcast.Net/Sql/SqlError.cs b/src/Hazelcast.Net/Sql/SqlError.cs index 66c689ca7c..e1e17a8376 100644 --- a/src/Hazelcast.Net/Sql/SqlError.cs +++ b/src/Hazelcast.Net/Sql/SqlError.cs @@ -23,19 +23,25 @@ internal class SqlError { public int Code { get; } public string Message { get; } + + public string CauseStackTrace { get; } + public bool HasCauseStackTrace { get; set; } public Guid OriginatingMemberId { get; } public string Suggestion { get; } + //(code, message, originatingMemberId, isSuggestionExists, suggestion, isCauseStackTraceExists, causeStackTrace); /// /// Creates a new instance of class. /// - public SqlError(int code, string message, Guid originatingMemberId, bool hasSuggestion, string suggestion) + public SqlError(int code, string message, Guid originatingMemberId, bool hasSuggestion, string suggestion, bool hasCauseStackTrace, string causeStackTrace) { Code = code; Message = message; + HasCauseStackTrace = hasCauseStackTrace; + CauseStackTrace = causeStackTrace; OriginatingMemberId = originatingMemberId; if (hasSuggestion) Suggestion = suggestion; } } -} \ No newline at end of file +} From cd9835aa12d583107c74898501cab40b23cd10b6 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Wed, 27 Dec 2023 18:56:12 +0300 Subject: [PATCH 04/10] Add cpmap impl. --- src/Hazelcast.Net/CP/CPMap.cs | 96 +++++++++++++++++++ src/Hazelcast.Net/CP/CPSubsystem.cs | 28 +++++- src/Hazelcast.Net/CP/ICPMap.cs | 4 +- src/Hazelcast.Net/CP/ICPSubsystem.cs | 17 +++- .../DistributedObjects/ServiceNames.cs | 5 + src/Hazelcast.Net/HazelcastClient.cs | 2 +- 6 files changed, 147 insertions(+), 5 deletions(-) create mode 100644 src/Hazelcast.Net/CP/CPMap.cs diff --git a/src/Hazelcast.Net/CP/CPMap.cs b/src/Hazelcast.Net/CP/CPMap.cs new file mode 100644 index 0000000000..9bf228264d --- /dev/null +++ b/src/Hazelcast.Net/CP/CPMap.cs @@ -0,0 +1,96 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Threading.Tasks; +using Hazelcast.Clustering; +using Hazelcast.Core; +using Hazelcast.DistributedObjects; +using Hazelcast.Protocol.Codecs; +using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; + +namespace Hazelcast.CP; + +class CPMap : DistributedObjectBase, ICPMap +{ + private readonly CPGroupId _cpGroupId; + public ICPGroupId GroupId => _cpGroupId; + + public CPMap(string serviceName, + string name, + DistributedObjectFactory factory, + Cluster cluster, + SerializationService serializationService, + ILoggerFactory loggerFactory, + CPGroupId cpGroupId) : base(serviceName, name, factory, cluster, serializationService, loggerFactory) + { + _cpGroupId = cpGroupId; + } + + public async Task PutAsync(TKey key, TValue value) + { + var keyData = ToSafeData(key); + var valueData = ToSafeData(value); + var message = CPMapPutCodec.EncodeRequest(_cpGroupId, Name, keyData, valueData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + var responseData = CPMapPutCodec.DecodeResponse(response).Response; + return await ToObjectAsync(responseData).CfAwait(); + } + + public async Task SetAsync(TKey key, TValue value) + { + var keyData = ToSafeData(key); + var valueData = ToSafeData(value); + var message = CPMapSetCodec.EncodeRequest(_cpGroupId, Name, keyData, valueData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + _ = CPMapSetCodec.DecodeResponse(response); + } + + public async Task GetAsync(TKey key) + { + var keyData = ToSafeData(key); + var message = CPMapGetCodec.EncodeRequest(_cpGroupId, Name, keyData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + var responseData = CPMapGetCodec.DecodeResponse(response).Response; + return await ToObjectAsync(responseData).CfAwait(); + } + + public async Task RemoveAsync(TKey key) + { + var keyData = ToSafeData(key); + var message = CPMapRemoveCodec.EncodeRequest(_cpGroupId, Name, keyData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + var responseData = CPMapRemoveCodec.DecodeResponse(response).Response; + return await ToObjectAsync(responseData).CfAwait(); + } + + public async Task DeleteAsync(TKey key) + { + var keyData = ToSafeData(key); + var message = CPMapDeleteCodec.EncodeRequest(_cpGroupId, Name, keyData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + _ = CPMapDeleteCodec.DecodeResponse(response); + } + + public async Task CompareAndSetAsync(TKey key, TValue expectedValue, TValue newValue) + { + var keyData = ToSafeData(key); + var expectedValueData = ToSafeData(expectedValue); + var newValueData = ToSafeData(newValue); + var message = CPMapCompareAndSetCodec.EncodeRequest(_cpGroupId, Name, keyData, expectedValueData, newValueData); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); + var responseData = CPMapRemoveCodec.DecodeResponse(response).Response; + return await ToObjectAsync(responseData).CfAwait(); + } +} diff --git a/src/Hazelcast.Net/CP/CPSubsystem.cs b/src/Hazelcast.Net/CP/CPSubsystem.cs index 1da604d603..7578a348ca 100644 --- a/src/Hazelcast.Net/CP/CPSubsystem.cs +++ b/src/Hazelcast.Net/CP/CPSubsystem.cs @@ -14,12 +14,15 @@ using System; using System.Collections.Concurrent; +using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Hazelcast.Clustering; using Hazelcast.Core; +using Hazelcast.DistributedObjects; using Hazelcast.Exceptions; using Hazelcast.Protocol.Codecs; using Hazelcast.Serialization; +using Microsoft.Extensions.Logging; namespace Hazelcast.CP { @@ -31,6 +34,8 @@ internal class CPSubsystem : ICPSubsystem, IAsyncDisposable private readonly Cluster _cluster; private readonly SerializationService _serializationService; private readonly ConcurrentDictionary _fencedLocks = new ConcurrentDictionary(); + private readonly DistributedObjectFactory _objectFactory; + private readonly ILoggerFactory _loggerFactory; // ReSharper disable once InconsistentNaming - internal for tests internal readonly CPSessionManager _cpSubsystemSession; @@ -40,11 +45,15 @@ internal class CPSubsystem : ICPSubsystem, IAsyncDisposable /// /// The cluster. /// The serialization service. - public CPSubsystem(Cluster cluster, SerializationService serializationService) + /// Distributed object factory. + /// A logger factory. + public CPSubsystem(Cluster cluster, SerializationService serializationService, DistributedObjectFactory objectFactory, ILoggerFactory loggerFactory) { _cluster = cluster; _serializationService = serializationService; _cpSubsystemSession = new CPSessionManager(cluster); + _objectFactory = objectFactory; + _loggerFactory = loggerFactory; } // NOTES @@ -126,6 +135,22 @@ public async Task GetLockAsync(string name) } } + /// + public async Task> GetMap([NotNull]string name) + { + if (string.IsNullOrEmpty(name)) throw new ArgumentNullException(nameof(name)); + + var (groupName, objectName, fullName) = ParseName(name); + var groupId = await GetGroupIdAsync(groupName).CfAwait(); + + var task = _objectFactory + .GetOrCreateAsync, CPMap>(ServiceNames.CPMap, objectName, true, + (n, f, c, sr, lf) + => new CPMap(ServiceNames.CPMap, n, f, c, sr, lf, groupId)); + + return await task.CfAwait(); + } + // see: ClientRaftProxyFactory.java private async Task GetGroupIdAsync(string proxyName) @@ -180,6 +205,7 @@ public static (string groupName, string objectName, string fullName) ParseName(s return (groupName, objectName, fullName); } + public async ValueTask DisposeAsync() { await _cpSubsystemSession.DisposeAsync().CfAwaitNoThrow(); diff --git a/src/Hazelcast.Net/CP/ICPMap.cs b/src/Hazelcast.Net/CP/ICPMap.cs index 79105b06e5..16764644b4 100644 --- a/src/Hazelcast.Net/CP/ICPMap.cs +++ b/src/Hazelcast.Net/CP/ICPMap.cs @@ -20,12 +20,12 @@ namespace Hazelcast.CP; /// /// CPMap is a key-value store within CP. It supports atomic operations on an entry. -/// CPMap is only available in enterprise edition.This data structure is not partitioned +/// CPMap is only available in enterprise cluster.This data structure is not partitioned /// across members in the cluster. It lives in one of the members. /// /// Type of key in the map. /// Type of value in the map. -public interface ICPMap : IDistributedObject +public interface ICPMap : ICPDistributedObject { /// /// Sets to . diff --git a/src/Hazelcast.Net/CP/ICPSubsystem.cs b/src/Hazelcast.Net/CP/ICPSubsystem.cs index 882f8d343b..42d4484235 100644 --- a/src/Hazelcast.Net/CP/ICPSubsystem.cs +++ b/src/Hazelcast.Net/CP/ICPSubsystem.cs @@ -13,6 +13,7 @@ // limitations under the License. using System.Threading.Tasks; +using Hazelcast.Protocol.Codecs; namespace Hazelcast.CP { @@ -51,5 +52,19 @@ public interface ICPSubsystem /// exist already in the cluster, a new object is created. /// Task GetLockAsync(string name); - } + + /// + /// Gets an distributed object. + /// CPMap is only available in enterprise cluster. + /// The map will be created in DEFAULT CP group if no group name provided within . + /// If a group name provided, first, the group will be initialized, + /// if does not exist. Then, instance will be created on this group. + /// + /// + /// + /// The unique name of the map. It can contain the group name like "myMap@group1" + /// Type of the key. + /// Type of the value. + Task> GetMap(string name); + } } diff --git a/src/Hazelcast.Net/DistributedObjects/ServiceNames.cs b/src/Hazelcast.Net/DistributedObjects/ServiceNames.cs index 795a638c96..82f4b16338 100644 --- a/src/Hazelcast.Net/DistributedObjects/ServiceNames.cs +++ b/src/Hazelcast.Net/DistributedObjects/ServiceNames.cs @@ -88,5 +88,10 @@ internal static class ServiceNames /// The name of the Fenced Lock service. /// public const string FencedLock = "hz:raft:lockService"; + + /// + /// The name of the CPMap service. + /// + public const string CPMap = "hz:raft:mapService"; } } diff --git a/src/Hazelcast.Net/HazelcastClient.cs b/src/Hazelcast.Net/HazelcastClient.cs index 1309870d9b..211c0253db 100644 --- a/src/Hazelcast.Net/HazelcastClient.cs +++ b/src/Hazelcast.Net/HazelcastClient.cs @@ -63,7 +63,7 @@ public HazelcastClient(HazelcastOptions options, Cluster cluster, ILoggerFactory _distributedOjects = new DistributedObjectFactory(Cluster, SerializationService, loggerFactory); _nearCacheManager = new NearCacheManager(cluster, SerializationService, loggerFactory, options.NearCache); - CPSubsystem = new CPSubsystem(cluster, SerializationService); + CPSubsystem = new CPSubsystem(cluster, SerializationService, _distributedOjects, loggerFactory); // This option is internal and bound to SmartRouting for now. options.Sql.ArgumentIndexCachingEnabled = options.Networking.SmartRouting; From a1cb13a746389d04c16a1544e796b1f4146c0d1e Mon Sep 17 00:00:00 2001 From: emreyigit Date: Thu, 28 Dec 2023 19:24:52 +0300 Subject: [PATCH 05/10] Add tests --- src/Hazelcast.Net.Tests/CP/CPMapTests.cs | 190 +++++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 src/Hazelcast.Net.Tests/CP/CPMapTests.cs diff --git a/src/Hazelcast.Net.Tests/CP/CPMapTests.cs b/src/Hazelcast.Net.Tests/CP/CPMapTests.cs new file mode 100644 index 0000000000..9b4fbcff5b --- /dev/null +++ b/src/Hazelcast.Net.Tests/CP/CPMapTests.cs @@ -0,0 +1,190 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Hazelcast.Core; +using Hazelcast.CP; +using Hazelcast.DistributedObjects; +using Hazelcast.Protocol; +using Hazelcast.Protocol.Models; +using Hazelcast.Testing; +using Hazelcast.Testing.Remote; +using NUnit.Framework; + +namespace Hazelcast.Tests.CP; + +[Category("enterprise")] +public class CPMapTests : MultiMembersRemoteTestBase +{ + private string _defaultMapName = "myMap"; + private string _groupName = "group1"; + + private List _members = new(); + public IHazelcastClient Client { get; private set; } + protected override string RcClusterConfiguration => TestFiles.ReadAllText(this, "Cluster/cp.xml"); + + + [OneTimeSetUp] + public async Task TestOneTimeSetUp() + { + // CP-subsystem wants at least 3 members + for (var i = 0; i < 3; i++) await AddMember().CfAwait(); + Client = await CreateAndStartClientAsync().CfAwait(); + } + + + [Test] + public async Task TestGetCPMapWithNullName() + { + Assert.ThrowsAsync(() => Client.CPSubsystem.GetMapAsync(null)); + } + + [Test] + public async Task TestGetCPMap() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + Assert.NotNull(map); + Assert.IsInstanceOf>(map); + Assert.IsInstanceOf(map); + + var doBase = (CPDistributedObjectBase) map; + Assert.AreEqual(ServiceNames.CPMap, doBase.ServiceName); + Assert.AreEqual(_defaultMapName, doBase.Name); + Assert.IsNull(doBase.PartitionKey); + + var cpObject = (ICPDistributedObject) map; + Assert.AreEqual(CPSubsystem.DefaultGroupName, cpObject.GroupId.Name); + } + + [Test] + public async Task TestPut() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + var (key, val) = (101, 1001); + + // Attention: Neither key nor value can be null. + + var prevVal = await map.PutAsync(key, val)!; + Assert.AreEqual(default(int), prevVal); + Assert.That(prevVal, Is.Zero); + prevVal = await map.PutAsync(key, val)!; + Assert.AreEqual(val, prevVal); + } + + [Test] + public async Task TestSet() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + var (key, val) = (102, 1002); + + // Attention: Neither key nor value can be null. It's ok to suppress. + await map.SetAsync(key, val); + var setVal = await map.GetAsync(key)!; + Assert.AreEqual(val, setVal); + } + + [Test] + public async Task TestGet() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + var (key, val) = (103, 1003); + + var setVal = await map.GetAsync(key)!; + Assert.AreEqual(default(int), setVal); + + await map.SetAsync(key, val); + + setVal = await map.GetAsync(key)!; + Assert.AreEqual(val, setVal); + } + + [Test] + public async Task TestRemove() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + var (key, val) = (104, 1004); + + var setVal = await map.RemoveAsync(key)!; + Assert.AreEqual(default(int), setVal); + + await map.SetAsync(key, val); + + setVal = await map.RemoveAsync(key)!; + Assert.AreEqual(val, setVal); + } + + [Test] + public async Task TestDelete() + { + var map = await Client.CPSubsystem.GetMapAsync(_defaultMapName); + var (key, val) = (105, 1005); + + // Nothing happens. + await map.DeleteAsync(key); + + await map.SetAsync(key, val); + await map.DeleteAsync(key); + var getVal = await map.GetAsync(key)!; + Assert.AreEqual(default(int), getVal); + } + + [Test] + public async Task TestCompareAndSet() + { + var map = await Client.CPSubsystem.GetMapAsync("stringMap"); + + var key = "myKey"; + var val1 = "val1"; + var val2 = "val2"; + + await map.SetAsync(key, val1); + + var isSet = await map.CompareAndSetAsync(key, "randomKey", "randomValue"); + Assert.False(isSet); + var actual = await map.GetAsync(key)!; + Assert.AreEqual(val1, actual); + + isSet = await map.CompareAndSetAsync(key, val1, val2); + Assert.True(isSet); + actual = await map.GetAsync(key)!; + Assert.AreEqual(val2, actual); + } + + [Test] + public async Task TestTryUseAfterDestroy() + { + var mapName = "myMap1"; + var map = await Client.CPSubsystem.GetMapAsync(mapName); + await map.DestroyAsync(); + var ex = Assert.ThrowsAsync(() => map.SetAsync(1, 1)); + Assert.AreEqual(RemoteError.DistributedObjectDestroyed, ex!.Error); + } + + [Test] + public async Task TestTryCreateAfterDestroy() + { + var mapName = "myMap2"; + var map = await Client.CPSubsystem.GetMapAsync(mapName); + await map.DestroyAsync(); + var ex = Assert.ThrowsAsync(async () => + { + var mapNew = await Client.CPSubsystem.GetMapAsync(mapName); + await mapNew.SetAsync(1, 1); + }); + + Assert.AreEqual(RemoteError.DistributedObjectDestroyed, ex!.Error); + } +} From f308252e528e0f5d11d7abb080be7a2a70b34de1 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Thu, 28 Dec 2023 19:25:28 +0300 Subject: [PATCH 06/10] Refactor CPDistributedObjectBase for common DestroyAsync. --- src/Hazelcast.Net/CP/AtomicLong.cs | 14 +++------ src/Hazelcast.Net/CP/AtomicReference.cs | 9 +----- .../CP/CPDistributedObjectBase.cs | 30 ++++++++++++++++-- src/Hazelcast.Net/CP/CPMap.cs | 31 +++++++------------ src/Hazelcast.Net/CP/CPSubsystem.cs | 20 +++++------- src/Hazelcast.Net/CP/FencedLock.Requests.cs | 9 +----- src/Hazelcast.Net/CP/FencedLock.cs | 7 +++-- src/Hazelcast.Net/CP/ICPSubsystem.cs | 2 +- 8 files changed, 57 insertions(+), 65 deletions(-) diff --git a/src/Hazelcast.Net/CP/AtomicLong.cs b/src/Hazelcast.Net/CP/AtomicLong.cs index ee3e480e6a..844ae04207 100644 --- a/src/Hazelcast.Net/CP/AtomicLong.cs +++ b/src/Hazelcast.Net/CP/AtomicLong.cs @@ -17,6 +17,7 @@ using Hazelcast.Core; using Hazelcast.DistributedObjects; using Hazelcast.Protocol.Codecs; +using Hazelcast.Serialization; namespace Hazelcast.CP { @@ -31,8 +32,9 @@ internal class AtomicLong : CPDistributedObjectBase, IAtomicLong /// The unique name. /// The CP group identifier. /// The cluster. - public AtomicLong(string name, CPGroupId groupId, Cluster cluster) - : base(ServiceNames.AtomicLong, name, groupId, cluster) + /// The serialization service. + public AtomicLong(string name, CPGroupId groupId, Cluster cluster, SerializationService serializationService) + : base(ServiceNames.AtomicLong, name, groupId, cluster, serializationService) { } /// @@ -94,13 +96,5 @@ public async Task GetAsync() /// public Task SetAsync(long value) => GetAndSetAsync(value); - - /// - public override async ValueTask DestroyAsync() - { - var requestMessage = CPGroupDestroyCPObjectCodec.EncodeRequest(CPGroupId, ServiceName, Name); - var responseMessage = await Cluster.Messaging.SendAsync(requestMessage).CfAwait(); - var response = CPGroupDestroyCPObjectCodec.DecodeResponse(responseMessage); - } } } diff --git a/src/Hazelcast.Net/CP/AtomicReference.cs b/src/Hazelcast.Net/CP/AtomicReference.cs index be66868bc9..469adf5634 100644 --- a/src/Hazelcast.Net/CP/AtomicReference.cs +++ b/src/Hazelcast.Net/CP/AtomicReference.cs @@ -35,7 +35,7 @@ internal class AtomicReference: CPDistributedObjectBase, IAtomicReference /// The cluster. /// The serialization service. public AtomicReference(string name, CPGroupId groupId, Cluster cluster, SerializationService serializationService) - : base(ServiceNames.AtomicRef, name, groupId, cluster) + : base(ServiceNames.AtomicRef, name, groupId, cluster, serializationService) { SerializationService = serializationService ?? throw new ArgumentNullException(nameof(serializationService)); } @@ -103,13 +103,6 @@ public async Task ContainsAsync(T value) return response; } - /// - public override async ValueTask DestroyAsync() - { - var requestMessage = CPGroupDestroyCPObjectCodec.EncodeRequest(CPGroupId, ServiceName, Name); - var responseMessage = await Cluster.Messaging.SendAsync(requestMessage).CfAwait(); - var response = CPGroupDestroyCPObjectCodec.DecodeResponse(responseMessage); - } protected IData ToData(T value) => SerializationService.ToData(value); diff --git a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs index e1e78a9d74..bc68db26e8 100644 --- a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs +++ b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs @@ -12,8 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. +using System; using System.Threading.Tasks; using Hazelcast.Clustering; +using Hazelcast.Protocol.Codecs; +using Hazelcast.Serialization; namespace Hazelcast.CP { @@ -29,14 +32,17 @@ internal abstract class CPDistributedObjectBase : ICPDistributedObject /// The unique name of the object. /// The CP group identifier of the object. /// A cluster. - protected CPDistributedObjectBase(string serviceName, string name, CPGroupId groupId, Cluster cluster) + protected CPDistributedObjectBase(string serviceName, string name, CPGroupId groupId, Cluster cluster, SerializationService serializationService) { ServiceName = serviceName; Name = name; CPGroupId = groupId; Cluster = cluster; + SerializationService = serializationService; } + protected SerializationService SerializationService { get; } + /// public string ServiceName { get; } @@ -53,8 +59,28 @@ protected CPDistributedObjectBase(string serviceName, string name, CPGroupId gro protected Cluster Cluster { get; } + protected ValueTask ToObjectAsync(IData valueData) + { + return SerializationService.TryToObject(valueData, out var obj, out var state) + ? new ValueTask(obj) + : SerializationService.ToObjectAsync(valueData, state); + } + + protected IData ToSafeData(object o1) + { + if (o1 == null) throw new ArgumentNullException(nameof(o1)); + + var data1 = SerializationService.ToData(o1); + return data1; + } + /// - public abstract ValueTask DestroyAsync(); + public virtual async ValueTask DestroyAsync() + { + var message = CPGroupDestroyCPObjectCodec.EncodeRequest(CPGroupId, ServiceName, Name); + var response = await Cluster.Messaging.SendAsync(message); + _ = CPGroupDestroyCPObjectCodec.DecodeResponse(response); + } /// /// Frees resources used by this instance. diff --git a/src/Hazelcast.Net/CP/CPMap.cs b/src/Hazelcast.Net/CP/CPMap.cs index 9bf228264d..451402ff16 100644 --- a/src/Hazelcast.Net/CP/CPMap.cs +++ b/src/Hazelcast.Net/CP/CPMap.cs @@ -15,34 +15,25 @@ using System.Threading.Tasks; using Hazelcast.Clustering; using Hazelcast.Core; -using Hazelcast.DistributedObjects; using Hazelcast.Protocol.Codecs; using Hazelcast.Serialization; -using Microsoft.Extensions.Logging; namespace Hazelcast.CP; -class CPMap : DistributedObjectBase, ICPMap +class CPMap : CPDistributedObjectBase, ICPMap { - private readonly CPGroupId _cpGroupId; - public ICPGroupId GroupId => _cpGroupId; - public CPMap(string serviceName, string name, - DistributedObjectFactory factory, Cluster cluster, SerializationService serializationService, - ILoggerFactory loggerFactory, - CPGroupId cpGroupId) : base(serviceName, name, factory, cluster, serializationService, loggerFactory) - { - _cpGroupId = cpGroupId; - } + CPGroupId cpGroupId) : base(serviceName, name, cpGroupId, cluster, serializationService) + { } public async Task PutAsync(TKey key, TValue value) { var keyData = ToSafeData(key); var valueData = ToSafeData(value); - var message = CPMapPutCodec.EncodeRequest(_cpGroupId, Name, keyData, valueData); + var message = CPMapPutCodec.EncodeRequest(CPGroupId, Name, keyData, valueData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); var responseData = CPMapPutCodec.DecodeResponse(response).Response; return await ToObjectAsync(responseData).CfAwait(); @@ -52,7 +43,7 @@ public async Task SetAsync(TKey key, TValue value) { var keyData = ToSafeData(key); var valueData = ToSafeData(value); - var message = CPMapSetCodec.EncodeRequest(_cpGroupId, Name, keyData, valueData); + var message = CPMapSetCodec.EncodeRequest(CPGroupId, Name, keyData, valueData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); _ = CPMapSetCodec.DecodeResponse(response); } @@ -60,7 +51,7 @@ public async Task SetAsync(TKey key, TValue value) public async Task GetAsync(TKey key) { var keyData = ToSafeData(key); - var message = CPMapGetCodec.EncodeRequest(_cpGroupId, Name, keyData); + var message = CPMapGetCodec.EncodeRequest(CPGroupId, Name, keyData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); var responseData = CPMapGetCodec.DecodeResponse(response).Response; return await ToObjectAsync(responseData).CfAwait(); @@ -69,7 +60,7 @@ public async Task GetAsync(TKey key) public async Task RemoveAsync(TKey key) { var keyData = ToSafeData(key); - var message = CPMapRemoveCodec.EncodeRequest(_cpGroupId, Name, keyData); + var message = CPMapRemoveCodec.EncodeRequest(CPGroupId, Name, keyData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); var responseData = CPMapRemoveCodec.DecodeResponse(response).Response; return await ToObjectAsync(responseData).CfAwait(); @@ -78,7 +69,7 @@ public async Task RemoveAsync(TKey key) public async Task DeleteAsync(TKey key) { var keyData = ToSafeData(key); - var message = CPMapDeleteCodec.EncodeRequest(_cpGroupId, Name, keyData); + var message = CPMapDeleteCodec.EncodeRequest(CPGroupId, Name, keyData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); _ = CPMapDeleteCodec.DecodeResponse(response); } @@ -88,9 +79,9 @@ public async Task CompareAndSetAsync(TKey key, TValue expectedValue, TValu var keyData = ToSafeData(key); var expectedValueData = ToSafeData(expectedValue); var newValueData = ToSafeData(newValue); - var message = CPMapCompareAndSetCodec.EncodeRequest(_cpGroupId, Name, keyData, expectedValueData, newValueData); + var message = CPMapCompareAndSetCodec.EncodeRequest(CPGroupId, Name, keyData, expectedValueData, newValueData); var response = await Cluster.Messaging.SendAsync(message).CfAwait(); - var responseData = CPMapRemoveCodec.DecodeResponse(response).Response; - return await ToObjectAsync(responseData).CfAwait(); + return CPMapCompareAndSetCodec.DecodeResponse(response).Response; } + } diff --git a/src/Hazelcast.Net/CP/CPSubsystem.cs b/src/Hazelcast.Net/CP/CPSubsystem.cs index 7578a348ca..f35c7828c9 100644 --- a/src/Hazelcast.Net/CP/CPSubsystem.cs +++ b/src/Hazelcast.Net/CP/CPSubsystem.cs @@ -80,7 +80,7 @@ public async Task GetAtomicLongAsync(string name) var (groupName, objectName, _) = ParseName(name); var groupId = await GetGroupIdAsync(groupName).CfAwait(); - return new AtomicLong(objectName, groupId, _cluster); + return new AtomicLong(objectName, groupId, _cluster, _serializationService); } public async Task> GetAtomicReferenceAsync(string name) @@ -127,28 +127,22 @@ public async Task GetLockAsync(string name) // and we need to verify that the group ID of the lock we get is correct (in case // we don't add but just get the one that was added by the other task) - if it does // not match then refresh the group ID and return - we want to be consistent - fencedLock = _fencedLocks.GetOrAdd(fullName, _ => new FencedLock(fullName, objectName, groupId, _cluster, _cpSubsystemSession)); + fencedLock = _fencedLocks.GetOrAdd(fullName, _ => new FencedLock(fullName, objectName, groupId, + _cluster, _cpSubsystemSession, _serializationService)); if (fencedLock.GroupId.Equals(groupId)) return fencedLock; groupId = await GetGroupIdAsync(groupName).CfAwait(); } } - - /// - public async Task> GetMap([NotNull]string name) + + public async Task> GetMapAsync([NotNull] string name) { - if (string.IsNullOrEmpty(name)) throw new ArgumentNullException(nameof(name)); - var (groupName, objectName, fullName) = ParseName(name); var groupId = await GetGroupIdAsync(groupName).CfAwait(); - var task = _objectFactory - .GetOrCreateAsync, CPMap>(ServiceNames.CPMap, objectName, true, - (n, f, c, sr, lf) - => new CPMap(ServiceNames.CPMap, n, f, c, sr, lf, groupId)); - - return await task.CfAwait(); + return new CPMap(ServiceNames.CPMap, objectName, _cluster, + _serializationService, groupId); } // see: ClientRaftProxyFactory.java diff --git a/src/Hazelcast.Net/CP/FencedLock.Requests.cs b/src/Hazelcast.Net/CP/FencedLock.Requests.cs index 8609dabf93..4ddfdf2dbf 100644 --- a/src/Hazelcast.Net/CP/FencedLock.Requests.cs +++ b/src/Hazelcast.Net/CP/FencedLock.Requests.cs @@ -47,14 +47,7 @@ protected async Task RequestUnlockAsync(long sessionId, long threadId, Gui var response = FencedLockUnlockCodec.DecodeResponse(responseMessage); return response.Response; } - - protected async Task RequestDestroyAsync() - { - var requestMessage = CPGroupDestroyCPObjectCodec.EncodeRequest(CPGroupId, ServiceName, Name); - var responseMessage = await Cluster.Messaging.SendAsync(requestMessage).CfAwait(); - var _ = CPGroupDestroyCPObjectCodec.DecodeResponse(responseMessage); - } - + protected async Task RequestLockOwnershipStateAsync() { var requestMessage = FencedLockGetLockOwnershipCodec.EncodeRequest(CPGroupId, Name); diff --git a/src/Hazelcast.Net/CP/FencedLock.cs b/src/Hazelcast.Net/CP/FencedLock.cs index 8bd0e30e35..63f8676548 100644 --- a/src/Hazelcast.Net/CP/FencedLock.cs +++ b/src/Hazelcast.Net/CP/FencedLock.cs @@ -22,6 +22,7 @@ using Hazelcast.Exceptions; using Hazelcast.Protocol; using Hazelcast.Protocol.Models; +using Hazelcast.Serialization; namespace Hazelcast.CP { @@ -39,8 +40,8 @@ internal partial class FencedLock : CPDistributedObjectBase, IFencedLock private int _destroyed; public const long InvalidFence = 0; - public FencedLock(string fullName, string objectName, CPGroupId groupId, Cluster cluster, CPSessionManager subsystemSession) - : base(ServiceNames.FencedLock, objectName, groupId, cluster) + public FencedLock(string fullName, string objectName, CPGroupId groupId, Cluster cluster, CPSessionManager subsystemSession, SerializationService serializationService) + : base(ServiceNames.FencedLock, objectName, groupId, cluster, serializationService) { _fullName = fullName; // TODO: this should be a base class property _groupId = groupId; @@ -518,7 +519,7 @@ public override async ValueTask DestroyAsync() { if (!_destroyed.InterlockedZeroToOne()) return; - await RequestDestroyAsync().CfAwait(); + await base.DestroyAsync().CfAwait(); // note: still needs to be disposed to clear the _contextLocker } diff --git a/src/Hazelcast.Net/CP/ICPSubsystem.cs b/src/Hazelcast.Net/CP/ICPSubsystem.cs index 42d4484235..b5230d39ee 100644 --- a/src/Hazelcast.Net/CP/ICPSubsystem.cs +++ b/src/Hazelcast.Net/CP/ICPSubsystem.cs @@ -65,6 +65,6 @@ public interface ICPSubsystem /// The unique name of the map. It can contain the group name like "myMap@group1" /// Type of the key. /// Type of the value. - Task> GetMap(string name); + Task> GetMapAsync(string name); } } From 1c6b497d2f380a50c97711fb701434d6bfd702ed Mon Sep 17 00:00:00 2001 From: emreyigit Date: Fri, 29 Dec 2023 15:22:56 +0300 Subject: [PATCH 07/10] Add docs and example. --- doc/dev/doc/distributed-objects/cpmap.md | 52 +++++++++++++++ doc/dev/doc/toc.md | 1 + src/Hazelcast.Net.Examples/CP/CPMapExample.cs | 63 +++++++++++++++++++ src/Hazelcast.Net.Tests/CP/CPMapTests.cs | 5 +- .../CP/CPDistributedObjectBase.cs | 3 +- src/Hazelcast.Net/CP/ICPMap.cs | 1 - 6 files changed, 120 insertions(+), 5 deletions(-) create mode 100644 doc/dev/doc/distributed-objects/cpmap.md create mode 100644 src/Hazelcast.Net.Examples/CP/CPMapExample.cs diff --git a/doc/dev/doc/distributed-objects/cpmap.md b/doc/dev/doc/distributed-objects/cpmap.md new file mode 100644 index 0000000000..15167ccfaf --- /dev/null +++ b/doc/dev/doc/distributed-objects/cpmap.md @@ -0,0 +1,52 @@ +# CPMap + +> [!NOTE] +> CPMap is a member of CP Subsystem API. For detailed information, see the [CP SubSystem documentation](../cpsubsystem.md). +> [!WARNING] +> It is only available in Hazelcast Enterprise. + +Hazelcast CPMap is a strongly consistent mapping structure under CP Subsystem. It offers linearizability, and supports atomic `CompareAndSetAsync`, `DeleteAsync`, `GetAsync`, `PutAsync`, `RemoveAsync` and `SetAsync` operations. Hazelcast .Net Client also supports these atomic operations, for implementation details, please, see [CPMap documentation](https://docs.hazelcast.com/hazelcast/latest/data-structures/cpmap). + +In order to use `CPMap`, CP Subsystem must be enabled on the server side. Moreover, if no Raft group specified while creating the structure, `CPMap` will be created under `default` Raft group. + +## Example + +The following simple example creates a `CPMap` under `myGroup` Raft group. If the group has not been initialized yet, +first; the raft group will be created. Then, the structure will be initialized. + +```csharp + +// create an Hazelcast client and connect to a enterprise server running on localhost +// note that that server should be properly configured for CP with at least 3 members +await using var client = await HazelcastClientFactory.StartNewClientAsync(options); + +// Get a CPMap under "myGroup" Raft group. +var map = await client.CPSubsystem.GetMapAsync("myMap@myGroup"); + +var (key, val) = (1, "my-value"); + +// Set a value +// Note: Set does not return back the old value that is associated with the key. If you require the previous value, +// consider using PutAsync. +await map.SetAsync(key, val); + +// Get value that is map to the key. +// If key does not exist, the return value will be null. However, we know that the key-value pair exists, and +// ignore the possible null warning. +var currentVal = await map.GetAsync(key)!; + +Console.WriteLine($"Key: {key}, Expected Value: {val}, Actual Value:{currentVal}"); + +// Let's change the value of the key by using CompareAndSetAsync +// The expected value will be compared to current value which is associated to given key. +// If they are equal, new value will be set. +var newValue = "my-new-value"; +var isSet = await map.CompareAndSetAsync(key, currentVal, newValue); + +Console.WriteLine($"Key: {key}, Expected Value: {currentVal}, New Value:{newValue}, Is set successfully done:{isSet}"); + + +// Assume that we do not need the map anymore. So, it is better to destroy the map on the cluster and release the resources. +// Note that Hazelcast does NOT do garbage collection on CPMap. +await map.DestroyAsync(); +``` diff --git a/doc/dev/doc/toc.md b/doc/dev/doc/toc.md index 07b7e872d6..8fad7762e3 100644 --- a/doc/dev/doc/toc.md +++ b/doc/dev/doc/toc.md @@ -29,6 +29,7 @@ ## [AtomicRef](distributed-objects/atomicref.md) ## [FlakeIdGenerator](distributed-objects/flakeidgenerator.md) ## [FencedLock](distributed-objects/fencedlock.md) +## [CPMap](distributed-objects/cpmap.md) # [Distributed Computing](distributedComputing.md) # [Distributed Query](distributedQuery.md) # [CP SubSystem](cpsubsystem.md) diff --git a/src/Hazelcast.Net.Examples/CP/CPMapExample.cs b/src/Hazelcast.Net.Examples/CP/CPMapExample.cs new file mode 100644 index 0000000000..1a1fdce053 --- /dev/null +++ b/src/Hazelcast.Net.Examples/CP/CPMapExample.cs @@ -0,0 +1,63 @@ +// Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Threading.Tasks; + +namespace Hazelcast.Examples.CP; + +public class CPMapExample +{ + public static async Task Main(string[] args) + { + var options = new HazelcastOptionsBuilder() + .With(args) + .WithConsoleLogger() + .Build(); + + // create an Hazelcast client and connect to a enterprise server running on localhost + // note that that server should be properly configured for CP with at least 3 members + await using var client = await HazelcastClientFactory.StartNewClientAsync(options); + + // Get a CPMap under "myGroup" Raft group. + var map = await client.CPSubsystem.GetMapAsync("myMap@myGroup"); + + var (key, val) = (1, "my-value"); + + // Set a value + // Note: Set does not return back the old value that is associated with the key. If you require the previous value, + // consider using PutAsync. + await map.SetAsync(key, val); + + // Get value that is map to the key. + // If key does not exist, the return value will be null. However, we know that the key-value pair exists, and + // ignore the possible null warning. + var currentVal = await map.GetAsync(key)!; + + Console.WriteLine($"Key: {key}, Expected Value: {val}, Actual Value:{currentVal}"); + + // Let's change the value of the key by using CompareAndSetAsync + // The expected value will be compared to current value which is associated to given key. + // If they are equal, new value will be set. + var newValue = "my-new-value"; + var isSet = await map.CompareAndSetAsync(key, currentVal, newValue); + + Console.WriteLine($"Key: {key}, Expected Value: {currentVal}, New Value:{newValue}, Is set successfully done:{isSet}"); + + + // Assume that we do not need the map anymore. So, it is better to destroy the map on the cluster and release the resources. + // Note that Hazelcast does NOT do garbage collection on CPMap. + await map.DestroyAsync(); + } +} diff --git a/src/Hazelcast.Net.Tests/CP/CPMapTests.cs b/src/Hazelcast.Net.Tests/CP/CPMapTests.cs index 9b4fbcff5b..f5eea21fb5 100644 --- a/src/Hazelcast.Net.Tests/CP/CPMapTests.cs +++ b/src/Hazelcast.Net.Tests/CP/CPMapTests.cs @@ -64,9 +64,8 @@ public async Task TestGetCPMap() Assert.AreEqual(ServiceNames.CPMap, doBase.ServiceName); Assert.AreEqual(_defaultMapName, doBase.Name); Assert.IsNull(doBase.PartitionKey); - - var cpObject = (ICPDistributedObject) map; - Assert.AreEqual(CPSubsystem.DefaultGroupName, cpObject.GroupId.Name); + + Assert.AreEqual(CPSubsystem.DefaultGroupName, map.GroupId.Name); } [Test] diff --git a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs index bc68db26e8..39feee8fa6 100644 --- a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs +++ b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs @@ -15,6 +15,7 @@ using System; using System.Threading.Tasks; using Hazelcast.Clustering; +using Hazelcast.Core; using Hazelcast.Protocol.Codecs; using Hazelcast.Serialization; @@ -78,7 +79,7 @@ protected IData ToSafeData(object o1) public virtual async ValueTask DestroyAsync() { var message = CPGroupDestroyCPObjectCodec.EncodeRequest(CPGroupId, ServiceName, Name); - var response = await Cluster.Messaging.SendAsync(message); + var response = await Cluster.Messaging.SendAsync(message).CfAwait(); _ = CPGroupDestroyCPObjectCodec.DecodeResponse(response); } diff --git a/src/Hazelcast.Net/CP/ICPMap.cs b/src/Hazelcast.Net/CP/ICPMap.cs index 16764644b4..98360d2132 100644 --- a/src/Hazelcast.Net/CP/ICPMap.cs +++ b/src/Hazelcast.Net/CP/ICPMap.cs @@ -14,7 +14,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -using Hazelcast.DistributedObjects; namespace Hazelcast.CP; From 1e035072a014026fe3dd6f8b5a3f8970f4faf5a2 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 16 Jan 2024 12:42:44 +0300 Subject: [PATCH 08/10] Review changes. --- .../Clustering/MemberConnectionTests.cs | 2 +- src/Hazelcast.Net/CP/AtomicReference.cs | 10 +++------- src/Hazelcast.Net/CP/CPDistributedObjectBase.cs | 2 +- src/Hazelcast.Net/CP/CPSubsystem.cs | 5 +---- src/Hazelcast.Net/HazelcastClient.cs | 2 +- 5 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs b/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs index fb47e03f01..2b0d997e01 100644 --- a/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs +++ b/src/Hazelcast.Net.Tests/Clustering/MemberConnectionTests.cs @@ -318,7 +318,7 @@ private async ValueTask ServerHandler(ClientRequest request) var authResponse = ClientAuthenticationServerCodec.EncodeResponse( 0, request.State.Address, request.State.MemberId, SerializationService.SerializerVersion, "4.0", partitionsCount, request.Server.ClusterId, false, - Enumerable.Empty().ToList(),Array.Empty()); + Array.Empty(), Array.Empty()); await request.RespondAsync(authResponse).CfAwait(); break; } diff --git a/src/Hazelcast.Net/CP/AtomicReference.cs b/src/Hazelcast.Net/CP/AtomicReference.cs index 469adf5634..da9b4c5a30 100644 --- a/src/Hazelcast.Net/CP/AtomicReference.cs +++ b/src/Hazelcast.Net/CP/AtomicReference.cs @@ -25,7 +25,7 @@ namespace Hazelcast.CP /// /// Provides the implementation. /// - internal class AtomicReference: CPDistributedObjectBase, IAtomicReference + internal class AtomicReference : CPDistributedObjectBase, IAtomicReference { /// /// Initializes a new instance of the class. @@ -36,11 +36,7 @@ internal class AtomicReference: CPDistributedObjectBase, IAtomicReference /// The serialization service. public AtomicReference(string name, CPGroupId groupId, Cluster cluster, SerializationService serializationService) : base(ServiceNames.AtomicRef, name, groupId, cluster, serializationService) - { - SerializationService = serializationService ?? throw new ArgumentNullException(nameof(serializationService)); - } - - protected SerializationService SerializationService { get; } + { } /// public async Task CompareAndSetAsync(T comparand, T value) @@ -113,4 +109,4 @@ protected ValueTask ToObjectAsync(IData valueData) : SerializationService.ToObjectAsync(valueData, state); } } -} \ No newline at end of file +} diff --git a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs index 39feee8fa6..5bbf598522 100644 --- a/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs +++ b/src/Hazelcast.Net/CP/CPDistributedObjectBase.cs @@ -39,7 +39,7 @@ protected CPDistributedObjectBase(string serviceName, string name, CPGroupId gro Name = name; CPGroupId = groupId; Cluster = cluster; - SerializationService = serializationService; + SerializationService = serializationService ?? throw new ArgumentNullException(nameof(serializationService)); } protected SerializationService SerializationService { get; } diff --git a/src/Hazelcast.Net/CP/CPSubsystem.cs b/src/Hazelcast.Net/CP/CPSubsystem.cs index f35c7828c9..32213a5bdd 100644 --- a/src/Hazelcast.Net/CP/CPSubsystem.cs +++ b/src/Hazelcast.Net/CP/CPSubsystem.cs @@ -34,7 +34,6 @@ internal class CPSubsystem : ICPSubsystem, IAsyncDisposable private readonly Cluster _cluster; private readonly SerializationService _serializationService; private readonly ConcurrentDictionary _fencedLocks = new ConcurrentDictionary(); - private readonly DistributedObjectFactory _objectFactory; private readonly ILoggerFactory _loggerFactory; // ReSharper disable once InconsistentNaming - internal for tests @@ -45,14 +44,12 @@ internal class CPSubsystem : ICPSubsystem, IAsyncDisposable /// /// The cluster. /// The serialization service. - /// Distributed object factory. /// A logger factory. - public CPSubsystem(Cluster cluster, SerializationService serializationService, DistributedObjectFactory objectFactory, ILoggerFactory loggerFactory) + public CPSubsystem(Cluster cluster, SerializationService serializationService, ILoggerFactory loggerFactory) { _cluster = cluster; _serializationService = serializationService; _cpSubsystemSession = new CPSessionManager(cluster); - _objectFactory = objectFactory; _loggerFactory = loggerFactory; } diff --git a/src/Hazelcast.Net/HazelcastClient.cs b/src/Hazelcast.Net/HazelcastClient.cs index 211c0253db..bea5dd68a4 100644 --- a/src/Hazelcast.Net/HazelcastClient.cs +++ b/src/Hazelcast.Net/HazelcastClient.cs @@ -63,7 +63,7 @@ public HazelcastClient(HazelcastOptions options, Cluster cluster, ILoggerFactory _distributedOjects = new DistributedObjectFactory(Cluster, SerializationService, loggerFactory); _nearCacheManager = new NearCacheManager(cluster, SerializationService, loggerFactory, options.NearCache); - CPSubsystem = new CPSubsystem(cluster, SerializationService, _distributedOjects, loggerFactory); + CPSubsystem = new CPSubsystem(cluster, SerializationService, loggerFactory); // This option is internal and bound to SmartRouting for now. options.Sql.ArgumentIndexCachingEnabled = options.Networking.SmartRouting; From df059ba54c6426b67864f396a184c65ab174508f Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 16 Jan 2024 12:45:46 +0300 Subject: [PATCH 09/10] Add link of cpmap to CP cpsubsystem.md --- doc/dev/doc/cpsubsystem.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/dev/doc/cpsubsystem.md b/doc/dev/doc/cpsubsystem.md index d9153ac21a..8dadf6a678 100644 --- a/doc/dev/doc/cpsubsystem.md +++ b/doc/dev/doc/cpsubsystem.md @@ -11,4 +11,5 @@ The CP SubSystem is a component of a Hazelcast cluster that builds a strongly co Currently, the C# client CP SubSystem implements the following services: * [AtomicLong](distributed-objects/atomiclong.md) * [AtomicRef](distributed-objects/atomicref.md) -* [FencedLock](distributed-objects/fencedlock.md) \ No newline at end of file +* [FencedLock](distributed-objects/fencedlock.md) +* [CPMap](distributed-objects/cpmap.md) \ No newline at end of file From 4e236f2bc06084acb99c24d64d2b922a949a4196 Mon Sep 17 00:00:00 2001 From: emreyigit Date: Tue, 16 Jan 2024 13:10:59 +0300 Subject: [PATCH 10/10] Add newly added codec params in tests. --- src/Hazelcast.Net.Tests/Clustering/FailoverTests2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hazelcast.Net.Tests/Clustering/FailoverTests2.cs b/src/Hazelcast.Net.Tests/Clustering/FailoverTests2.cs index feef8f52a6..4e5e44f4e9 100644 --- a/src/Hazelcast.Net.Tests/Clustering/FailoverTests2.cs +++ b/src/Hazelcast.Net.Tests/Clustering/FailoverTests2.cs @@ -325,7 +325,7 @@ private async ValueTask ServerHandler(ClientRequest request) var authRequest = ClientAuthenticationServerCodec.DecodeRequest(request.Message); var authResponse = ClientAuthenticationServerCodec.EncodeResponse( 0, address, memberId, SerializationService.SerializerVersion, - "4.0", partitionsCount, request.Server.ClusterId, true); + "4.0", partitionsCount, request.Server.ClusterId, true,Array.Empty(), Array.Empty()); await request.RespondAsync(authResponse).CfAwait(); break; }