I am rounding up all the "file watcher" like things for the next
ResourceStore API pull request.
So far I have found:
1) platform
FileWatcher<https://github.com/geoserver/geoserver/blob/master/src/platform/src/main/java/org/geoserver/platform/FileWatcher.java>
(lazy)
2) security
FileWatcher<https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/security/file/FileWatcher.java>
(active
- extends Thread)
3)
GeoServerTemplateLoader<https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/template/GeoServerTemplateLoader.java>
(extends
freemarker
templateloader<http://freemarker.org/docs/api/freemarker/cache/class-use/TemplateLoader.html>
)
So did I miss anyone?
On first inspection these implementations are not used very much, but have
the trick of not hitting the file system often. One thing I did not expect
was the two file watchers requiring subclassing before use. I will look at
replacing this with a strategy object.
--
Jody Garnett
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel