Class FasterFilesystemForeignSourceRepository

  • All Implemented Interfaces:
    ForeignSourceRepository, org.springframework.beans.factory.InitializingBean

    public class FasterFilesystemForeignSourceRepository
    extends FilesystemForeignSourceRepository
    implements org.springframework.beans.factory.InitializingBean

    FasterFilesystemForeignSourceRepository class.

    The directory watcher should keep a cache of all requisitions on disk.

    The directory watcher will always return the object from the cache, and the cache should be updated when changes are detected on the directories.

    The method AbstractForeignSourceRepository.importResourceRequisition will read the requisition and update the copy on disk. This should trigger the update of the cache.