TemporaryFileReaperConfiguration

play.api.libs.Files.TemporaryFileReaperConfiguration
See theTemporaryFileReaperConfiguration companion object
case class TemporaryFileReaperConfiguration(enabled: Boolean, olderThan: FiniteDuration, initialDelay: FiniteDuration, interval: FiniteDuration)

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product