Class TestEnvironment.ManualSubscriber<T>

    • Method Detail

      • request

        public void request​(long elements)
      • requestNextElement

        public T requestNextElement()
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElement

        public T requestNextElement​(long timeoutMillis)
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElement

        public T requestNextElement​(java.lang.String errorMsg)
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElement

        public T requestNextElement​(long timeoutMillis,
                                    java.lang.String errorMsg)
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElementOrEndOfStream

        public Optional<TrequestNextElementOrEndOfStream​(long timeoutMillis,
                                                           java.lang.String errorMsg)
                                                    throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestEndOfStream

        public void requestEndOfStream()
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestEndOfStream

        public void requestEndOfStream​(long timeoutMillis)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestEndOfStream

        public void requestEndOfStream​(java.lang.String errorMsg)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestEndOfStream

        public void requestEndOfStream​(long timeoutMillis,
                                       java.lang.String errorMsg)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElements

        public java.util.List<TrequestNextElements​(long elements)
                                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElements

        public java.util.List<TrequestNextElements​(long elements,
                                                     long timeoutMillis)
                                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • requestNextElements

        public java.util.List<TrequestNextElements​(long elements,
                                                     long timeoutMillis,
                                                     java.lang.String errorMsg)
                                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElement

        public T nextElement()
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElement

        public T nextElement​(long timeoutMillis)
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElement

        public T nextElement​(java.lang.String errorMsg)
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElement

        public T nextElement​(long timeoutMillis,
                             java.lang.String errorMsg)
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElementOrEndOfStream

        public Optional<TnextElementOrEndOfStream​(long timeoutMillis)
                                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElementOrEndOfStream

        public Optional<TnextElementOrEndOfStream​(long timeoutMillis,
                                                    java.lang.String errorMsg)
                                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElements

        public java.util.List<TnextElements​(long elements)
                                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElements

        public java.util.List<TnextElements​(long elements,
                                              java.lang.String errorMsg)
                                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElements

        public java.util.List<TnextElements​(long elements,
                                              long timeoutMillis)
                                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • nextElements

        public java.util.List<TnextElements​(long elements,
                                              long timeoutMillis,
                                              java.lang.String errorMsg)
                                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNext

        public void expectNext​(T expected)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNext

        public void expectNext​(T expected,
                               long timeoutMillis)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCompletion

        public void expectCompletion()
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCompletion

        public void expectCompletion​(long timeoutMillis)
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCompletion

        public void expectCompletion​(java.lang.String errorMsg)
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCompletion

        public void expectCompletion​(long timeoutMillis,
                                     java.lang.String errorMsg)
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectErrorWithMessage

        public <E extends java.lang.Throwable> void expectErrorWithMessage​(java.lang.Class<E> expected,
                                                                           java.lang.String requiredMessagePart)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectErrorWithMessage

        public <E extends java.lang.Throwable> void expectErrorWithMessage​(java.lang.Class<E> expected,
                                                                           java.util.List<java.lang.String> requiredMessagePartAlternatives)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectErrorWithMessage

        public <E extends java.lang.Throwable> void expectErrorWithMessage​(java.lang.Class<E> expected,
                                                                           java.lang.String requiredMessagePart,
                                                                           long timeoutMillis)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectErrorWithMessage

        public <E extends java.lang.Throwable> void expectErrorWithMessage​(java.lang.Class<E> expected,
                                                                           java.util.List<java.lang.String> requiredMessagePartAlternatives,
                                                                           long timeoutMillis)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectErrorWithMessage

        public <E extends java.lang.Throwable> void expectErrorWithMessage​(java.lang.Class<E> expected,
                                                                           java.util.List<java.lang.String> requiredMessagePartAlternatives,
                                                                           long totalTimeoutMillis,
                                                                           long pollTimeoutMillis)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected,
                                                             long timeoutMillis)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected,
                                                             java.lang.String errorMsg)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected,
                                                             long timeoutMillis,
                                                             java.lang.String errorMsg)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected,
                                                             long totalTimeoutMillis,
                                                             long pollTimeoutMillis)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectError

        public <E extends java.lang.Throwable> E expectError​(java.lang.Class<E> expected,
                                                             long totalTimeoutMillis,
                                                             long pollTimeoutMillis,
                                                             java.lang.String errorMsg)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • expectNone

        public void expectNone()
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNone

        public void expectNone​(java.lang.String errMsgPrefix)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNone

        public void expectNone​(long withinMillis)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNone

        public void expectNone​(long withinMillis,
                               java.lang.String errMsgPrefix)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException