trait ProcessorFactory extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProcessorFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- abstract type Config
Type of the configuration used to instantiate the processor.
Type of the configuration used to instantiate the processor. Use
Unitif you don't need configuration. - type Generic = Processor[Product]
- Attributes
- protected
- type Observer = PartialFunction[Update[Product, Repr], Unit]
- type Prepared = Repr with ProcessorLike[Product, Repr] with Processor.Prepared
- Attributes
- protected
- abstract type Product
Type of the successful process result.
- abstract type Repr
The actual processor type
Abstract Value Members
- abstract def prepare(config: Config): Prepared
Must be implemented by sub types.
Must be implemented by sub types. This method is called to instantiate and run the processor.
- config
the configuration as passed into the
applymethod- returns
the processor ready to go but not yet started
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(config: Config): Repr with Processor.Prepared
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def run(config: Config)(observer: Observer)(implicit exec: ExecutionContext): Repr
Creates and starts the processor.
Creates and starts the processor.
- config
the configuration to use for the processor
- observer
a partial function observing the progress and completion of the process
- exec
execution context to schedule threads
- returns
the processor representation
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])