Class CachedFileStoreSettings
java.lang.Object
com.codingchili.core.configuration.CachedFileStoreSettings
Contains settings used in the CachedFileStore.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isGzip()
setAsynchronous(boolean is)
setDirectory(String directory)
setGzip(boolean gzip)
-
Constructor Details
-
CachedFileStoreSettings
public CachedFileStoreSettings()
-
-
Method Details
-
equals
-
getDirectory
- Returns:
- the directory that is being cached.
-
setDirectory
- Parameters:
directory
- the directory to cache.- Returns:
- fluent
-
isGzip
public boolean isGzip()- Returns:
- true if gzip is used to compress data.
-
setGzip
- Parameters:
gzip
- true if gzip is to be used to compress the loaded data.- Returns:
- fluent
-
setAsynchronous
- Parameters:
is
- true if store is asynchronous, default is true.- Returns:
- fluent
-
isAsynchronous
public boolean isAsynchronous()
-