class ParTransputer extends Transputer
- Alphabetic
- By Inheritance
- ParTransputer
- Transputer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParTransputer(api: GopherAPI, childs: Seq[Transputer])
Type Members
- class InPort[A] extends Input[A]
- Definition Classes
- Transputer
- class OutPort[A] extends Output[A]
- Definition Classes
- Transputer
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(p: Transputer): ParTransputer
- Definition Classes
- ParTransputer → Transputer
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val api: GopherAPI
- Definition Classes
- ParTransputer → Transputer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var childs: Seq[Transputer]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def copyPorts(prev: Transputer): Unit
copy conection from previous instance when transputer is restarted.
copy conection from previous instance when transputer is restarted.
- Definition Classes
- Transputer
- def copyState(prev: Transputer): Unit
copyState from previous instance when transputer is restarted.
copyState from previous instance when transputer is restarted. can be overriden in subclasses (by default: do nothing)
Note, that port connection is restored before call of copyState
- Definition Classes
- Transputer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failureLimit(maxFailures: Int = recoveryLimits.maxFailures, windowDuration: Duration = recoveryLimits.windowDuration): ParTransputer.this.type
set failure limit.
set failure limit. (when number of failures during windowsDuration is bigger than maxFailures, TooManyFailures exception is escalated to parent transputer.
- Definition Classes
- Transputer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def goOnce: Future[Unit]
- Definition Classes
- ParTransputer → Transputer
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def logSource: LogSource[Transputer]
- Definition Classes
- Transputer
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onEscalatedFailure(ex: Throwable): Unit
called when failure is escalated.
called when failure is escalated.
- Attributes
- protected
- Definition Classes
- Transputer
- def onRestart(prev: Transputer): Unit
called when transducer is restarted.
called when transducer is restarted.
- prev
- previous (i.e. failed) instance of trnasputer.
- Attributes
- protected
- Definition Classes
- Transputer
- def onResume(): Unit
called when transducer is choose to resume durign recovery.
called when transducer is choose to resume durign recovery.
- Attributes
- protected
- Definition Classes
- Transputer
- def onStart(): Unit
called when transducer is started.
called when transducer is started.
- Attributes
- protected
- Definition Classes
- Transputer
- def onStop(): Unit
called when transputer is stopped.
called when transputer is stopped.
- Attributes
- protected
- Definition Classes
- Transputer
- def recover(f: PartialFunction[Throwable, Directive]): ParTransputer.this.type
set recover function
set recover function
- Definition Classes
- Transputer
- def recoverAppend(f: PartialFunction[Throwable, Directive]): ParTransputer.this.type
append recover function to existing
append recover function to existing
- Definition Classes
- Transputer
- def recoverFactory: () => Transputer
Used for recover failed instances
Used for recover failed instances
- Definition Classes
- ParTransputer → Transputer
- def replica: Int
return replica number of current instance, if transponder run replicated.
return replica number of current instance, if transponder run replicated.
- Attributes
- protected
- Definition Classes
- Transputer
- def start(): Future[Unit]
- Definition Classes
- Transputer
- def stop(): Unit
- Definition Classes
- ParTransputer → Transputer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object InPort
- Definition Classes
- Transputer
- object OutPort
- Definition Classes
- Transputer