diff options
author | Jon Bratseth <bratseth@oath.com> | 2020-12-01 19:30:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 19:30:39 +0100 |
commit | b9f054f862e6fc7bdbf41b9404605e2a8ad6b249 (patch) | |
tree | f737a205c62422ca46e261b2705cc1ee4bc25f88 /config-lib/src/main/java/com/yahoo/config/ConfigInstance.java | |
parent | 535b586bae36880259a792e2292f02b8495950fe (diff) | |
parent | 87ee7a5c2ab2b29594ad2a25c3a76f20cf701259 (diff) |
Merge pull request #15577 from vespa-engine/revert-15575-bratseth/apply-on-restart-take-9
Revert "Bratseth/apply on restart take 9"
Diffstat (limited to 'config-lib/src/main/java/com/yahoo/config/ConfigInstance.java')
-rw-r--r-- | config-lib/src/main/java/com/yahoo/config/ConfigInstance.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/ConfigInstance.java b/config-lib/src/main/java/com/yahoo/config/ConfigInstance.java index 43fb52dcd72..04405839a9b 100644 --- a/config-lib/src/main/java/com/yahoo/config/ConfigInstance.java +++ b/config-lib/src/main/java/com/yahoo/config/ConfigInstance.java @@ -1,16 +1,9 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config; -import java.lang.reflect.Field; -import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.Map; -import java.util.logging.Level; - -import com.yahoo.config.codegen.CNode; -import com.yahoo.config.codegen.InnerCNode; -import com.yahoo.config.codegen.LeafCNode; /** * Represents an instance of an application config with a specific configId. @@ -24,7 +17,6 @@ public abstract class ConfigInstance extends InnerNode { /** * Dispatches a getConfig() call if this instance's producer is of the right type - * * @param producer a config producer * @return true if this instance's producer was the correct type, and hence a getConfig call was dispatched */ @@ -34,11 +26,6 @@ public abstract class ConfigInstance extends InnerNode { String getDefNamespace(); String getDefMd5(); - /** Returns true if this instance should be applied on restart, false if it should be applied immediately */ - default boolean getApplyOnRestart() { return false; } - - default void setApplyOnRestart(boolean applyOnRestart) { throw new java.lang.UnsupportedOperationException(); } - } public interface Producer {} |