public abstract class OnPrintStreamStatusListenerBase extends ContextAwareBase implements StatusListener, LifeCycle
context| Constructor and Description |
|---|
OnPrintStreamStatusListenerBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatusEvent(Status status) |
String |
getPrefix() |
protected abstract PrintStream |
getPrintStream()
The PrintStream used by derived classes
|
long |
getRetrospective() |
boolean |
isStarted() |
void |
setPrefix(String prefix) |
void |
setRetrospective(long retrospective) |
void |
start()
Invoking the start method can cause the instance to print status messages created less than
value of retrospectiveThresold.
|
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected abstract PrintStream getPrintStream()
public void addStatusEvent(Status status)
addStatusEvent in interface StatusListenerpublic void start()
public String getPrefix()
public void setPrefix(String prefix)
public void setRetrospective(long retrospective)
public long getRetrospective()
Copyright © 2005–2018 QOS.ch. All rights reserved.