WithDefaults

class Object
trait Matchable
class Any

Type members

Inherited types

type Config

Type of the configuration used to instantiate the processor. Use Unit if you don't need configuration.

Type of the configuration used to instantiate the processor. Use Unit if you don't need configuration.

Inherited from
ProcessorFactory
type Observer = Listener[Update[Product, Repr]]
Inherited from
ProcessorFactory
type Product

Type of the successful process result.

Type of the successful process result.

Inherited from
ProcessorFactory
type Repr

The actual processor type

The actual processor type

Inherited from
ProcessorFactory

Value members

Abstract methods

protected def defaultConfig: Config

Concrete methods

final def apply(): Repr & Prepared
final def run(observer: Observer)(exec: ExecutionContext): Repr

Inherited methods

final def apply(config: Config): Repr & Prepared
Inherited from
ProcessorFactory
final def run(config: Config)(observer: Observer)(exec: ExecutionContext): Repr

Creates and starts the processor.

Creates and starts the processor.

Value Params
config

the configuration to use for the processor

exec

execution context to schedule threads

observer

a partial function observing the progress and completion of the process

Returns

the processor representation

Inherited from
ProcessorFactory