object Files
- Alphabetic
- By Inheritance
- Files
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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