Packages

final class ConsumerSettings extends AnyRef

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

Value Members

  1. val bufferMaxSize: Int
  2. val bufferMinSize: Int
  3. val fetchInterval: FiniteDuration
  4. val pollTimeout: FiniteDuration
  5. val reservationTimeout: FiniteDuration
  6. def toString(): String
    Definition Classes
    ConsumerSettings → AnyRef → Any
  7. def withBufferMaxSize(value: Int): ConsumerSettings

    The maximum number of buffered messages.

  8. def withBufferMinSize(value: Int): ConsumerSettings

    The buffer size limit where a new batch of message will be consumed from the queue.

  9. def withFetchInterval(value: Duration): ConsumerSettings

    Java API: The interval of time between each poll loop.

  10. def withFetchInterval(value: FiniteDuration): ConsumerSettings

    Scala API: The interval of time between each poll loop.

  11. def withPollTimeout(value: Duration): ConsumerSettings

    Java API: The amount of time the consumer will wait for the messages to be available on the queue.

    Java API: The amount of time the consumer will wait for the messages to be available on the queue. The IronMQ time unit is the second so any other value is approximated to the second.

  12. def withPollTimeout(value: FiniteDuration): ConsumerSettings

    Scala API: The amount of time the consumer will wait for the messages to be available on the queue.

    Scala API: The amount of time the consumer will wait for the messages to be available on the queue. The IronMQ time unit is the second so any other value is approximated to the second.

  13. def withReservationTimeout(value: Duration): ConsumerSettings

    Java API: The amount of time the consumer will reserve the message from.

    Java API: The amount of time the consumer will reserve the message from. It should be higher that the time needed to process the message otherwise the same message will be processed multiple times. Again the IronMq time unit is the second.

  14. def withReservationTimeout(value: FiniteDuration): ConsumerSettings

    Scala API: The amount of time the consumer will reserve the message from.

    Scala API: The amount of time the consumer will reserve the message from. It should be higher that the time needed to process the message otherwise the same message will be processed multiple times. Again the IronMq time unit is the second.