use of com.hazelcast.map.impl.operation.MapOperation in project hazelcast by hazelcast.
the class MapRemoveIfSameMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createRemoveIfSameOperation(parameters.name, parameters.key, parameters.value);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.impl.operation.MapOperation in project hazelcast by hazelcast.
the class MapRemoveMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createRemoveOperation(parameters.name, parameters.key);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.impl.operation.MapOperation 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, UNSET);
op.setThreadId(parameters.threadId);
return op;
}
use of com.hazelcast.map.impl.operation.MapOperation in project hazelcast by hazelcast.
the class MapTryRemoveMessageTask method prepareOperation.
@Override
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation operation = operationProvider.createTryRemoveOperation(parameters.name, parameters.key, parameters.timeout);
operation.setThreadId(parameters.threadId);
return operation;
}
use of com.hazelcast.map.impl.operation.MapOperation in project hazelcast by hazelcast.
the class MapSetWithMaxIdleMessageTask method prepareOperation.
protected Operation prepareOperation() {
MapOperationProvider operationProvider = getMapOperationProvider(parameters.name);
MapOperation op = operationProvider.createSetOperation(parameters.name, parameters.key, parameters.value, parameters.ttl, parameters.maxIdle);
op.setThreadId(parameters.threadId);
return op;
}
Aggregations