Interface IMutableConcurrentCollector<DATATYPE>

    • Method Detail

      • stopQueuingNewObjects

        @Nonnull
        ESuccess stopQueuingNewObjects()
        Stop taking new objects in the collector. Returns directly and does not wait until the processing finished.
        Returns:
        ESuccess
      • collect

        void collect()
        This method starts the collector by taking objects from the internal queue. So this method blocks and must be invoked from a separate thread. This method runs until stopQueuingNewObjects() is new called and the queue is empty.