From 1752a492c3fad9d7c974ec7dba730e28ccc6629c Mon Sep 17 00:00:00 2001 From: jonmv Date: Wed, 12 Oct 2022 11:59:33 +0200 Subject: Support tracing for /document/v1/ visit requests --- .../src/main/java/com/yahoo/documentapi/VisitorSession.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'documentapi/src') diff --git a/documentapi/src/main/java/com/yahoo/documentapi/VisitorSession.java b/documentapi/src/main/java/com/yahoo/documentapi/VisitorSession.java index 4a41769ff4c..e2efaf1de10 100644 --- a/documentapi/src/main/java/com/yahoo/documentapi/VisitorSession.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/VisitorSession.java @@ -4,10 +4,9 @@ package com.yahoo.documentapi; import com.yahoo.messagebus.Trace; /** - * A session for tracking progress for and potentially receiving data from a - * visitor. + * A session for tracking progress for and potentially receiving data from a visitor. * - * @author Thomas Gundersen + * @author Thomas Gundersen */ public interface VisitorSession extends VisitorControlSession { /** @@ -15,21 +14,21 @@ public interface VisitorSession extends VisitorControlSession { * * @return True if visiting is done (either by error or success). */ - public boolean isDone(); + boolean isDone(); /** * Retrieves the last progress token gotten for this visitor. * * @return The progress token. */ - public ProgressToken getProgress(); + ProgressToken getProgress(); /** * Returns the tracing information so far about the visitor. * * @return Returns the trace. */ - public Trace getTrace(); + Trace getTrace(); /** * Waits until visiting is done, or the given timeout (in ms) expires. @@ -39,5 +38,5 @@ public interface VisitorSession extends VisitorControlSession { * @return True if visiting is done (either by error or success). * @throws InterruptedException If an interrupt signal was received while waiting. */ - public boolean waitUntilDone(long timeoutMs) throws InterruptedException; + boolean waitUntilDone(long timeoutMs) throws InterruptedException; } -- cgit v1.2.3