NY_FileRegistryPlugIn
In
Usually, you don't need to work directly with the FileRegistry since the FileStore handles this for you. However, for completeness, we document the API of the FileRegistry here.
Automatic addition of entries.
When a FileStore is started, it transmits the relative path, hash, and timestamps of all files in its index. New files added at runtime are also automatically registered.
Automatic deletion of entries
The FileRegistry subscribes to a notification when nodes are terminated (CRecordNotifyRemoteNodeRemoved). All files originating from the FileStore of a shut-down node are removed from the registry.
Execution of the Plugin
The plugin should be executed on a centrally located node of the