Packages

object RotationStrategy

Source
model.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RotationStrategy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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

  2. def none: RotationStrategy

    Creates a non-functioning rotation strategy that will not trigger a file rotation, mostly suitable for finite streams and testing.

  3. 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

  4. 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