Search in sources :

Example 1 with UpdateTopologyManager

use of com.twitter.heron.scheduler.UpdateTopologyManager in project heron by twitter.

the class AuroraScheduler method initialize.

@Override
public void initialize(Config mConfig, Config mRuntime) {
    this.config = Config.toClusterMode(mConfig);
    this.runtime = mRuntime;
    this.controller = getController();
    this.updateTopologyManager = new UpdateTopologyManager(config, runtime, Optional.<IScalable>of(this));
}
Also used : UpdateTopologyManager(com.twitter.heron.scheduler.UpdateTopologyManager) IScalable(com.twitter.heron.spi.scheduler.IScalable)

Example 2 with UpdateTopologyManager

use of com.twitter.heron.scheduler.UpdateTopologyManager in project heron by twitter.

the class LocalScheduler method initialize.

@Override
public void initialize(Config mConfig, Config mRuntime) {
    this.config = mConfig;
    this.runtime = mRuntime;
    this.updateTopologyManager = new UpdateTopologyManager(config, runtime, Optional.<IScalable>of(this));
}
Also used : UpdateTopologyManager(com.twitter.heron.scheduler.UpdateTopologyManager) IScalable(com.twitter.heron.spi.scheduler.IScalable)

Aggregations

UpdateTopologyManager (com.twitter.heron.scheduler.UpdateTopologyManager)2 IScalable (com.twitter.heron.spi.scheduler.IScalable)2