blob: cb09c41a034520c7b3ecdb9d8fd2f0b5cdd84bae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.maintenance;
import com.yahoo.vespa.hosted.controller.Controller;
import java.time.Duration;
/**
* Maintenance job which triggers jobs that have been delayed according to the applications deployment spec.
*
* @author mpolden
*/
public class DelayedDeployer extends Maintainer {
public DelayedDeployer(Controller controller, Duration interval, JobControl jobControl) {
super(controller, interval, jobControl);
}
@Override
protected void maintain() {
controller().applications().deploymentTrigger().triggerDelayed();
}
}
|