Package com.jalios.jcms.fileprocessor
Class FileProcessorAlarmListener
- java.lang.Object
-
- com.jalios.jcms.fileprocessor.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.
-
-
Constructor Summary
Constructors Constructor Description FileProcessorAlarmListener(Repository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleAlarm(AlarmEntry entry)
Invoked when an alarm is triggered.void
stopScanning()
-
-
-
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 interfaceAlarmListener
- Parameters:
entry
- the AlarmEntry which has been triggered.
-
stopScanning
public void stopScanning()
-
-