Files
FileSystem utilities.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Files.type
Members list
Type members
Classlikes
Creates temporary folders inside a single temporary folder. deleting all files on a successful application stop. Note that this will not clean up the filesystem if the application / JVM terminates abnormally.
Creates temporary folders inside a single temporary folder. deleting all files on a successful application stop. Note that this will not clean up the filesystem if the application / JVM terminates abnormally.
Attributes
- Supertypes
Attributes
- Supertypes
Creates temporary folders using java.nio.file.Files.createTempFile.
Creates temporary folders using java.nio.file.Files.createTempFile.
Files created by this method will not be cleaned up with the application or JVM stops.
Attributes
- Supertypes
- Self type
Utilities to manage temporary files.
Utilities to manage temporary files.
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TemporaryFile.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultTemporaryFileclass SingletonTemporaryFile
Logic for creating a temporary file. Users should try to clean up the file themselves, but this TemporaryFileCreator implementation may also try to clean up any leaked files, e.g. when the Application or JVM stops.
Logic for creating a temporary file. Users should try to clean up the file themselves, but this TemporaryFileCreator implementation may also try to clean up any leaked files, e.g. when the Application or JVM stops.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Configuration for the TemporaryFileReaper.
Configuration for the TemporaryFileReaper.
Value parameters
- enabled
-
true if the reaper is enabled, false otherwise. Default is false.
- initialDelay
-
the initial delay after application start when the reaper first run. Default 5 minutes.
- interval
-
the duration after the initial run during which the reaper will scan for files it can remove. Default 5 minutes.
- olderThan
-
the period after which the file is considered old. Default 5 minutes.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
- Self type
Attributes
- Supertypes