Class SinkDumperFactory.NopStringSink

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NopStringSink()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(java.lang.String sinkable)
      Consume a message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NopStringSink

        private NopStringSink()
    • Method Detail

      • write

        public void write​(java.lang.String sinkable)
        Description copied from interface: OutputSinkFactory.Sink
        Consume a message. (Basically, sink is Consumer<T>, if it existed back in j6 land...
        Specified by:
        write in interface OutputSinkFactory.Sink<java.lang.String>
        Parameters:
        sinkable - message. This will be of the type specified when creating the sink.