use of com.hazelcast.cp.internal.datastructures.atomicref.operation.ApplyOp.ReturnValueType in project hazelcast by hazelcast.
the class ApplyMessageTask method processMessage.
@Override
protected void processMessage() {
ReturnValueType returnValueType = ReturnValueType.fromValue(parameters.returnValueType);
CPGroupId groupId = parameters.groupId;
RaftOp op = new ApplyOp(parameters.name, parameters.function, returnValueType, parameters.alter);
if (parameters.alter) {
invoke(groupId, op);
} else {
query(groupId, op, LINEARIZABLE);
}
}
Aggregations