Class CachedFileStore

java.lang.Object
com.codingchili.core.files.CachedFileStore
All Implemented Interfaces:
FileStoreListener

public final class CachedFileStore extends Object implements FileStoreListener
Caches files from disk in memory and reloads them on change.
  • Field Details

  • Constructor Details

    • CachedFileStore

      public CachedFileStore(CoreContext context, CachedFileStoreSettings settings)
      Maintain a CachedFileStore for each loaded directory.
      Parameters:
      context - the context requesting the feature.
      settings - the settings to use for the CachedFileStore, if conflicting with any existing configuration for the given path the configuration is ignored.
  • Method Details