public interface IScalerPerCluster
Modifier and Type | Method and Description |
---|---|
boolean |
isScalable()
whether this job is scalable
|
boolean |
scaleDownWorkers(int instancesToRemove,
int numberOfWorkers)
remove some instances of the workers from the job
|
boolean |
scaleUpWorkers(int instancesToAdd)
add new instances of workers to the job
|
boolean isScalable()
boolean scaleUpWorkers(int instancesToAdd)
instancesToAdd
- boolean scaleDownWorkers(int instancesToRemove, int numberOfWorkers)
instancesToRemove
- numberOfWorkers
- number of workers before the scale down