Class CachedFileStoreSettings

java.lang.Object
com.codingchili.core.configuration.CachedFileStoreSettings

public class CachedFileStoreSettings extends Object
Contains settings used in the CachedFileStore.
  • Constructor Details

    • CachedFileStoreSettings

      public CachedFileStoreSettings()
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • getDirectory

      public String getDirectory()
      Returns:
      the directory that is being cached.
    • setDirectory

      public CachedFileStoreSettings setDirectory(String directory)
      Parameters:
      directory - the directory to cache.
      Returns:
      fluent
    • isGzip

      public boolean isGzip()
      Returns:
      true if gzip is used to compress data.
    • setGzip

      public CachedFileStoreSettings setGzip(boolean gzip)
      Parameters:
      gzip - true if gzip is to be used to compress the loaded data.
      Returns:
      fluent
    • setAsynchronous

      public CachedFileStoreSettings setAsynchronous(boolean is)
      Parameters:
      is - true if store is asynchronous, default is true.
      Returns:
      fluent
    • isAsynchronous

      public boolean isAsynchronous()