use of com.hazelcast.client.impl.protocol.task.map.MapLockMessageTask in project hazelcast by hazelcast.
the class DefaultMessageTaskFactoryProvider method initializeMapTaskFactories.
private void initializeMapTaskFactories() {
factories.put(MapEntriesWithPagingPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEntriesWithPagingPredicateMessageTask(cm, node, con));
factories.put(MapAddEntryListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddEntryListenerMessageTask(cm, node, con));
factories.put(MapFetchNearCacheInvalidationMetadataCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapFetchNearCacheInvalidationMetadataTask(cm, node, con));
factories.put(MapRemoveIfSameCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemoveIfSameMessageTask(cm, node, con));
factories.put(MapAddInterceptorCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddInterceptorMessageTask(cm, node, con));
factories.put(MapEntriesWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEntriesWithPredicateMessageTask(cm, node, con));
factories.put(MapPutTransientCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutTransientMessageTask(cm, node, con));
factories.put(MapContainsValueCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapContainsValueMessageTask(cm, node, con));
factories.put(MapIsEmptyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapIsEmptyMessageTask(cm, node, con));
factories.put(MapReplaceCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapReplaceMessageTask(cm, node, con));
factories.put(MapRemoveInterceptorCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemoveInterceptorMessageTask(cm, node, con));
factories.put(MapAddNearCacheInvalidationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddNearCacheInvalidationListenerMessageTask(cm, node, con));
factories.put(MapExecuteOnAllKeysCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapExecuteOnAllKeysMessageTask(cm, node, con));
factories.put(MapFlushCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapFlushMessageTask(cm, node, con));
factories.put(MapSetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapSetMessageTask(cm, node, con));
factories.put(MapTryLockCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapTryLockMessageTask(cm, node, con));
factories.put(MapAddEntryListenerToKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddEntryListenerToKeyMessageTask(cm, node, con));
factories.put(MapEntrySetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEntrySetMessageTask(cm, node, con));
factories.put(MapClearCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapClearMessageTask(cm, node, con));
factories.put(MapLockCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapLockMessageTask(cm, node, con));
factories.put(MapGetEntryViewCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapGetEntryViewMessageTask(cm, node, con));
factories.put(MapRemovePartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemovePartitionLostListenerMessageTask(cm, node, con));
factories.put(MapLoadGivenKeysCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapLoadGivenKeysMessageTask(cm, node, con));
factories.put(MapExecuteWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapExecuteWithPredicateMessageTask(cm, node, con));
factories.put(MapRemoveAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemoveAllMessageTask(cm, node, con));
factories.put(MapPutIfAbsentCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutIfAbsentMessageTask(cm, node, con));
factories.put(MapTryRemoveCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapTryRemoveMessageTask(cm, node, con));
factories.put(MapPutCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutMessageTask(cm, node, con));
factories.put(MapUnlockCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapUnlockMessageTask(cm, node, con));
factories.put(MapSizeCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapSizeMessageTask(cm, node, con));
factories.put(MapValuesWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapValuesWithPredicateMessageTask(cm, node, con));
factories.put(MapAddEntryListenerToKeyWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddEntryListenerToKeyWithPredicateMessageTask(cm, node, con));
factories.put(MapEvictCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEvictMessageTask(cm, node, con));
factories.put(MapGetAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapGetAllMessageTask(cm, node, con));
factories.put(MapReplaceAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapReplaceAllMessageTask(cm, node, con));
factories.put(MapForceUnlockCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapForceUnlockMessageTask(cm, node, con));
factories.put(MapLoadAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapLoadAllMessageTask(cm, node, con));
factories.put(MapAddIndexCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddIndexMessageTask(cm, node, con));
factories.put(MapExecuteOnKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapExecuteOnKeyMessageTask(cm, node, con));
factories.put(MapKeySetWithPagingPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapKeySetWithPagingPredicateMessageTask(cm, node, con));
factories.put(MapRemoveEntryListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemoveEntryListenerMessageTask(cm, node, con));
factories.put(MapIsLockedCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapIsLockedMessageTask(cm, node, con));
factories.put(MapEvictAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEvictAllMessageTask(cm, node, con));
factories.put(MapSubmitToKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapSubmitToKeyMessageTask(cm, node, con));
factories.put(MapValuesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapValuesMessageTask(cm, node, con));
factories.put(MapAddEntryListenerWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddEntryListenerWithPredicateMessageTask(cm, node, con));
factories.put(MapDeleteCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapDeleteMessageTask(cm, node, con));
factories.put(MapAddPartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAddPartitionLostListenerMessageTask(cm, node, con));
factories.put(MapPutAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutAllMessageTask(cm, node, con));
factories.put(MapRemoveCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapRemoveMessageTask(cm, node, con));
factories.put(MapKeySetWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapKeySetWithPredicateMessageTask(cm, node, con));
factories.put(MapExecuteOnKeysCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapExecuteOnKeysMessageTask(cm, node, con));
factories.put(MapReplaceIfSameCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapReplaceIfSameMessageTask(cm, node, con));
factories.put(MapContainsKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapContainsKeyMessageTask(cm, node, con));
factories.put(MapTryPutCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapTryPutMessageTask(cm, node, con));
factories.put(MapValuesWithPagingPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapValuesWithPagingPredicateMessageTask(cm, node, con));
factories.put(MapGetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapGetMessageTask(cm, node, con));
factories.put(MapKeySetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapKeySetMessageTask(cm, node, con));
factories.put(MapFetchKeysCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapFetchKeysMessageTask(cm, node, con));
factories.put(MapFetchEntriesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapFetchEntriesMessageTask(cm, node, con));
factories.put(MapAggregateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAggregateMessageTask(cm, node, con));
factories.put(MapAggregateWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapAggregateWithPredicateMessageTask(cm, node, con));
factories.put(MapProjectCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapProjectionMessageTask(cm, node, con));
factories.put(MapProjectWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapProjectionWithPredicateMessageTask(cm, node, con));
factories.put(MapFetchWithQueryCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapFetchWithQueryMessageTask(cm, node, con));
factories.put(MapEventJournalSubscribeCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEventJournalSubscribeTask(cm, node, con));
factories.put(MapEventJournalReadCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapEventJournalReadTask<>(cm, node, con));
factories.put(MapSetTtlCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapSetTtlMessageTask(cm, node, con));
factories.put(MapSetWithMaxIdleCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapSetWithMaxIdleMessageTask(cm, node, con));
factories.put(MapPutWithMaxIdleCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutWithMaxIdleMessageTask(cm, node, con));
factories.put(MapPutIfAbsentWithMaxIdleCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutIfAbsentWithMaxIdleMessageTask(cm, node, con));
factories.put(MapPutTransientWithMaxIdleCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new MapPutTransientWithMaxIdleMessageTask(cm, node, con));
}
Aggregations