Class FileUpdateNotificationHandler
java.lang.Object
java.util.TimerTask
org.apache.synapse.transport.dynamicconfigurations.FileUpdateNotificationHandler
- All Implemented Interfaces:
Runnable
Periodically checks on configuration file updates and notify respective listeners
-
Constructor Summary
ConstructorsConstructorDescriptionFileUpdateNotificationHandler(long sleepInterval) Constructor with file read interval as the input -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterListener(DynamicProfileReloader dynamicProfileReloader) Register listeners for file update notificationsvoidrun()Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
FileUpdateNotificationHandler
public FileUpdateNotificationHandler(long sleepInterval) Constructor with file read interval as the input- Parameters:
sleepInterval- long value in milliseconds
-
-
Method Details