use of com.hazelcast.map.EntryProcessor in project hazelcast by hazelcast.
the class MapExecuteOnAllKeysMessageTask method createOperationFactory.
@Override
protected OperationFactory createOperationFactory() {
MapOperationProvider operationProvider = getOperationProvider(parameters.name);
EntryProcessor entryProcessor = serializationService.toObject(parameters.entryProcessor);
return operationProvider.createPartitionWideEntryOperationFactory(parameters.name, entryProcessor);
}
use of com.hazelcast.map.EntryProcessor in project hazelcast by hazelcast.
the class MapExecuteOnKeysMessageTask method createOperationFactory.
@Override
protected OperationFactory createOperationFactory() {
EntryProcessor entryProcessor = serializationService.toObject(parameters.entryProcessor);
Set<Data> keys = new HashSet<Data>(parameters.keys);
return new MultipleEntryOperationFactory(parameters.name, keys, entryProcessor);
}
use of com.hazelcast.map.EntryProcessor in project hazelcast by hazelcast.
the class MapExecuteWithPredicateMessageTask method createOperationFactory.
@Override
protected OperationFactory createOperationFactory() {
MapOperationProvider operationProvider = getOperationProvider(parameters.name);
EntryProcessor entryProcessor = serializationService.toObject(parameters.entryProcessor);
Predicate predicate = serializationService.toObject(parameters.predicate);
return operationProvider.createPartitionWideEntryWithPredicateOperationFactory(parameters.name, entryProcessor, predicate);
}
use of com.hazelcast.map.EntryProcessor in project hazelcast by hazelcast.
the class MapSubmitToKeyMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
EntryProcessor processor = serializationService.toObject(parameters.entryProcessor);
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createEntryOperation(parameters.name, parameters.key, processor);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.EntryProcessor in project hazelcast by hazelcast.
the class MapExecuteOnKeyMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
EntryProcessor processor = serializationService.toObject(parameters.entryProcessor);
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createEntryOperation(parameters.name, parameters.key, processor);
op.setThreadId(parameters.threadId);
return op;
}
Aggregations