public class FileUpdateNotificationHandler
extends java.util.TimerTask
Constructor and Description |
---|
FileUpdateNotificationHandler(long sleepInterval)
Constructor with file read interval as the input
|
Modifier and Type | Method and Description |
---|---|
void |
registerListener(DynamicProfileReloader dynamicProfileReloader)
Register listeners for file update notifications
|
void |
run() |
public FileUpdateNotificationHandler(long sleepInterval)
sleepInterval
- long value in millisecondspublic void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public void registerListener(DynamicProfileReloader dynamicProfileReloader)
dynamicProfileReloader
- Listener to be notifiedCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.