@InterfaceAudience.Public @InterfaceStability.Evolving public class LoggingStateChangeListener extends Object implements ServiceStateChangeListener
| Constructor and Description |
|---|
LoggingStateChangeListener()
Log events to the static log for this class
|
LoggingStateChangeListener(org.slf4j.Logger log)
Log events to the given log
|
| Modifier and Type | Method and Description |
|---|---|
void |
stateChanged(Service service)
Callback for a state change event: log it
|
public LoggingStateChangeListener(org.slf4j.Logger log)
log - destination for eventspublic LoggingStateChangeListener()
public void stateChanged(Service service)
stateChanged in interface ServiceStateChangeListenerservice - the service that has changed.Copyright © 2024 Apache Software Foundation. All rights reserved.