Interface VisitorSession

    • Method Detail

      • isDone

        boolean isDone()
        Checks if visiting is done.
        Returns:
        True if visiting is done (either by error or success).
      • getProgress

        ProgressToken getProgress()
        Retrieves the last progress token gotten for this visitor.
        Returns:
        The progress token.
      • getTrace

        com.yahoo.messagebus.Trace getTrace()
        Returns the tracing information so far about the visitor.
        Returns:
        Returns the trace.
      • waitUntilDone

        boolean waitUntilDone​(long timeoutMs)
                       throws java.lang.InterruptedException
        Waits until visiting is done, or the given timeout (in ms) expires. Will wait forever if timeout is 0.
        Parameters:
        timeoutMs - The maximum amount of milliseconds to wait.
        Returns:
        True if visiting is done (either by error or success).
        Throws:
        java.lang.InterruptedException - If an interrupt signal was received while waiting.