cache loader
v
config -> main (cache) -> watcher
/– filters | |
v v | |
-------------> walker -> event handlers | |
-------------> walker -> event handlers | |
-------------> walker -> event handlers |
. . .
pool, and instantiates the watcher.
input catalog format to the in-memory cache data structure.
etc.). When a change occurs, dispatch it to a walker to handle it.
directories. Range size for a single walker can be configured. When a change has been detected, invoke the corresponding event handlers.
So uninteresting objects will be skipped automatically without invoking the event handlers.
certain kind of event (file creation, deletion, attribute change, etc.).
Because the design guarantees that an object is only accessed by a single walker at a time.