Search in sources :

Example 1 with DurableExecutorSubmitToPartitionMessageTask

use of com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorSubmitToPartitionMessageTask in project hazelcast by hazelcast.

the class DefaultMessageTaskFactoryProvider method initializeDurableExecutorTaskFactories.

private void initializeDurableExecutorTaskFactories() {
    factories.put(DurableExecutorSubmitToPartitionCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorSubmitToPartitionMessageTask(cm, node, con));
    factories.put(DurableExecutorIsShutdownCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorIsShutdownMessageTask(cm, node, con));
    factories.put(DurableExecutorShutdownCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorShutdownMessageTask(cm, node, con));
    factories.put(DurableExecutorRetrieveResultCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorRetrieveResultMessageTask(cm, node, con));
    factories.put(DurableExecutorDisposeResultCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorDisposeResultMessageTask(cm, node, con));
    factories.put(DurableExecutorRetrieveAndDisposeResultCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DurableExecutorRetrieveAndDisposeResultMessageTask(cm, node, con));
}
Also used : DurableExecutorSubmitToPartitionMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorSubmitToPartitionMessageTask) DurableExecutorShutdownMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorShutdownMessageTask) DurableExecutorIsShutdownMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorIsShutdownMessageTask) DurableExecutorRetrieveResultMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorRetrieveResultMessageTask) DurableExecutorDisposeResultMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorDisposeResultMessageTask) DurableExecutorRetrieveAndDisposeResultMessageTask(com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorRetrieveAndDisposeResultMessageTask)

Aggregations

DurableExecutorDisposeResultMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorDisposeResultMessageTask)1 DurableExecutorIsShutdownMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorIsShutdownMessageTask)1 DurableExecutorRetrieveAndDisposeResultMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorRetrieveAndDisposeResultMessageTask)1 DurableExecutorRetrieveResultMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorRetrieveResultMessageTask)1 DurableExecutorShutdownMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorShutdownMessageTask)1 DurableExecutorSubmitToPartitionMessageTask (com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorSubmitToPartitionMessageTask)1