Search in sources :

Example 1 with TransactionalMapGetForUpdateMessageTask

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

the class DefaultMessageTaskFactoryProvider method initializeTransactionalMapTaskFactories.

private void initializeTransactionalMapTaskFactories() {
    factories.put(TransactionalMapValuesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapValuesMessageTask(cm, node, con));
    factories.put(TransactionalMapSizeCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapSizeMessageTask(cm, node, con));
    factories.put(TransactionalMapPutIfAbsentCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapPutIfAbsentMessageTask(cm, node, con));
    factories.put(TransactionalMapRemoveCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapRemoveMessageTask(cm, node, con));
    factories.put(TransactionalMapGetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapGetMessageTask(cm, node, con));
    factories.put(TransactionalMapGetForUpdateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapGetForUpdateMessageTask(cm, node, con));
    factories.put(TransactionalMapIsEmptyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapIsEmptyMessageTask(cm, node, con));
    factories.put(TransactionalMapKeySetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapKeySetMessageTask(cm, node, con));
    factories.put(TransactionalMapKeySetWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapKeySetWithPredicateMessageTask(cm, node, con));
    factories.put(TransactionalMapReplaceIfSameCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapReplaceIfSameMessageTask(cm, node, con));
    factories.put(TransactionalMapContainsKeyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapContainsKeyMessageTask(cm, node, con));
    factories.put(TransactionalMapRemoveIfSameCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapRemoveIfSameMessageTask(cm, node, con));
    factories.put(TransactionalMapSetCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapSetMessageTask(cm, node, con));
    factories.put(TransactionalMapReplaceCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapReplaceMessageTask(cm, node, con));
    factories.put(TransactionalMapPutCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapPutMessageTask(cm, node, con));
    factories.put(TransactionalMapDeleteCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapDeleteMessageTask(cm, node, con));
    factories.put(TransactionalMapValuesWithPredicateCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TransactionalMapValuesWithPredicateMessageTask(cm, node, con));
}
Also used : TransactionalMapContainsKeyMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapContainsKeyMessageTask) TransactionalMapSizeMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapSizeMessageTask) TransactionalMapGetForUpdateMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapGetForUpdateMessageTask) TransactionalMapKeySetWithPredicateMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapKeySetWithPredicateMessageTask) TransactionalMapGetMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapGetMessageTask) TransactionalMapRemoveIfSameMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapRemoveIfSameMessageTask) TransactionalMapValuesWithPredicateMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapValuesWithPredicateMessageTask) TransactionalMapValuesMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapValuesMessageTask) TransactionalMapPutMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapPutMessageTask) TransactionalMapSetMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapSetMessageTask) TransactionalMapKeySetMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapKeySetMessageTask) TransactionalMapIsEmptyMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapIsEmptyMessageTask) TransactionalMapReplaceMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapReplaceMessageTask) TransactionalMapDeleteMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapDeleteMessageTask) TransactionalMapReplaceIfSameMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapReplaceIfSameMessageTask) TransactionalMapPutIfAbsentMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapPutIfAbsentMessageTask) TransactionalMapRemoveMessageTask(com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapRemoveMessageTask)

Aggregations

TransactionalMapContainsKeyMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapContainsKeyMessageTask)1 TransactionalMapDeleteMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapDeleteMessageTask)1 TransactionalMapGetForUpdateMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapGetForUpdateMessageTask)1 TransactionalMapGetMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapGetMessageTask)1 TransactionalMapIsEmptyMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapIsEmptyMessageTask)1 TransactionalMapKeySetMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapKeySetMessageTask)1 TransactionalMapKeySetWithPredicateMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapKeySetWithPredicateMessageTask)1 TransactionalMapPutIfAbsentMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapPutIfAbsentMessageTask)1 TransactionalMapPutMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapPutMessageTask)1 TransactionalMapRemoveIfSameMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapRemoveIfSameMessageTask)1 TransactionalMapRemoveMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapRemoveMessageTask)1 TransactionalMapReplaceIfSameMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapReplaceIfSameMessageTask)1 TransactionalMapReplaceMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapReplaceMessageTask)1 TransactionalMapSetMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapSetMessageTask)1 TransactionalMapSizeMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapSizeMessageTask)1 TransactionalMapValuesMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapValuesMessageTask)1 TransactionalMapValuesWithPredicateMessageTask (com.hazelcast.client.impl.protocol.task.transactionalmap.TransactionalMapValuesWithPredicateMessageTask)1