WorkerSettings

org.llm4s.agent.service.WorkerSettings
See theWorkerSettings companion class
@Experimental

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(concurrency: Int, pollInterval: FiniteDuration, unrunnableAfter: FiniteDuration, drainGrace: FiniteDuration, exitTimeout: FiniteDuration, sweepEvery: Option[FiniteDuration], sweep: SweepPolicy, label: Option[String]): WorkerSettings

Throws IllegalArgumentException for invalid settings; use of for untrusted input.

Throws IllegalArgumentException for invalid settings; use of for untrusted input.

Attributes

def of(concurrency: Int, pollInterval: FiniteDuration, unrunnableAfter: FiniteDuration, drainGrace: FiniteDuration, exitTimeout: FiniteDuration, sweepEvery: Option[FiniteDuration], sweep: SweepPolicy, label: Option[String]): Result[WorkerSettings]

Concrete fields

val DefaultDrainGrace: FiniteDuration
val DefaultExitTimeout: FiniteDuration
val DefaultPollInterval: FiniteDuration
val DefaultSweepEvery: FiniteDuration
val DefaultUnrunnableAfter: FiniteDuration

The defaults.

The defaults.

Attributes