@groovy.util.logging.Slf4j class Autoscaler extends java.lang.Object
Implements an auto-scaling policy which adds new instances under scheduler request pressure and remove when those instances are idle
| Constructor and description |
|---|
Autoscaler
(org.apache.ignite.Ignite ignite, nextflow.cloud.CloudConfig config)Creates the auto-scaler object |
protected Autoscaler
()ONLY FOR TESTING PURPOSE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
close()Shutdown the auto-scaler thread |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates the auto-scaler object
ignite - Reference to the underlying org.apache.ignite.Ignite clusterconfig - A nextflow.cloud.CloudConfig object holding the cloud configurationONLY FOR TESTING PURPOSE