use of com.hazelcast.map.impl.operation.MapOperationProvider in project hazelcast by hazelcast.
the class MapSetMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createSetOperation(parameters.name, parameters.key, parameters.value, parameters.ttl);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.impl.operation.MapOperationProvider 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.impl.operation.MapOperationProvider in project hazelcast by hazelcast.
the class MapTryPutMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createTryPutOperation(parameters.name, parameters.key, parameters.value, parameters.timeout);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.impl.operation.MapOperationProvider 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;
}
use of com.hazelcast.map.impl.operation.MapOperationProvider in project hazelcast by hazelcast.
the class MapGetMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation operation = operationProvider.createGetOperation(parameters.name, parameters.key);
operation.setThreadId(parameters.threadId);
return operation;
}
Aggregations