summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java')
-rw-r--r--vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java
index f9ae04623e6..4de3eebec2d 100644
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandlerV3.java
@@ -24,9 +24,8 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * This code is based on v2 code, however, in v3, one client has one ClientFeederV3 shared between all client threads.
- * The new API has more logic for shutting down cleanly as the server is more likely to be upgraded.
- * The code is restructured a bit.
+ * One client has one ClientFeederV3 shared between all client threads.
+ * Contains logic for shutting down cleanly as the server is upgraded.
*
* @author dybis
*/
@@ -60,7 +59,7 @@ public class FeedHandlerV3 extends ThreadedHttpRequestHandler {
}
// TODO: If this is set up to run without first invoking the old FeedHandler code, we should
- // verify the version header first. This is done in the old code.
+ // verify the version header first.
@Override
public HttpResponse handle(HttpRequest request) {
String clientId = clientId(request);
@@ -70,7 +69,7 @@ public class FeedHandlerV3 extends ThreadedHttpRequestHandler {
SourceSessionParams sourceSessionParams = sourceSessionParams(request);
clientFeederByClientId.put(clientId,
new ClientFeederV3(retainSource(sessionCache, sourceSessionParams),
- new FeedReaderFactory(true), //TODO make error debugging configurable
+ new FeedReaderFactory(true), // TODO: Make error debugging configurable
docTypeManager,
clientId,
metric,