diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-11-28 13:18:39 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-11-28 13:18:39 +0100 |
commit | 991735e1d0a6de6f5072b690eb3781cb32a09438 (patch) | |
tree | 4c91dadd8838c9c1910c0294675ac822c9c0d3e7 /container-core | |
parent | e12e2d54042b2aeca632ee630f0d67695dfb2f1b (diff) |
Remove unimplemented metrics
Diffstat (limited to 'container-core')
-rwxr-xr-x | container-core/src/main/java/com/yahoo/container/Container.java | 2 | ||||
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/Server.java | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/Container.java b/container-core/src/main/java/com/yahoo/container/Container.java index 7e5ea7bd948..f378e7d51bd 100755 --- a/container-core/src/main/java/com/yahoo/container/Container.java +++ b/container-core/src/main/java/com/yahoo/container/Container.java @@ -77,7 +77,7 @@ public class Container { /** Hack. For internal use only, will be removed later * - * Used by LocalApplication to be able to repeatedly set up containers. + * Used by Application to be able to repeatedly set up containers. **/ public static void resetInstance() { instance = new Container(); diff --git a/container-core/src/main/java/com/yahoo/container/Server.java b/container-core/src/main/java/com/yahoo/container/Server.java index 2eec2e36c47..293e8b4674e 100644 --- a/container-core/src/main/java/com/yahoo/container/Server.java +++ b/container-core/src/main/java/com/yahoo/container/Server.java @@ -27,9 +27,9 @@ public class Server { /** Creates a new server instance. Not usually useful, use get() to get the current server */ private Server() { } - /** The number of currently active incoming search requests */ + /** @deprecated returns 0 */ + @Deprecated public int searchQueriesInFlight() { - //TODO: Implement return 0; } @@ -39,8 +39,9 @@ public class Server { * * @return The current number of open search connections */ + /** @deprecated returns 0 */ + @Deprecated public int getCurrentConnections() { - //TODO: Implement return 0; } |