class GopherAPI extends AnyRef
Api for providing access to channel and selector interfaces.
- Alphabetic
- By Inheritance
- GopherAPI
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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.type
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executionContext: ExecutionContext
execution context used for managing calculation steps in channels engine.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
macro
def
replicate[T <: Transputer](n: Int): Transputer
create transputer which contains
n
instances ofX
where ports are connected to the appropriate ports of each instance in paraller.create transputer which contains
n
instances ofX
where 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
-
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
- @throws( ... )