Search in sources :

Example 1 with CacheGetConfigMessageTask

use of com.hazelcast.client.impl.protocol.task.cache.CacheGetConfigMessageTask 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));
}
Also used : CacheClearMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheClearMessageTask) CacheManagementConfigMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheManagementConfigMessageTask) CacheRemoveAllKeysMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemoveAllKeysMessageTask) CacheReplaceMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheReplaceMessageTask) CacheEventJournalSubscribeTask(com.hazelcast.client.impl.protocol.task.cache.CacheEventJournalSubscribeTask) CacheGetMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheGetMessageTask) CacheSetExpiryPolicyMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheSetExpiryPolicyMessageTask) CacheLoadAllMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheLoadAllMessageTask) CacheListenerRegistrationMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheListenerRegistrationMessageTask) CacheRemovePartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemovePartitionLostListenerMessageTask) CacheSizeMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheSizeMessageTask) CacheRemoveEntryListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemoveEntryListenerMessageTask) CacheGetAndRemoveMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheGetAndRemoveMessageTask) CacheIterateEntriesMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheIterateEntriesMessageTask) CachePutAllMessageTask(com.hazelcast.client.impl.protocol.task.cache.CachePutAllMessageTask) CacheRemoveInvalidationListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemoveInvalidationListenerMessageTask) CacheIterateMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheIterateMessageTask) CacheEntryProcessorMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheEntryProcessorMessageTask) CacheAddNearCacheInvalidationListenerTask(com.hazelcast.client.impl.protocol.task.cache.CacheAddNearCacheInvalidationListenerTask) CachePutIfAbsentMessageTask(com.hazelcast.client.impl.protocol.task.cache.CachePutIfAbsentMessageTask) CacheGetConfigMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheGetConfigMessageTask) CacheFetchNearCacheInvalidationMetadataTask(com.hazelcast.client.impl.protocol.task.cache.CacheFetchNearCacheInvalidationMetadataTask) CachePutMessageTask(com.hazelcast.client.impl.protocol.task.cache.CachePutMessageTask) CacheAddEntryListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheAddEntryListenerMessageTask) CacheRemoveAllMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemoveAllMessageTask) CacheRemoveMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemoveMessageTask) CacheGetAllMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheGetAllMessageTask) CacheDestroyMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheDestroyMessageTask) CacheCreateConfigMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheCreateConfigMessageTask) CacheAddPartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheAddPartitionLostListenerMessageTask) CacheContainsKeyMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheContainsKeyMessageTask) CacheGetAndReplaceMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheGetAndReplaceMessageTask)

Aggregations

CacheAddEntryListenerMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheAddEntryListenerMessageTask)1 CacheAddNearCacheInvalidationListenerTask (com.hazelcast.client.impl.protocol.task.cache.CacheAddNearCacheInvalidationListenerTask)1 CacheAddPartitionLostListenerMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheAddPartitionLostListenerMessageTask)1 CacheClearMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheClearMessageTask)1 CacheContainsKeyMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheContainsKeyMessageTask)1 CacheCreateConfigMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheCreateConfigMessageTask)1 CacheDestroyMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheDestroyMessageTask)1 CacheEntryProcessorMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheEntryProcessorMessageTask)1 CacheEventJournalSubscribeTask (com.hazelcast.client.impl.protocol.task.cache.CacheEventJournalSubscribeTask)1 CacheFetchNearCacheInvalidationMetadataTask (com.hazelcast.client.impl.protocol.task.cache.CacheFetchNearCacheInvalidationMetadataTask)1 CacheGetAllMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheGetAllMessageTask)1 CacheGetAndRemoveMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheGetAndRemoveMessageTask)1 CacheGetAndReplaceMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheGetAndReplaceMessageTask)1 CacheGetConfigMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheGetConfigMessageTask)1 CacheGetMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheGetMessageTask)1 CacheIterateEntriesMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheIterateEntriesMessageTask)1 CacheIterateMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheIterateMessageTask)1 CacheListenerRegistrationMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheListenerRegistrationMessageTask)1 CacheLoadAllMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheLoadAllMessageTask)1 CacheManagementConfigMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheManagementConfigMessageTask)1