object RotationStrategy
- Source
- model.scala
- Alphabetic
- By Inheritance
- RotationStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def count(count: Long): RotationStrategy
Creates a rotation strategy that will trigger a file rotation after a certain number of messages have been processed.
Creates a rotation strategy that will trigger a file rotation after a certain number of messages have been processed.
- count
message count to rotate files
- def none: RotationStrategy
Creates a non-functioning rotation strategy that will not trigger a file rotation, mostly suitable for finite streams and testing.
- def size(count: Double, unit: FileUnit): RotationStrategy
Creates a rotation strategy that will trigger a file rotation after a certain size of messages have been processed.
Creates a rotation strategy that will trigger a file rotation after a certain size of messages have been processed.
- count
a count of FileUnit
- unit
a file unit
- def time(interval: FiniteDuration): RotationStrategy
Creates a rotation strategy that will trigger a file rotation after a finite duration.
Creates a rotation strategy that will trigger a file rotation after a finite duration.
- interval
duration to rotate files