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.
- 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.
- Source
- Files.scala
- Alphabetic
- By Inheritance
- TemporaryFileReaperConfiguration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TemporaryFileReaperConfiguration(enabled: Boolean = false, olderThan: FiniteDuration = 5.minutes, initialDelay: FiniteDuration = 5.minutes, interval: FiniteDuration = 5.minutes)
- 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.
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()
- val enabled: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val initialDelay: FiniteDuration
- val interval: FiniteDuration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- val olderThan: FiniteDuration
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)