Packages

c

gopher

ParTransputer

class ParTransputer extends Transputer

Linear Supertypes
Transputer, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParTransputer
  2. Transputer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParTransputer(api: GopherAPI, childs: Seq[Transputer])

Type Members

  1. class InPort[A] extends Input[A]
    Definition Classes
    Transputer
  2. class OutPort[A] extends Output[A]
    Definition Classes
    Transputer

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(p: Transputer): ParTransputer
    Definition Classes
    ParTransputerTransputer
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val api: GopherAPI
    Definition Classes
    ParTransputerTransputer
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. var childs: Seq[Transputer]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. 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
  10. 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
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. 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
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def goOnce: Future[Unit]
    Definition Classes
    ParTransputerTransputer
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit def logSource: LogSource[Transputer]
    Definition Classes
    Transputer
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def onEscalatedFailure(ex: Throwable): Unit

    called when failure is escalated.

    called when failure is escalated.

    Attributes
    protected
    Definition Classes
    Transputer
  23. 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
  24. 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
  25. def onStart(): Unit

    called when transducer is started.

    called when transducer is started.

    Attributes
    protected
    Definition Classes
    Transputer
  26. def onStop(): Unit

    called when transputer is stopped.

    called when transputer is stopped.

    Attributes
    protected
    Definition Classes
    Transputer
  27. def recover(f: PartialFunction[Throwable, Directive]): ParTransputer.this.type

    set recover function

    set recover function

    Definition Classes
    Transputer
  28. def recoverAppend(f: PartialFunction[Throwable, Directive]): ParTransputer.this.type

    append recover function to existing

    append recover function to existing

    Definition Classes
    Transputer
  29. def recoverFactory: () => Transputer

    Used for recover failed instances

    Used for recover failed instances

    Definition Classes
    ParTransputerTransputer
  30. 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
  31. def start(): Future[Unit]
    Definition Classes
    Transputer
  32. def stop(): Unit
    Definition Classes
    ParTransputerTransputer
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. object InPort
    Definition Classes
    Transputer
  39. object OutPort
    Definition Classes
    Transputer

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Transputer

Inherited from AnyRef

Inherited from Any

Ungrouped