trait WithDefaults extends ProcessorFactory
- Alphabetic
- By Inheritance
- WithDefaults
- ProcessorFactory
- AnyRef
- Any
- Hide All
- Show All
- 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.- Definition Classes
- ProcessorFactory
-
type
Generic = Processor[Product]
- Attributes
- protected
- Definition Classes
- ProcessorFactory
-
type
Observer = PartialFunction[Update[Product, Repr], Unit]
- Definition Classes
- ProcessorFactory
-
type
Prepared = Repr with ProcessorLike[Product, Repr] with Processor.Prepared
- Attributes
- protected
- Definition Classes
- ProcessorFactory
-
abstract
type
Product
Type of the successful process result.
Type of the successful process result.
- Definition Classes
- ProcessorFactory
-
abstract
type
Repr
The actual processor type
The actual processor type
- Definition Classes
- ProcessorFactory
Abstract Value Members
-
abstract
def
defaultConfig: Config
- Attributes
- protected
-
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
- Definition Classes
- ProcessorFactory
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(): Repr with Processor.Prepared
-
final
def
apply(config: Config): Repr with Processor.Prepared
- Definition Classes
- ProcessorFactory
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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(observer: Observer)(implicit exec: ExecutionContext): Repr
-
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
- Definition Classes
- ProcessorFactory
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )