Packages

class GopherAPI extends AnyRef

Api for providing access to channel and selector interfaces.

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

Instance Constructors

  1. new GopherAPI(as: ActorSystem, es: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def actorSystem: ActorSystem

    actor system which was passed during creation

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def config: Config

    the configuration of the gopher system.

    the configuration of the gopher system. By default is contained under 'gopher' key in top-level config.

  8. def currentFlow: CurrentFlowTermination
  9. lazy val defaultExpireCapacity: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def futureInput[A](future: Future[A]): FutureInput[A]

    Represent Scala future as channel from which we can read one value.

    Represent Scala future as channel from which we can read one value.

    See also

    gopher.channels.FutureInput

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def gopherExecutionContext: ExecutionContext

    execution context used for managing calculation steps in channels engine.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. lazy val idleTimeout: FiniteDuration
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def iterableInput[A](iterable: Iterable[A]): Input[A]

    Represent Scala iterable as channel, where all values can be readed in order of iteration.

  19. macro def make[T](args: Any*): T

    Generic schema for making objects, which requiere gopherAPI for constructions.

  20. def makeChannel[A](capacity: Int = 0): Channel[A]

    obtain channel

    obtain channel

    val channel = gopherApi.makeChannel[Int]()
    channel.awrite(1 to 100)
    Annotations
    @inline()
  21. macro def makeTransputer[T <: Transputer]: T
  22. macro def makeTransputer[T <: Transputer](recoveryPolicy: PartialFunction[Throwable, Directive]): T

    create and start instance of transputer with given recovery policy.

    create and start instance of transputer with given recovery policy.

    See also

    gopher.Transputer

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. macro def replicate[T <: Transputer](n: Int): Transputer

    create transputer which contains n instances of X where ports are connected to the appropriate ports of each instance in paraller.

    create transputer which contains n instances of X where ports are connected to the appropriate ports of each instance in paraller.

    val persistStep = replicate[PersistTransputer](nDBConnections)
  27. val select: SelectFactory

    obtain select factory

    obtain select factory

    goopherApi.select.once[String] {
      case x: a.read => s"${x} from A"
      case x: b.read => s"${x} from B"
      case _ => "IDLE"
    }
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. lazy val time: Time

    time API

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped