public interface IScaler
Modifier and Type | Method and Description |
---|---|
boolean |
isScalable()
whether this job is scalable
|
boolean |
scaleDownWorkers(int instancesToRemove)
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)
instancesToRemove
-