Class FileProcessorAlarmListener

  • All Implemented Interfaces:
    AlarmListener

    public class FileProcessorAlarmListener
    extends java.lang.Object
    implements AlarmListener
    For one Repository configured, there is one instance of this AlarmListener registered in a corresponding AlarmManager.
    Version:
    $Revision: 27882 $
    • Constructor Detail

      • FileProcessorAlarmListener

        public FileProcessorAlarmListener​(Repository repository)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
    • 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.
      • stopScanning

        public void stopScanning()