setMaxConcurrentFlows(Map<Object,Object> properties,
int numConcurrentFlows)
Method setMaxConcurrentFlows sets the maximum number of Flows that a Cascade can run concurrently.
Methods inherited from class cascading.property.Props
public static void setMaxConcurrentFlows(Map<Object,Object> properties,
int numConcurrentFlows)
Method setMaxConcurrentFlows sets the maximum number of Flows that a Cascade can run concurrently.
A value of one (1) will run one Flow at a time. A value of zero (0), the default, disables the restriction.
By default a Cascade will attempt to run all give Flow instances at the same time. But there are occasions
where limiting the number for flows helps manages resources.