Add a new Criterion to the existing list of cluster criteria for the command identified by id
.
The priority
is the place in the list this new criterion should be placed.
A value of 0
indicates it should be placed at the front of the list with the highest possible priority.
1
would be second in the list etc.
If priority
is >
the current size of the cluster criteria list this new criterion will be placed at the end as the lowest priority item.
Priority must be >= 0
.