Class DefaultExportConfiguration
java.lang.Object
com.levigo.jadice.web.server.config.DefaultExportConfiguration
- All Implemented Interfaces:
ExportConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the amount of downloads that can take place before the export-file is removedintReturns the interval (in minutes) that defines how often the cleanup scheduler will run.intReturns the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove itReturns the path, where export temp files will be stored. defaults to java.io.tempdirvoidsetMaxDownloadCount(int maxDownloadCount) Sets the amount of downloads that can take place before the export-file is removedvoidsetTempFileCleanupInterval(int tempFileCleanupInterval) Sets the interval (in minutes) that defines how often the cleanup scheduler will run.voidsetTempFileMaxAge(int tempFileMaxAge) sets the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove itvoidsetTempFolderPath(String tempFolderPath) Sets the path, where export temp files will be stored.
-
Constructor Details
-
DefaultExportConfiguration
public DefaultExportConfiguration()
-
-
Method Details
-
getMaxDownloadCount
public int getMaxDownloadCount()Description copied from interface:ExportConfigurationReturns the amount of downloads that can take place before the export-file is removed- Specified by:
getMaxDownloadCountin interfaceExportConfiguration- Returns:
- the amount of downloads that can take place before the export-file is removed
-
setMaxDownloadCount
public void setMaxDownloadCount(int maxDownloadCount) Description copied from interface:ExportConfigurationSets the amount of downloads that can take place before the export-file is removed- Specified by:
setMaxDownloadCountin interfaceExportConfiguration- Parameters:
maxDownloadCount- the amount of downloads that can take place before the export-file is removed
-
getTempFileCleanupInterval
public int getTempFileCleanupInterval()Description copied from interface:ExportConfigurationReturns the interval (in minutes) that defines how often the cleanup scheduler will run.- Specified by:
getTempFileCleanupIntervalin interfaceExportConfiguration- Returns:
- the interval (in minutes) that defines how often the cleanup scheduler will run
-
setTempFileCleanupInterval
public void setTempFileCleanupInterval(int tempFileCleanupInterval) Description copied from interface:ExportConfigurationSets the interval (in minutes) that defines how often the cleanup scheduler will run.- Specified by:
setTempFileCleanupIntervalin interfaceExportConfiguration- Parameters:
tempFileCleanupInterval- the interval (in minutes) that defines how often the cleanup scheduler will run
-
getTempFolderPath
Description copied from interface:ExportConfigurationReturns the path, where export temp files will be stored. defaults to java.io.tempdir- Specified by:
getTempFolderPathin interfaceExportConfiguration- Returns:
- Customize Toolbar…
-
setTempFolderPath
Description copied from interface:ExportConfigurationSets the path, where export temp files will be stored.- Specified by:
setTempFolderPathin interfaceExportConfiguration- Parameters:
tempFolderPath- the path, where export temp files will be stored
-
getTempFileMaxAge
public int getTempFileMaxAge()Description copied from interface:ExportConfigurationReturns the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it- Specified by:
getTempFileMaxAgein interfaceExportConfiguration- Returns:
- the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it
-
setTempFileMaxAge
public void setTempFileMaxAge(int tempFileMaxAge) Description copied from interface:ExportConfigurationsets the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it- Specified by:
setTempFileMaxAgein interfaceExportConfiguration- Parameters:
tempFileMaxAge- the time (in minutes) that defines how long an export-temp-file will be kept before * the cleanup scheduler will remove it
-