use of com.hazelcast.client.impl.protocol.task.cache.CachePutMessageTask in project hazelcast by hazelcast.
the class DefaultMessageTaskFactoryProvider method initializeCacheTaskFactories.
private void initializeCacheTaskFactories() {
factories.put(CacheClearCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheClearMessageTask(cm, node, con));
factories.put(CacheFetchNearCacheInvalidationMetadataCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheFetchNearCacheInvalidationMetadataTask(cm, node, con));
factories.put(CacheReplaceCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheReplaceMessageTask(cm, node, con));
factories.put(CacheContainsKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheContainsKeyMessageTask(cm, node, con));
factories.put(CacheCreateConfigCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheCreateConfigMessageTask(cm, node, con));
factories.put(CacheGetAndReplaceCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheGetAndReplaceMessageTask(cm, node, con));
factories.put(CacheGetAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheGetAllMessageTask(cm, node, con));
factories.put(CachePutCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CachePutMessageTask(cm, node, con));
factories.put(CacheAddNearCacheInvalidationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheAddNearCacheInvalidationListenerTask(cm, node, con));
factories.put(CachePutAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CachePutAllMessageTask(cm, node, con));
factories.put(CacheSetExpiryPolicyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheSetExpiryPolicyMessageTask(cm, node, con));
factories.put(CacheLoadAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheLoadAllMessageTask(cm, node, con));
factories.put(CacheListenerRegistrationCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheListenerRegistrationMessageTask(cm, node, con));
factories.put(CacheAddEntryListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheAddEntryListenerMessageTask(cm, node, con));
factories.put(CacheRemoveEntryListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemoveEntryListenerMessageTask(cm, node, con));
factories.put(CacheRemoveInvalidationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemoveInvalidationListenerMessageTask(cm, node, con));
factories.put(CacheDestroyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheDestroyMessageTask(cm, node, con));
factories.put(CacheRemoveCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemoveMessageTask(cm, node, con));
factories.put(CacheEntryProcessorCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheEntryProcessorMessageTask(cm, node, con));
factories.put(CacheGetAndRemoveCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheGetAndRemoveMessageTask(cm, node, con));
factories.put(CacheManagementConfigCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheManagementConfigMessageTask(cm, node, con));
factories.put(CachePutIfAbsentCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CachePutIfAbsentMessageTask(cm, node, con));
factories.put(CacheRemoveAllCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemoveAllMessageTask(cm, node, con));
factories.put(CacheRemoveAllKeysCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemoveAllKeysMessageTask(cm, node, con));
factories.put(CacheIterateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheIterateMessageTask(cm, node, con));
factories.put(CacheAddPartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheAddPartitionLostListenerMessageTask(cm, node, con));
factories.put(CacheGetConfigCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheGetConfigMessageTask(cm, node, con));
factories.put(CacheGetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheGetMessageTask(cm, node, con));
factories.put(CacheRemovePartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheRemovePartitionLostListenerMessageTask(cm, node, con));
factories.put(CacheSizeCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheSizeMessageTask(cm, node, con));
factories.put(CacheIterateEntriesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheIterateEntriesMessageTask(cm, node, con));
factories.put(CacheEventJournalSubscribeCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheEventJournalSubscribeTask(cm, node, con));
factories.put(CacheEventJournalReadCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CacheEventJournalReadTask<>(cm, node, con));
}
Aggregations