Class FilesystemMetadataValueResolver

    • Constructor Detail

      • FilesystemMetadataValueResolver

        public FilesystemMetadataValueResolver​(@Nonnull
                                               Resource metadata)
                                        throws IOException
        Constructor.
        Parameters:
        metadata - the metadata file
        Throws:
        IOException - If the metedata cannot be loaded.
      • FilesystemMetadataValueResolver

        public FilesystemMetadataValueResolver​(@Nullable
                                               Timer backgroundTaskTimer,
                                               @Nonnull
                                               Resource metadata)
                                        throws IOException
        Constructor.
        Parameters:
        metadata - the metadata file
        backgroundTaskTimer - timer used to refresh metadata in the background
        Throws:
        IOException - If the metedata cannot be loaded.