Search in sources :

Example 1 with QuotaEventEmitter

use of com.netflix.titus.master.eviction.service.quota.QuotaEventEmitter in project titus-control-plane by Netflix.

the class DefaultEvictionOperations method enterActiveMode.

@Activator
public void enterActiveMode() {
    this.quotEventEmitter = new QuotaEventEmitter(configuration, jobOperations, quotaManager, titusRuntime);
    this.taskTerminationExecutor = new TaskTerminationExecutor(configuration, jobOperations, quotaManager, titusRuntime, scheduler);
}
Also used : QuotaEventEmitter(com.netflix.titus.master.eviction.service.quota.QuotaEventEmitter) Activator(com.netflix.titus.common.util.guice.annotation.Activator)

Aggregations

Activator (com.netflix.titus.common.util.guice.annotation.Activator)1 QuotaEventEmitter (com.netflix.titus.master.eviction.service.quota.QuotaEventEmitter)1