Class LoggingSetupAlarmListener

  • All Implemented Interfaces:
    AlarmListener

    public class LoggingSetupAlarmListener
    extends java.lang.Object
    implements AlarmListener
    Alarm to restore logger level after a defined time
    Since:
    jcms-10.0.8
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingSetupAlarmListener​(org.apache.log4j.Level oldLevel, java.lang.String packageName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleAlarm​(AlarmEntry entry)
      Invoked when an alarm is triggered.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoggingSetupAlarmListener

        public LoggingSetupAlarmListener​(org.apache.log4j.Level oldLevel,
                                         java.lang.String packageName)
    • Method Detail

      • handleAlarm

        public void handleAlarm​(AlarmEntry entry)
        Description copied from interface: AlarmListener
        Invoked when an alarm is triggered.
        Specified by:
        handleAlarm in interface AlarmListener
        Parameters:
        entry - the AlarmEntry which has been triggered.