Class/Object

gopher

GopherAPI

Related Docs: object GopherAPI | package gopher

Permalink

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. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def actorSystem: ActorSystem

    Permalink

    actor system which was passed during creation

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def config: Config

    Permalink

    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.type

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def executionContext: ExecutionContext

    Permalink

    execution context used for managing calculation steps in channels engine.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def futureInput[A](future: Future[A]): FutureInput[A]

    Permalink

    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

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def iterableInput[A](iterable: Iterable[A]): Input[A]

    Permalink

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

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

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

    Permalink

    obtain channel

    obtain channel

    val channel = gopherApi.makeChannel[Int]()
    channel.awrite(1 to 100)
    Annotations
    @inline()
  20. def makeEffectedChannel[A](ch: Channel[A], threadingPolicy: ThreadingPolicy = ThreadingPolicy.Single): EffectedChannel[A]

    Permalink
  21. def makeEffectedInput[A](in: Input[A], threadingPolicy: ThreadingPolicy = ThreadingPolicy.Single): EffectedInput[A]

    Permalink
  22. def makeEffectedOutput[A](out: Output[A], threadingPolicy: ThreadingPolicy = ThreadingPolicy.Single): EffectedOutput[A]

    Permalink
  23. macro def makeTransputer[T <: Transputer]: T

    Permalink
  24. macro def makeTransputer[T <: Transputer](recoveryPolicy: PartialFunction[Throwable, Directive]): T

    Permalink

    create and start instance of transputer with given recovery policy.

    create and start instance of transputer with given recovery policy.

    See also

    gopher.Transputer

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. macro def replicate[T <: Transputer](n: Int): Transputer

    Permalink

    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)
  29. def select: SelectFactory

    Permalink

    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"
    }
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped