Search in sources :

Example 1 with AddBackupListenerMessageTask

use of com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask in project hazelcast by hazelcast.

the class DefaultMessageTaskFactoryProvider method initializeGeneralTaskFactories.

private void initializeGeneralTaskFactories() {
    factories.put(ClientAddPartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddPartitionLostListenerMessageTask(cm, node, con));
    factories.put(ClientRemovePartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemovePartitionLostListenerMessageTask(cm, node, con));
    factories.put(ClientAddMigrationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddMigrationListenerMessageTask(cm, node, con));
    factories.put(ClientRemoveMigrationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemoveMigrationListenerMessageTask(cm, node, con));
    factories.put(ClientCreateProxyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CreateProxyMessageTask(cm, node, con));
    factories.put(ClientGetDistributedObjectsCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new GetDistributedObjectsMessageTask(cm, node, con));
    factories.put(ClientAddDistributedObjectListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddDistributedObjectListenerMessageTask(cm, node, con));
    factories.put(ClientDestroyProxyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DestroyProxyMessageTask(cm, node, con));
    factories.put(ClientPingCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new PingMessageTask(cm, node, con));
    factories.put(ClientAddClusterViewListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddClusterViewListenerMessageTask(cm, node, con));
    factories.put(ClientAuthenticationCustomCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AuthenticationCustomCredentialsMessageTask(cm, node, con));
    factories.put(ClientRemoveDistributedObjectListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemoveDistributedObjectListenerMessageTask(cm, node, con));
    factories.put(ClientAuthenticationCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AuthenticationMessageTask(cm, node, con));
    factories.put(ClientStatisticsCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new ClientStatisticsMessageTask(cm, node, con));
    factories.put(ClientDeployClassesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DeployClassesMessageTask(cm, node, con));
    factories.put(ClientCreateProxiesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CreateProxiesMessageTask(cm, node, con));
    factories.put(ClientLocalBackupListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddBackupListenerMessageTask(cm, node, con));
    factories.put(ClientTriggerPartitionAssignmentCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TriggerPartitionAssignmentMessageTask(cm, node, con));
}
Also used : AddPartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.AddPartitionLostListenerMessageTask) MapAddPartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.map.MapAddPartitionLostListenerMessageTask) CacheAddPartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheAddPartitionLostListenerMessageTask) CreateProxyMessageTask(com.hazelcast.client.impl.protocol.task.CreateProxyMessageTask) RemoveDistributedObjectListenerMessageTask(com.hazelcast.client.impl.protocol.task.RemoveDistributedObjectListenerMessageTask) DestroyProxyMessageTask(com.hazelcast.client.impl.protocol.task.DestroyProxyMessageTask) AddBackupListenerMessageTask(com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask) AuthenticationMessageTask(com.hazelcast.client.impl.protocol.task.AuthenticationMessageTask) MapRemovePartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.map.MapRemovePartitionLostListenerMessageTask) CacheRemovePartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.cache.CacheRemovePartitionLostListenerMessageTask) RemovePartitionLostListenerMessageTask(com.hazelcast.client.impl.protocol.task.RemovePartitionLostListenerMessageTask) AddClusterViewListenerMessageTask(com.hazelcast.client.impl.protocol.task.AddClusterViewListenerMessageTask) DeployClassesMessageTask(com.hazelcast.client.impl.protocol.task.DeployClassesMessageTask) AddDistributedObjectListenerMessageTask(com.hazelcast.client.impl.protocol.task.AddDistributedObjectListenerMessageTask) CreateProxiesMessageTask(com.hazelcast.client.impl.protocol.task.CreateProxiesMessageTask) PingMessageTask(com.hazelcast.client.impl.protocol.task.PingMessageTask) TriggerPartitionAssignmentMessageTask(com.hazelcast.client.impl.protocol.task.TriggerPartitionAssignmentMessageTask) AuthenticationCustomCredentialsMessageTask(com.hazelcast.client.impl.protocol.task.AuthenticationCustomCredentialsMessageTask) RemoveMigrationListenerMessageTask(com.hazelcast.client.impl.protocol.task.RemoveMigrationListenerMessageTask) AddMigrationListenerMessageTask(com.hazelcast.client.impl.protocol.task.AddMigrationListenerMessageTask) GetDistributedObjectsMessageTask(com.hazelcast.client.impl.protocol.task.GetDistributedObjectsMessageTask) ClientStatisticsMessageTask(com.hazelcast.client.impl.protocol.task.ClientStatisticsMessageTask)

Aggregations

AddBackupListenerMessageTask (com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask)1 AddClusterViewListenerMessageTask (com.hazelcast.client.impl.protocol.task.AddClusterViewListenerMessageTask)1 AddDistributedObjectListenerMessageTask (com.hazelcast.client.impl.protocol.task.AddDistributedObjectListenerMessageTask)1 AddMigrationListenerMessageTask (com.hazelcast.client.impl.protocol.task.AddMigrationListenerMessageTask)1 AddPartitionLostListenerMessageTask (com.hazelcast.client.impl.protocol.task.AddPartitionLostListenerMessageTask)1 AuthenticationCustomCredentialsMessageTask (com.hazelcast.client.impl.protocol.task.AuthenticationCustomCredentialsMessageTask)1 AuthenticationMessageTask (com.hazelcast.client.impl.protocol.task.AuthenticationMessageTask)1 ClientStatisticsMessageTask (com.hazelcast.client.impl.protocol.task.ClientStatisticsMessageTask)1 CreateProxiesMessageTask (com.hazelcast.client.impl.protocol.task.CreateProxiesMessageTask)1 CreateProxyMessageTask (com.hazelcast.client.impl.protocol.task.CreateProxyMessageTask)1 DeployClassesMessageTask (com.hazelcast.client.impl.protocol.task.DeployClassesMessageTask)1 DestroyProxyMessageTask (com.hazelcast.client.impl.protocol.task.DestroyProxyMessageTask)1 GetDistributedObjectsMessageTask (com.hazelcast.client.impl.protocol.task.GetDistributedObjectsMessageTask)1 PingMessageTask (com.hazelcast.client.impl.protocol.task.PingMessageTask)1 RemoveDistributedObjectListenerMessageTask (com.hazelcast.client.impl.protocol.task.RemoveDistributedObjectListenerMessageTask)1 RemoveMigrationListenerMessageTask (com.hazelcast.client.impl.protocol.task.RemoveMigrationListenerMessageTask)1 RemovePartitionLostListenerMessageTask (com.hazelcast.client.impl.protocol.task.RemovePartitionLostListenerMessageTask)1 TriggerPartitionAssignmentMessageTask (com.hazelcast.client.impl.protocol.task.TriggerPartitionAssignmentMessageTask)1 CacheAddPartitionLostListenerMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheAddPartitionLostListenerMessageTask)1 CacheRemovePartitionLostListenerMessageTask (com.hazelcast.client.impl.protocol.task.cache.CacheRemovePartitionLostListenerMessageTask)1