Package com.pnfsoftware.jeb.util.logging
Class LogStatusSink
java.lang.Object
com.pnfsoftware.jeb.util.logging.LogStatusSink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieve()Retrieve and consume the latest fresh status message.voidupdate(CharSequence status) Update the sink with a fresh status message.
-
Constructor Details
-
LogStatusSink
public LogStatusSink()Create an empty status sink.
-
-
Method Details
-
update
Update the sink with a fresh status message.- Parameters:
status- status message
-
retrieve
Retrieve and consume the latest fresh status message.- Returns:
- the latest status message, or null if no fresh message is available
-