summaryrefslogtreecommitdiffstats
path: root/config-provisioning
diff options
context:
space:
mode:
Diffstat (limited to 'config-provisioning')
-rw-r--r--config-provisioning/src/main/java/com/yahoo/config/provision/Deployer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/Deployer.java b/config-provisioning/src/main/java/com/yahoo/config/provision/Deployer.java
index f184519e928..5a077d18e89 100644
--- a/config-provisioning/src/main/java/com/yahoo/config/provision/Deployer.java
+++ b/config-provisioning/src/main/java/com/yahoo/config/provision/Deployer.java
@@ -57,6 +57,12 @@ public interface Deployer {
/** Returns the time the active session was activated, or empty if there is no active session */
Optional<Instant> activationTime(ApplicationId application);
+ /** Returns the time of last deployed session for this application or empty if there are no deployments */
+ Optional<Instant> deployTime(ApplicationId application);
+
+ /** Returns whether the application has reindexing ready to go, which was readied after the given instant. */
+ boolean readiedReindexingAfter(ApplicationId application, Instant instant);
+
/** Whether the deployer is bootstrapping, some users of the deployer will want to hold off with deployments in that case. */
default boolean bootstrapping() { return false; }