summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
Diffstat (limited to 'container-core')
-rwxr-xr-xcontainer-core/src/main/java/com/yahoo/container/Container.java2
-rw-r--r--container-core/src/main/java/com/yahoo/container/Server.java7
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;
}