object Files
- Alphabetic
- By Inheritance
- Files
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class DefaultTemporaryFileCreator extends TemporaryFileCreator
Creates temporary folders inside a single temporary folder.
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.
- Annotations
- @Singleton()
- class DefaultTemporaryFileReaper extends TemporaryFileReaper
- Annotations
- @Singleton()
- trait TemporaryFile extends AnyRef
- trait TemporaryFileCreator extends AnyRef
Logic for creating a temporary file.
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.
- trait TemporaryFileReaper extends AnyRef
- case class TemporaryFileReaperConfiguration(enabled: Boolean = false, olderThan: FiniteDuration = 5.minutes, initialDelay: FiniteDuration = 5.minutes, interval: FiniteDuration = 5.minutes) extends Product with Serializable
Configuration for the TemporaryFileReaper.
Configuration for the TemporaryFileReaper.
- enabled
true if the reaper is enabled, false otherwise. Default is false.
- olderThan
the period after which the file is considered old. Default 5 minutes.
- 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.
- class TemporaryFileReaperConfigurationProvider extends Provider[TemporaryFileReaperConfiguration]
- Annotations
- @Singleton()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val logger: org.slf4j.Logger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object SingletonTemporaryFileCreator extends TemporaryFileCreator
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.
- object TemporaryFile
Utilities to manage temporary files.
- object TemporaryFileReaperConfiguration extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)