Using multiple threads to run algorithm

Is there a difference using:

Jsprit.Builder algorithmBuilder = Jsprit.Builder.newInstance(problem);
VehicleRoutingAlgorithm algorithm = algorithmBuilder.
setProperty(Jsprit.Parameter.THREADS, “2”)
.buildAlgorithm();

and that what you use above? Or is the setProperty(Jsprit.Parameter.THREADS … outdated?