Class LogStatusSink

java.lang.Object
com.pnfsoftware.jeb.util.logging.LogStatusSink

public class LogStatusSink extends Object
A special object (not to be confused with Sink) receiving messages issued from status() calls.
  • Constructor Details

    • LogStatusSink

      public LogStatusSink()
      Create an empty status sink.
  • Method Details

    • update

      public void update(CharSequence status)
      Update the sink with a fresh status message.
      Parameters:
      status - status message
    • retrieve

      public String retrieve()
      Retrieve and consume the latest fresh status message.
      Returns:
      the latest status message, or null if no fresh message is available