FerryConfig

ferry.FerryConfig
See theFerryConfig companion object
final case class FerryConfig

Validated settings for a Ferry. Construct with FerryConfig.make.

Value parameters

maxBatchDelay

A partial batch is dispatched at the latest this long after its oldest input was submitted (or as soon as a batch slot frees up, if all slots were busy at that moment). Duration.Zero dispatches whatever is waiting immediately.

maxBatchSize

A batch is dispatched as soon as it holds this many inputs.

maxInFlightBatches

Maximum number of batch calls running concurrently.

maxQueueing

Maximum number of inputs waiting for a batch. Further inputs are rejected with FerryError.Rejected.

Attributes

Companion
object
Source
FerryConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product