Package org.duracloud.sync.mgmt
Class ChangeWatcher
java.lang.Object
org.duracloud.sync.mgmt.ChangeWatcher
- All Implemented Interfaces:
Runnable
Watches for new items on the ChangedList.
-
Constructor Summary
ConstructorsConstructorDescriptionChangeWatcher(ChangedList changedList, ChangeHandler handler, long watchFrequency) Creates a ChangeWatcher which watches for changes to the ChangedList and notifies the ChangeHandler. -
Method Summary
-
Constructor Details
-
ChangeWatcher
Creates a ChangeWatcher which watches for changes to the ChangedList and notifies the ChangeHandler.- Parameters:
changedList- the ChangedList to watchhandler- the ChangeHandler to notifywatchFrequency- how often to check for changes
-
-
Method Details