Class CSVWriter<O extends Observation>

    • Constructor Summary

      Constructors 
      Constructor Description
      CSVWriter​(java.lang.String filePath, java.lang.String[] columnLabels, java.util.function.Function<O,​java.lang.String[]> rowMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()  
      void flushBuffer()  
      boolean isBufferNonEmpty()  
      void observe​(O observation)  
      void observeAsync​(java.util.concurrent.CompletableFuture<O> futureObservation)  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.processmining.specpp.supervision.piping.Buffering

        trigger
      • Methods inherited from interface java.util.function.Consumer

        andThen
      • Methods inherited from interface org.processmining.specpp.supervision.piping.Observer

        accept
    • Constructor Detail

      • CSVWriter

        public CSVWriter​(java.lang.String filePath,
                         java.lang.String[] columnLabels,
                         java.util.function.Function<O,​java.lang.String[]> rowMapper)
    • Method Detail

      • stop

        public void stop()
        Specified by:
        stop in interface Stoppable
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable