public class ScriptBuilderUtils
extends java.lang.Object
Class for helping in construct more sophisticated test and graph structures.
| Constructor and Description |
|---|
ScriptBuilderUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ParallelScriptBuilder |
balanceBuilders(AbstractScriptBuilder... builders)
Balance multiple builder chains to attempt to have them complete at a similar point in time.
|
public static ParallelScriptBuilder balanceBuilders(AbstractScriptBuilder... builders)
AbstractScriptBuilder.setMaxScriptStepRate(double) so that the
faster chains end up completing at the same time as the longest chain. This would have less
overhead, but requires more manual effort, and also wont be able to balance the chains based
off real time delays (which may be unexpected).builders - Builders to inspect and apply flow control to attempt similar execution durations