org.sape.carbon.core.config.node.file
Class ConfigurationFileMonitor.Monitor

java.lang.Object
  |
  +--org.sape.carbon.core.config.node.file.ConfigurationFileMonitor.Monitor
All Implemented Interfaces:
Runnable
Enclosing class:
ConfigurationFileMonitor

private class ConfigurationFileMonitor.Monitor
extends Object
implements Runnable

Runnable class that implements the monitor thread's functionality. On a periodic basis, it wakes up and iterates through each entry in monitoredFiles. If a file has been modified, the corresponding node is refreshed. The run loop will terminate if the monitoredFiles map becomes empty or the thread is interrupted.


Constructor Summary
private ConfigurationFileMonitor.Monitor()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationFileMonitor.Monitor

private ConfigurationFileMonitor.Monitor()
Method Detail

run

public void run()
Specified by:
run in interface Runnable


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.