|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.event.LoggingListener
public class LoggingListener
Simple ApplicationListener
which logs all events
based on AbstractYarnEvent
using a log level
set during the construction.
Constructor Summary | |
---|---|
LoggingListener()
Constructs Logger listener with debug level. |
|
LoggingListener(java.lang.String level)
Constructs Logger listener with given level. |
Method Summary | |
---|---|
void |
onApplicationEvent(AbstractYarnEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingListener()
public LoggingListener(java.lang.String level)
level
- the level stringMethod Detail |
---|
public void onApplicationEvent(AbstractYarnEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<AbstractYarnEvent>
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |