Re: [photospace-developer] FileSysemWatcher
Status: Alpha
Brought to you by:
jahlonzo
|
From: alon s. <as...@gm...> - 2005-05-17 16:46:00
|
Klaus, that sounds fine. If you make any improvements, please share them back with the photospace project. FileSystemWatcher could definitely be better. A few things I have considered as improvements: 1. OS-specific hooks Most operating systems have native filesystem event mechanisms that forgo the need to poll the file system for changes. With JNI hooks to these mechanisms, FileSystemWatcher would use far fewer system resources to do its job. There are commercial libraries that do this: http://www.servertec.com/products/sfc/features.html. 2. Sleep/Wake up For photospace, there are often long periods of time where there are no changes to the filesystem and then short periods where there are lots of changes. It could be useful for FileSystemWatcher to check for changes frequently when there have been recent changes and to check for changes infrequently when there have not been changes for a while. Alon On 5/17/05, Klaus Sch=E4fers <sch...@un...> wrote: > Hi, >=20 > my name is Klaus and I'm a student of computer science. I would like to k= now, > if I could use your FileSystemWatcher for an university-project. The sour= ce of > the project will be released under an open source licence. >=20 > Thanks >=20 > Klaus >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_idt12&alloc_id=16344&opclick > _______________________________________________ > photospace-developer mailing list > pho...@li... > https://lists.sourceforge.net/lists/listinfo/photospace-developer > |