use of com.hazelcast.client.impl.protocol.task.executorservice.durable.DurableExecutorIsShutdownMessageTask 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));
}
Aggregations