class GopherAPI extends AnyRef
Api for providing access to channel and selector interfaces.
- Alphabetic
- By Inheritance
- GopherAPI
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GopherAPI(as: ActorSystem, es: ExecutionContext)
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
- def actorSystem: ActorSystem
actor system which was passed during creation
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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.
- def currentFlow: CurrentFlowTermination
- lazy val defaultExpireCapacity: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gopherExecutionContext: ExecutionContext
execution context used for managing calculation steps in channels engine.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val idleTimeout: FiniteDuration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterableInput[A](iterable: Iterable[A]): Input[A]
Represent Scala iterable as channel, where all values can be readed in order of iteration.
- macro def make[T](args: Any*): T
Generic schema for making objects, which requiere gopherAPI for constructions.
- def makeChannel[A](capacity: Int = 0): Channel[A]
obtain channel
obtain channel
val channel = gopherApi.makeChannel[Int]() channel.awrite(1 to 100)
- Annotations
- @inline()
- macro def makeTransputer[T <: Transputer]: T
- 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
- 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()
- macro def replicate[T <: Transputer](n: Int): Transputer
create transputer which contains
ninstances ofXwhere ports are connected to the appropriate ports of each instance in paraller.create transputer which contains
ninstances ofXwhere ports are connected to the appropriate ports of each instance in paraller.val persistStep = replicate[PersistTransputer](nDBConnections) - 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" }
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val time: Time
time API
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated